This is a small ModTheSpire patch mod that prevents Android crashes caused by desktop-only javax.imageio.* usage
in mods like MintSkinLewdTheSpire and Haberdashery.
- Mods needs
javax.imageio.*runtime likeMintSkinLewdTheSpire
- JDK 8 (or newer, but compile target is 1.8)
- Maven 3.x
- Slay the Spire installed via Steam (so you can reference local jars)
-
Edit
pom.xmland set:Steam.pathto your Steam library'ssteamappsdirectory.
-
Verify these jar paths exist on your machine:
${Steam.path}/common/SlayTheSpire/desktop-1.0.jar${Steam.path}/workshop/content/646570/<workshopId>/ModTheSpire.jar
Note: Workshop IDs differ per installation. If your path differs, update the properties in
pom.xml.
mvn -q clean packageAfter clone this resp to your PC, you should find ModTheSpire.jar, desktop-1.0.jar and BaseMod.jar to STSM Render Fixer/lib for dependencies.
If you see many errors in your IDE, try this:
-
Go File → Project Structure → Modules → Dependencies
-
Find and add ModTheSpire.jar desktop-1.0.jar BaseMod.jar