Users browsing this thread: 1 Guest(s)
Chrono Trigger SRAM Editor
04-11-2025, 10:24 PM
(This post was last modified: 04-12-2025, 09:22 AM by QnzBrd6502.)
So I've gotten distracted from my other project here. It's still on my to-do list, though! I'm currently trying to write a basic Chrono Trigger SRAM editor. I want to change one character's name.
I'm basing my efforts on this incomplete tool: https://github.com/mcred/chrono-trigger-...me-ov-file
I currently have something that can read the first save slot of a copy of a RetroArch SNES9x SRM file. The character names (other than Epoch) all seem correct. The stats all seem correct. Writing changes to the SRM file and loading it back seems to produce the expected results -- basically, whatever I write out is what I read back in.
The original SRM file has two saves. However, when I move the modified SRM file into the RetroArch directory and run CT, the first of the two is gone.
I'm guessing going into the file and changing the six bytes that represent the name isn't sufficient to make a working save. Does anybody here know what the format is for the Chrono Trigger SRAM? Thanks!
So I found the map online at https://datacrystal.tcrf.net/wiki/Chrono...S)/RAM_map. It looks like there is a checksum for each slot, and I'm guessing if that's wrong, it ignores/erases the save file. Any ideas on how to calculate that? Thank you all again!
Okay, I realize I'm just rubber-duck programming at you all at this point
The Go implementation I found includes checksum code as well as a reference that wasn't coming up in web searches. Back to my IDE!
I'm basing my efforts on this incomplete tool: https://github.com/mcred/chrono-trigger-...me-ov-file
I currently have something that can read the first save slot of a copy of a RetroArch SNES9x SRM file. The character names (other than Epoch) all seem correct. The stats all seem correct. Writing changes to the SRM file and loading it back seems to produce the expected results -- basically, whatever I write out is what I read back in.
The original SRM file has two saves. However, when I move the modified SRM file into the RetroArch directory and run CT, the first of the two is gone.
I'm guessing going into the file and changing the six bytes that represent the name isn't sufficient to make a working save. Does anybody here know what the format is for the Chrono Trigger SRAM? Thanks!
So I found the map online at https://datacrystal.tcrf.net/wiki/Chrono...S)/RAM_map. It looks like there is a checksum for each slot, and I'm guessing if that's wrong, it ignores/erases the save file. Any ideas on how to calculate that? Thank you all again!
Okay, I realize I'm just rubber-duck programming at you all at this point

« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)