Slay the Spire

Slay the Spire

Gensokyo
Fix for the crash on entering event rooms
To all!
I have a work around for the event error. This involves modifying the save slightly. note: DO NOT USE ANYTHING CALLED SAVE EDITOR. It's possible to recover from, but it will wipe your cards and relics unless you spend an hour or two fixing it. (Once you figure out how.)

You want something called spireSaveConverter, off github.

https://github.com/FarewellFire/spireSaveConverter/releases/tag/1.0

You'll also probably want notepad++; notepad may work, haven't tried.

This will make a converted copy of your save as a Json file, which will just be text when you open it.

Open such, and look for the line

"event_seed_count":

It'll have a number next to it. When I was crashing, that number was 11. I set it to 8, and everything worked fine.

Save, then use the spiresaveConverter to convert it back into your save.

You should be good to go; if needed try setting the event seed count to different numbers.


Happy climbing!



On why the save editor is bad: It will wipe your relics, and your cards. This section many times longer than the above.

It also, when you hit save, saves to the file selected, *And the backup of that file*

Why

In any case, if you didn't pay attention above, your run is still not dead, though it may take some work. I did it for mine because I was in the literal last room before the act 3 boss.

First, backup your save to another folder. Then start a new run, enter the first room, save and quit. (Use the same character)

This is important because it will let you copy paste formatting in the save, as well as the starter cards and the starting relic.


While save edit does wipe cards et al, it doesn't wipe the records of 'x card/relic acquired on y floor.'

The exception to this is cards and relics gained through events. Those are gone, best I can tell, and potentially cards given by relics.

You want to look at any section with metric in it. and note that card ID names differ from such in game, so when looking at shop items purchased, it will mix cards relics and potions together.

For cards: You want the section starting with

"cards": [

You want a spreadsheet and a word doc open for this.
Word doc to record what cards you need to add, spreadsheet so you can copy and paste the card ID into formatting.
Going box by box:
{
"upgrades": 0,
"misc": 0,
"id": [Box to right of this one is where you paste the card ID]
},


If you have multiple of a card, you will copy and paste another entry of it into the file.

If the card was upgraded (And there is a section detailing what you upgraded at fires), you want to change the Upgrade: 0 to Upgrade: 1.

If you acquired the card upgraded, it will be listed in the card ID as CardID+1. Can't say what would happen if you left it like that instead of cutting out the +1.

Misc, between upgrade and Card ID: I have no clue what it does.

Near the top of the file will be a section called

"basemod:abstract_card_modifiers_save": [

You will see a lot of null in this. Thankfully, this section doesn't get wiped.
unfortunately, it doesn't record what it applied to. The first entry is your first card, the second entry is your second card, etc.
So if you have a card given retain, you need to make sure it ends up in the same slot as it used to be.
.

Relics: Much easier.
just relic name, comma, next line.
bottle lightning has it's own section in the save marking what it holds, no need to worry about it.

There is a section for counters for relics, for things like 'use twice' relics, but not the ones that activate every x turns.

...I think.
"basemod:mod_relic_saves": [
as above for card mods, it must match where in the list the relic you want is.

Potions: like relics.

TLDR, do not use save editor.