Skip to content

Make basemod.abstracts.CustomCard support .gif files as imgUrl by patching it.

License

Notifications You must be signed in to change notification settings

sleepyHolo/SpireMod_GifSpireCard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GifSpireCard

language license standard-readme documentation

English | 简体中文


GifSpireCard

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.

Table of Contents

Background

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.

Install & Build

This project uses Slay the Spire, ModTheSpire and BaseMod.
You can buy Slay the Spire on Steam or anywhere.

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.

Installation

  • Download from GitHub.
    • Download the latest Release.
    • Move GifSpireCard.jar to ./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)

Usage

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.

GIF Source

Unless otherwise noted, all GIFs are from GIPHY.

Related Efforts

Maybe you would give my other Slay the Spire mod repositories a look?

  • CET46InSpire GitHub Stars: a simple funny mod based on Chinese CET and JLPT.
  • SteamMerchant GitHub Stars: a simple Steam-style merchant. (namely discount)

Maintainers

@sleepyHolo

Contributing

Feel free to dive in! Open an issue or submit PRs.

I have better GIF

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.

License

MIT © HX Wang

About

Make basemod.abstracts.CustomCard support .gif files as imgUrl by patching it.

Resources

License

Stars

Watchers

Forks