Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 1.09 KB

README.md

File metadata and controls

39 lines (22 loc) · 1.09 KB

Salt the Spire

Decodes and encodes save files of Slay the Spire, a fun deck-building roguelike made by Mega Crit. This was conceived after a Who Needs Relics? achievement run was rudely interrupted by Mark of the Bloom.

Save files are the XOR of base 64 encoded JSON strings and a "key" phrase.

Contents

Usage

usage: salt_the_spire.py [-h] (-d | -e) input output

positional arguments:
  input         save file to decode/encode
  output        file to store decoded/encoded save file

optional arguments:
  -h, --help    show this help message and exit
  -d, --decode  decode save file
  -e, --encode  encode save file

Tests

python -m pytest tests/

Requires Python 3.