GitXplorerGitXplorer
J

StSModdingToolCardImagesCreator

public
24 stars
3 forks
1 issues

Commits

List of commits on branch master.
Unverified
3c1629377cceb2b2b2fc22bf7fdafe532dea7c22

Merge remote-tracking branch 'origin/master'

JJohnnyBazooka89 committed 3 years ago
Unverified
81c17c83a399f22317736840001d57abd2be99c5

v.0.0.5 - Added project encoding.

JJohnnyBazooka89 committed 3 years ago
Unverified
38c4be08b8d6f4d6130eb07f2c5ccdd23b361908

v.0.0.5 - Fixed Java 10 being used for compilation.

JJohnnyBazooka89 committed 3 years ago
Verified
98a0fbb20cb95cfb7c30b33b414c38eb67f329b1

Merge pull request #2 from JohnnyBazooka89/dependabot/maven/commons-io-commons-io-2.7

JJohnnyBazooka89 committed 4 years ago
Verified
3146eb1f9dad68714b4b9313d2bead197f51f399

Bump commons-io from 2.5 to 2.7

ddependabot[bot] committed 4 years ago
Unverified
2e6526340da6f2df97d6f856a0a2f06a5c8f23ca

v.0.0.4

JJohnnyBazooka89 committed 4 years ago

README

The README file for this repository.

StSModdingToolCardImagesCreator

This is the tool I created to help create images for The Blackbeard Mod. I hope it will be useful for other Modders.

This tool takes images with the ratio 25:19 and cuts them to fit into Slay the Spire cards.

Specifically when processing images with size 500x380 or larger, it creates 6 versions of every image: Attack portrait, Attack, Skill portrait, Skill, Power portrait and Power. When processing images with size between 500x380 and 250x190, it creates 3 versions of every image: Attack, Skill and Power.

Usually it is enough to provide just the image with size 500x380, but in case of vector graphics or texts the automatic 50% scaling can look pretty bad, then it is advised to also provide 250x190 version of the image and use this one for small version of the card instead. You can compare ChaoticDefend.png and ChaoticDefendSmall.png to see the difference.

This screenshot shows example files generated by the tool:

To use the tool, simply download the newest release, then copy images you want to process into the folder "cards" and open "run.bat". The tool creates a new folder named "images" and inside it there will be 3 folders: "Attacks", "Powers" and "Skills". Copy the files you need into your mod. That's all!