View Single Post
Old 03-03-2013   #248
gingerbread
Senior Member
 
gingerbread's Avatar
 
Join Date: Mar 2012
Posts: 1,405
Likes: 284
Liked 812 Times in 418 Posts
Mentioned: 302 Post(s)
Tagged: 0 Thread(s)
Originally Posted by aldostools View Post
I don't have a save for PROTOTYPE 2 to confirm, but if the CRC32 of the data file (that you don't list in the code) is found at offset 0x0018 in the CRC.BIN file, then it should be correct.

The line "set [crc32]:crc32" calculates the crc32 of the current file and stores it in the temporary variable [crc32].

Then, "write at 0x18:[crc32]" writes the content of the variable [crc32] at the offset 0x18.
If it not stored at offset 0x18? How do find the offset? Is crc always 32? Is there a tool?

Once I have found it, do I need to add "set [crc32]:crc32" at every last line of the cheats?

Thanks Aldo!
gingerbread is offline   Reply With Quote