Hi,
i've read so many threads about this now and i still dont understand it completely.
My plan was to create a Trading Programm for 3. gen, to trade Pokemon on the ti-nspire (a calculator) with friends.
The first problem was that my program swaps the first pokemon in the team in both savefiles, but both savefiles are ruined afterwards, because:
- the checksum of the whole section (1) was wrong, so i cant load the latest, but only the previous savefile in emulator)
- the checksum of each pokemon (only the swapped) was wrong -> bad egg (i looked it up in "A-Save", a 3. gen saveedit as i cant open the savefile in emulator)
edit: problem 2 solved now, i just shifted the whole pokemon section so things got messed up.
I've found some threads/websites about this topic:
- http://bulbapedia.bulbagarden.net/wiki/Save_data_structure_in_Generation_III#Checksum
- http://bulbapedia.bulbagarden.net/wiki/Pok%C3%A9mon_data_structure_in_Generation_III
- http://furlocks-forest.net/wiki/?page=Pokemon_GBA_Save_Format (especially the comments of adam)
- http://projectpokemon.org/forums/showthread.php?1904-help-with-pokemon-checksum/
Can someone explain the checksum calculation in easy words with examples and maybe even pictures?
(expect me to be a 5 year old little child that knows how to google and use "goldfinger", "hexcmp2", "A-Save", "Vba Emulator" and some other pokemon/hexcode related tools)
Hopefully someone can help :smile:
edit: i also found the sourcecode of this program, but i dont understand what parameters i have to use for the Chksum() function:
https://dl.dropboxusercontent.com/u/12206225/PSavFixV2.zip