marcrobledo / acnl-editor

An Animal Crossing: New Leaf savegame editor made in HTML5
https://www.marcrobledo.com/acnl-editor/
MIT License
152 stars 33 forks source link

Hex offsets not the same in hex editor #80

Closed SirEnder125 closed 3 years ago

SirEnder125 commented 3 years ago

Hello. I am trying to make a save editor like this in C#, but, I looked in your source code for the player name offset and it is not the same as where I see my name in HxD hex editor. How do I find the actual offset based off what I see in HxD?

The offset in the editor does work for editing the name, I just don't know how you found it.

The offset for PLAYER_NAME is 0x55a8. though when I get my save game file content as a string, and write: textBox1.Text = data[0x55a8].ToString(); I get the 'e' instead of the 'A'.

Also, I see my name at the offset 0x5648 in HxD... Why is this? image