Any way to directly edit TCG saves?
-
- Junior Chao
- Posts: 25
- Joined: Fri Jun 01, 2012 1:14 am
- Location: St. Louis, MO, USA
Any way to directly edit TCG saves?
I am working on making a Tiny Chao Garden chao editor; however, the only way I have seen to edit things is through the VBA Memory Viewer. I know the data has to be stored in the save file though, so I was wondering if anybody knew/could help find the addresses for chao data. Any help is very much appreciated!
- ChaoGardenBuster
- Quester Chao
- Posts: 198
- Joined: Thu Sep 11, 2014 1:22 am
- Motto: Know both sides of the story before you assume.
- Location: Crossplay Server
- Contact:
Re: Any way to directly edit TCG saves?
I'll be happy to help
First, here is some important chao addresses.
Stats
Eggs
Evolution
Well I guess that's all I got so far I plan to update this more once I find more addresses.
NOTE: These addresses are only for sonic advance 1. I will do more games soon.
First, here is some important chao addresses.
Stats
Spoiler:
Spoiler:
Spoiler:
NOTE: These addresses are only for sonic advance 1. I will do more games soon.
-
- Junior Chao
- Posts: 25
- Joined: Fri Jun 01, 2012 1:14 am
- Location: St. Louis, MO, USA
Re: Any way to directly edit TCG saves?
Genuinely sorry for necrobumping this, but what I was meaning to ask was where does the save file reflect these changes? As in, if I changed something about the chao via memory addresses, then saved the game, what would change in the actual save file. I already know most of the memory addresses.
- Jeffery Mewtamer
- Advanced Chaos Chao
- Posts: 3234
- Joined: Thu Jun 16, 2011 3:59 pm
- Motto: Sightless Scholar
- Contact:
Re: Any way to directly edit TCG saves?
The only documentation I've seen for Chao saves has been for some versions of the Adventure games. One thing you could try is to create a backup of an unedited save, load the original save, make some edits with the memory editor, and save, and then use a tool to compare the backup save with the altered save to see what changed. Granted, this might only give you one or a few addresses at a time, though its quite possible that there exist large chunks of data that are formatted the same in both memory and the save and just have different start points. For example, if all the stat data is together in memory, you alter the first stat, and compare the saves pre- and post-edit, it's quite possible the other stats are right after where the files differ from changing that 1 stat.
I know hexdiff can be used to do such comparisons from the Linux command line, but have no idea about such a tool for Windows or a Gui tool for Mac/Linux(chances are good hexdiff as a Mac version, but would still be a command line tool), though I would expect any halfway decent hex editor to have such a tool(or you could try searching the pre-edit save for the value of the unedited address and the post-edit file for the edited value and look for the occurence of each that have the same address in the save).
Hope this helps. Disclaimer: I have no hands-on experience with this, but this should work in theory.
I know hexdiff can be used to do such comparisons from the Linux command line, but have no idea about such a tool for Windows or a Gui tool for Mac/Linux(chances are good hexdiff as a Mac version, but would still be a command line tool), though I would expect any halfway decent hex editor to have such a tool(or you could try searching the pre-edit save for the value of the unedited address and the post-edit file for the edited value and look for the occurence of each that have the same address in the save).
Hope this helps. Disclaimer: I have no hands-on experience with this, but this should work in theory.
-
- Junior Chao
- Posts: 25
- Joined: Fri Jun 01, 2012 1:14 am
- Location: St. Louis, MO, USA
Re: Any way to directly edit TCG saves?
I figured that's what I'd have to do, but I just wanted to check if any of it was known.