-
Notifications
You must be signed in to change notification settings - Fork 90
Home
ModTheSpire is a tool to load external mods for Slay the Spire without modifying the base game files, along with allowing mods the ability to patch their own code into the game's code.
To use ModTheSpire to play a mod
- Ensure you have Java 8 installed.
- Download the latest release of ModTheSpire.
- Place
ModTheSpire.jar
inside your Slay the Spire installation directory. It should be alongsidedesktop-1.0.jar
.- Note: On Mac, there's no
desktop-1.0.jar
file in the installation directory. Still putModTheSpire.jar
there.
- Note: On Mac, there's no
- Create a
mods
directory inside your Slay the Spire installation directory. - Place any mods inside the
mods
directory.
SlayTheSpire/
mods/
Mod1.jar
Mod2.jar
desktop-1.0.jar
ModTheSpire.jar
...
- Run
ModTheSpire.jar
with Java 8. - (Optional) Run ModTheSpire through
SlayTheSpire.exe
.- Rename
desktop-1.0.jar
toSlayTheSpire.jar
. - Rename
ModTheSpire.jar
todesktop-1.0.jar
. - Run SlayTheSpire.exe or run Slay the Spire through Steam.
- Rename
There are two ways to mod Slay the Spire using ModTheSpire: Replacing game files and patching. Patching is the preferred method.
Replacing game files is the simpler way to mod, but any mods using this method are incompatible with any other mod and unable to be loaded at the same time as any other mod.
ModTheSpire will search for file and classes in mods before searching the base game. This means if a mod includes a file with the same name and path as a file in the base game, the mod's file will be used instead.
Patching allows you to inject code anywhere into the game's code. See SpirePatch for detailed information on writing patches.