Basic File Replacement - X-Hax/SADXModdingGuide GitHub Wiki

If you have set up your mod, you should have a mod folder now. First, create a "System" folder in your mod's folder, then do the following:

  1. Copy the file you want to edit
  2. Edit it using the tool of your choice, there is a tool for almost everything in SA Tools, you can check the Tools List for more information.
  3. Place the edited file in your mod's system folder, it must be named the same as the file you are replacing. For example if you are editing GAMEPATH\system\SET0100S.SET, the edited file will be in GAMEPATH\mods\YOURMOD\system\SET0100S.SET.

The mod loader then links files on startup.

If you want to edit a sound file, you must copy the file hierarchy: if you want to replace GAMEPATH\system\sounddata\bgm\wma\sonic.wma, the edited file will be in GAMEPATH\mods\YOURMOD\system\sounddata\bgm\wma\sonic.wma.

The Mod Loader makes the game work with any sound format supported by BASS and vgmstream.

You can replace PVMs by editing them with Texture Editor (SA Tools) and saving them as PVM. However, this reduces the quality of your textures. If you want to use high quality textures, you can save them as PVMX and use Texture Pack Replacement by placing them in YOURMOD\textures.