English | 简体中文
Make basemod.abstracts.CustomCard support .gif files as imgUrl by patching it.
This repository contains:
- a Slay the Spire mod GifSpireCard (GSC), a tool mod supports GIF card images.
- an example to use GSC, overriding Ironclad's cards (in GSC).
- a tool for creating GIF images as STS style based on Python.
GifSpireCard started with a Slay the Spire meme, where the original image of Leg Sweep was replaced with a cat gif. I searched on Steam workshop (to find whether someone else has done mod like this), but just as I mentioned in the wiki, I have not found GifTheSpireLib at that time.
This project uses Slay the Spire, ModTheSpire and BaseMod.
You can buy Slay the Spire on Steam or anywhere.
- Download ModTheSpire from GitHub or Steam workshop.
- Download BaseMod from GitHub or Steam workshop.
This project uses Maven to build. You can modify pom.xml to point to your local dependencies (desktop-1.0.jar, ModTheSpire.jar and BaseMod.jar). Wiki - Build may help.
- Download from GitHub.
- Download the latest Release.
- Move
GifSpireCard.jarto./mods/relative to your Slay the Spire install directory.
- Download from Steam workshop.
- Subscribe GifSpireCard on Steam workshop.
(Steam will install GifSpireCard before running Slay the Spire)
- Subscribe GifSpireCard on Steam workshop.
This project can be used as a tool mod for Slay the Spire. GIF files can be given as imgUrl for basemod.abstracts.CustomCard via sideloading GSC. Wiki - Sideload GSC may help.
You can create GIFs for Slay the Spire cards with gif_builder.py. Wiki - gif_builder.py Documentation may help.
Unless otherwise noted, all GIFs are from GIPHY.
Maybe you would give my other Slay the Spire mod repositories a look?
- CET46InSpire
: a simple funny mod based on Chinese CET and JLPT.
- SteamMerchant
: a simple Steam-style merchant. (namely discount)
Feel free to dive in! Open an issue or submit PRs.
If you think GIFs in this repository are not good, you can offer your own GIFs!
Please open an issue with:
- which card you want to replace, better in English or Chinese.
- your .gif file. GitHub allows you to attach .gif files under 10MB.
I will write my opinion with a comment.
MIT © HX Wang