Next Generation Emulation banner

Cheat file versioning

1339 Views 1 Reply 2 Participants Last post by  Forgotten
One thing that I noticed about the PC cheat files is that the format changed between 1.72 and the 1.80 beta (with the addition of rawaddress in CheatsData), yet the version number (the version variable that is written to the file in cheatsSaveCheatList() in Cheats.cpp) remains the same. Is there something else that is supposed to tell the two versions of cheat files apart?

Currently, the Mac version doesn't save cheats, although I'm planning to write one based on an XML format. I ask as I do plan to have the ability to import and export PC cheat lists.

A side question: do the PC saves store numbers in big or little endian format? Since endianness issues was what kept encrypted CBA codes from working on the Mac, I'd rather be on the safe side.
1 - 2 of 2 Posts
Saves are in little endian format as they existed before the port to other platforms was done.
1 - 2 of 2 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.