codemonkey85 / PKMDS

A Pokémon save hacking library written in C++! (currently supports Gen V and limited portions of Gen III / VI)
The Unlicense
22 stars 5 forks source link

Gen III save file support #8

Open codemonkey85 opened 10 years ago

codemonkey85 commented 10 years ago

Right now writing changes to GBA save files is totally and utterly broken. Checksum calculation looks okay, but I need to rethink the logic of writing data to each block.

codemonkey85 commented 10 years ago

The fun starts here: https://github.com/codemonkey85/PKMDS/blob/11b986d7382a679bcf10a1a7e33e9ecc29656779/lib/pkmds_gba.cpp#L47

codemonkey85 commented 10 years ago

I might have to draw some inspiration from @Grazfather - https://github.com/Grazfather/pokehack/blob/master/lib/SaveParser.cpp#L86

Grazfather commented 10 years ago

Hey, it's open source for a reason.