two-torial/docs/extras/patchsp2x.md

86 lines
2.9 KiB
Markdown
Raw Normal View History

2024-06-02 22:34:33 +02:00
# Spice2x DLL Patching
2024-06-04 14:04:24 +02:00
!!! info "Last updated: June 3rd, 2024<br>Known spice2x patchers: [External resources](/externalresources#spice2x-patchers)"
2024-06-02 22:34:33 +02:00
!!! warning "Compatibility"
2024-06-04 14:04:24 +02:00
2024-06-02 22:34:33 +02:00
This patching method only is for [spice2x supported games](https://github.com/spice2x/spice2x.github.io/wiki/List-of-supported-games).
Please make sure you're using the latest release for [spice2x](https://spice2x.github.io/).
**Note: As of writing, you need to use the latest beta release as the feature has not yet been pushed to stable.**
!!! danger "Before proceeding"
2024-06-04 14:04:24 +02:00
2024-06-02 22:34:33 +02:00
**It is highly recommended to use an unpatched DLL as your base!**
If you've already patched your game through other methods *([web patching](/extras/patchweb) or [hex editing](/extras/hexguide))*,
**Please replace your game's DLL with the original**.
2024-06-04 14:07:12 +02:00
---
2024-06-02 22:34:33 +02:00
### Getting Started
!!! tip ""
2024-06-04 14:04:24 +02:00
2024-06-02 22:34:33 +02:00
**The following guide works the same regardless of which spice2x compatible game you're using.**
In this case we will be using a clean SDVX installation as a reference, with the following folder structure.
<img src="/img/patchsp2x/1.png">
#### Importing Patches from URL
!!! tip ""
2024-06-04 14:04:24 +02:00
2024-06-02 22:34:33 +02:00
Open `spicecfg.exe` and head to the `Patches` tab.
<img src="/img/patchsp2x/2.png">
!!! tip ""
2024-06-04 14:04:24 +02:00
2024-06-02 22:34:33 +02:00
By default no patches will be available, we need to import some.
Click on `Import from URL`.
A new popup will appear, in which you should paste your preferred patcher's URL.
At time of writing `https://p.eagate.turksigara.net/resources/` is the most up-to-date for SDVX.
After pasting your URL in, click on `Import`.
If patching fails, it most likely is because the URL you provided doesn't support your game's version.
<img src="/img/patchsp2x/3.png">
#### Picking Patches
!!! danger "Important"
2024-06-04 14:04:24 +02:00
2024-06-02 22:34:33 +02:00
**As a general rule of thumb, if you're not sure what a patch does or you're not absolutely certain you need it, leave it alone**.
!!! tip ""
2024-06-04 14:04:24 +02:00
2024-06-02 22:34:33 +02:00
After a successful import, your patches should now show up inside spice2x.
A new `Patches` folder has also been created, containing a `.json` file with your available patches for offline use.
<img src="/img/patchsp2x/4.png">
!!! tip ""
2024-06-04 14:04:24 +02:00
2024-06-02 22:34:33 +02:00
Now you may pick and choose desired patches!
For game-specific instructions, refer to their respective dedicated pages.
#### Auto apply / Overwrite game files
!!! tip "Auto apply (recommended)"
2024-06-04 14:04:24 +02:00
2024-06-02 22:34:33 +02:00
After picking your patches, it is **strongly recommended** to tick the `Auto apply patches on game start` box.
Doing so will keep your game files intact until you start it, at which point your selected patches will apply.
Upon closing the game your game's files will be restored.
!!! warning "Overwrite game files"
2024-06-04 14:04:24 +02:00
2024-06-02 22:34:33 +02:00
You also have the option to `Overwrite game files`, which will **permanently modify your game files**.
This is **NOT** recommended unless you have a good reason to do so.
2024-06-04 14:04:24 +02:00
A backup of your original dll will be created, however it is recommended to make your own!