Skip to content

OceanUwU/sts2-exporter

Repository files navigation

StS2 Exporter

This is a mod for Slay the Spire 2 which adds a tool to export data for all its items (cards, relics potions, etc.) to text files, and render images of them to files.

It can also dump all textures from the game, including exporting each texture from atlases as individual image files.

Its output format is meant to be mostly compatible with sts-exporter for Slay the Spire 1, though some features are missing at the moment. Check the issues tab for missing features / progress on them.

Running the mod (pre-workshop)

  1. In steam, right click on Slay the Spire 2, click Properties, click Installed Files, click Browse
  2. In the folder that just opened, create a folder called mods if it doesn't exist
  3. Download the latest release from the releases page
  4. Extract the contents of the release zip into your mods folder
  5. Download BaseLib and extract it to the same location
  6. Run the game
  7. Click "Exporter" on the game's main menu
  8. Tweak the settings to your needs and click "Export!"
  9. Click "Open Folder" to view the output

Compiling

  1. Open project.godot with Megadot 4.5.1-m.5
  2. Click Project > Export, select Windows Desktop, select Export PCK/ZIP, and export to STS2Export.pck
    • Alternatively, you can run megadot --headless --export-pack "Windows Desktop" ./STS2Export.pck in a command line
  3. In a command line, run dotnet build in this project's folder
  4. Before running the game, copy the following files to your Slay the Spire 2 mods folder:
    • .godot/mono/temp/bin/STS2Export.dll
    • .godot/mono/temp/bin/Scriban.dll
    • STS2Export.pck

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages