Managed DLL patcher for larger Slay the Spire 2 text on Steam Deck
README.md

Slay the Spire 2 Font Size Runtime Mod #

Slay the Spire 2 has a lot of text that is too small on Steam Deck. This mod makes the game broadly more readable by scaling the main UI text paths and adding a few targeted bumps for the stubborn tiny holdouts.

This repo is set up for the simple path:

  • clone it
  • tweak a few values
  • build
  • deploy to your Deck

For deeper notes, save migration, and troubleshooting, see GUIDE.md. For maintainer-level notes, see STS2_FONT_MOD_MASTER_NOTES.md.

What it changes #

  • scales MegaLabel
  • scales MegaRichTextLabel
  • scales plain Godot Label / RichTextLabel
  • scales BBCode font-size paths in Godot.RichTextLabel
  • adds extra bumps for:
    • version/build footer text
    • patch notes text
    • secondary preview-card description text
  • covers the shared character-select starter-relic description path

Example #

Before (1.0x) After (1.2x)
Combat tooltip before the font-size mod Combat tooltip after the font-size mod

Quickstart #

  1. Clone the repo.
  2. Copy .env.example to .env.
  3. Edit .env for your Deck and preferred font sizes.
  4. Build:
./scripts/build-runtime-mod.sh
  1. Make sure STS2 is closed on the Deck.
./scripts/check-running.sh
  1. Deploy:
./scripts/deploy-runtime-mod.sh
  1. Launch the game.

Values You Probably Want To Change #

The runtime mod reads font_size_config.json at launch, so changing these scale values does not require rebuilding the DLL. You can either edit .env and rebuild to regenerate the file, or edit the deployed font_size_config.json directly.

In .env:

  • STS2_PATCH_SCALE
    • main global text scale
  • STS2_DEBUG_FOOTER_EXTRA_SCALE
    • extra bump for version/build footer text
  • STS2_PATCH_NOTES_EXTRA_SCALE
    • extra bump for release notes text
  • STS2_PREVIEW_CARD_DESCRIPTION_EXTRA_SCALE
    • extra bump for the description text on secondary preview cards

Current defaults:

  • STS2_PATCH_SCALE=1.20
  • STS2_DEBUG_FOOTER_EXTRA_SCALE=0.50
  • STS2_PATCH_NOTES_EXTRA_SCALE=0.25
  • STS2_PREVIEW_CARD_DESCRIPTION_EXTRA_SCALE=0.20

Required .env Fields #

  • STS2_DECK_HOST
  • STS2_MODS_DIR
  • STS2_LOG_PATH
  • STS2_GODOT_EXPORTER

Quote values that contain spaces.

Useful Commands #

Build:

./scripts/build-runtime-mod.sh

Deploy:

./scripts/deploy-runtime-mod.sh

Check if the game is running:

./scripts/check-running.sh

Fetch the Deck log:

./scripts/fetch-log.sh

Notes #

  • Build output goes to runtime_mod/build/.
  • font_size_config.json is generated from your current .env values during build.
  • Scale-only tweaks can be done without rebuilding by editing the deployed font_size_config.json directly.
  • The deploy script refuses to overwrite live mod files if STS2 is running.