Posted: Sun Feb 05, 2017 2:06 pm Post subject: Changing String Types
This might be a basic problem but I'm trying to change my codename in God Eater: Resurrection on steam and it's not working in the way I would assume it should be.
My original name was (let's say) 'The Dead' and is listed as a String[8] in CE. I'm trying to change it to just 'Dead' but it is then listed as 'DeadDead' in-game. I thought maybe I just need to change it to a String[4] and that's where I get confused. When I save and restart, my in-game name is still 'DeadDead' but if I pull it back up in CE, it's listed only as 'Dead' and a String[4]. If I then change it to something completely different, say 'Wren' it's copied over as 'WrenWren' in the game.
Am I doing something incorrectly, or is the game itself at fault?
In memory viewer, go to the byte after the final 'd' and change it to hex 00.
That is a string null terminator and lets the code know when to end the string.
It's also possibly that the game stores the string length someplace as an integer.
You may also need to change that value from an 8 to a 4.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum