Slay the Spire Modding Tutorial =====================
"Slay the Spire 2" Modding Tutorial Updating: https://github.com/GlitchedReme/SlayTheSpire2ModdingTutorials
This tutorial does not cover Java programming knowledge; it is recommended to have some programming basics before learning.
If readers find errors or unreasonable parts while reading this tutorial, you can help improve it by submitting issues.
If you have any questions, you can join the group chat below or raise your questions in the discussions above.
Click the Tutorials folder above or the Tutorial Website on the right to view all tutorials.
Personal group chat: 542370192
Some Useful Tools/Websites
Contents
Websites
ModTheSpire (abbreviated as MTS) is a tool that loads external mods for Slay the Spire without modifying the base game files, allowing mods to patch their own code into the game code.The MTS Wiki explains how to do global saves, patches, etc.BaseMod is the base API for mods, enabling mod authors to easily add their own cards and content to the game and centrally manage these contents.
The Wiki includes some very practical utilities, such as automatic registration of all cards (AutoAdd), card modifiers (CardModifier), in-game save per run (CustomSavable), etc. It also includes modding tutorials written by the BaseMod author.
Tools
A Java decompiler tool with a GUI.Allows you to view the reconstructed source code of the game or other mods for easy ~~copying~~ learning from others' code.
Also can be used to find the line numbers needed for patching. (The built-in decompiler of IDEA is inaccurate)Crop the image into the shape and size required by Spire Card.
I haven't used this, but there are other tools with the same functionality made by group members in the chat.
mod templates
~~Recommended by Rita, guaranteed quality~~A relatively standardized mod example.
Animation
Software that can export spine animations, generally this is enough, you can find a usable version yourself.Creating animations requires some basics, but actually most mods only need one image.
2D animation software used by Spire.--- Tranlated By Open Ai Tx | Last indexed: 2026-05-19 ---