Skip to content
Davis Cook edited this page Apr 4, 2018 · 1 revision

For Debugging

ModTheSpire already includes a debug flag that will indicate the line numbers at which patches are applied in the game's log but even though this technically is enough information to make sure patches are being applied in the right locations, the --out-jar flag can make checking patch locations even easier.

When ModTheSpire is run with the --out-jar flag like this java -jar ModTheSpire.jar --out-jar, instead of launching the game, ModTheSpire will patch the game and then simply dump the patched game out to desktop-1.0-patched.jar which you can then use JD-GUI and Luyten to decompile and check the patched files to see if patches were inserted in sensible locations that actually work.