ROM Hack 3DS save file encryption/checksum

  • Thread starter Thread starter Nitro Edd
  • Start date Start date
  • Views Views 2,239
  • Replies Replies 0

Nitro Edd

Active Member
Newcomer
Joined
Oct 12, 2009
Messages
42
Reaction score
3
Trophies
1
XP
206
Country
New Zealand
TLDR: I need help replicating a save file checksum

This is my very first time trying to edit a save file, and thankfully it is not encrypted. I know this because I have managed to isolate individual bytes whose values correspond exactly to game data. But unfortunately any modifications trigger a "corrupt save" error, which generates a blank save file. Even though I'm 100% sure the value(s) I'm modifying are legal, which leads me to believe that there is a checksum that I'm not replicating.

Has anybody come across this before, are there standard checksums that the game devs may have used?

Game: Tekken 3D Prime Edition (namco)

The values of the following 7 addresses are always different between save files, but I do not know what they correspond to yet...

0x0000
0x0001
0x0002
0x0003
checksum ?

0x0C14
0x0C15
16 bit value?

0x23D8
always increases in value

Aside: Are values likely to be big endian or little endian? e.g. for a 16 bit value, are the 2 bytes in order or reverse?


These are the addresses which I have 100% figured out. I'm not wasting anymore time finding more, until I I overcome this checksum problem.

0x0004
difficulty (00 01 02 03 04)
0x0005
round count (00 01 02)
0x000A
stage side preference (00 01)
0x221F
Dragunov rank (00 - 28)
0x2484
Dragunov wins (00 - FF)
0x2530
Dragunov loses (00 - FF)
0x3B0E
card points (00 - FF)

Edit: I can provide the 6 save files I have generated, along with the annotated differences
 
Last edited by Nitro Edd,

Site & Scene News

Popular threads in this forum