valkyria chronicles hex editing a save

ladyjade90

New Member
OP
Newbie
Joined
Jan 8, 2022
Messages
3
Trophies
0
Age
34
XP
44
Country
United States
ive been trying for about a week now to learn how to hex edit my save for valkyria chronicles (1) on steam. ive read the guide. ive tried my best but i just cant seem to get it. is there anyone that can help walk me through this or just edit the save for me? honestly this isnt as easy as i keep seeing people say it is
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,406
Country
United Kingdom
You probably don't have enough posts to post a link just yet but if you can tell us where, and maybe break up the url
http : // www . somesite . com / blah / peh.html sort of thing that would help.
https://github.com/dhavard/ValkyrieEdit appears to be a tool that can extract from saves and shove it into a csv (a very simple form of spreadsheet) and then inject it back again.
https://steamcommunity.com/sharedfiles/filedetails/?id=343149661 is what pointed me at it and includes some data.

Anyway not sure what there is to say. https://gbatemp.net/threads/rom-hacking-hex-editors-mid-2012-discussion.326873/ for a list of good hex editors for a kit.

Typically a hex editor has three main sections.
Usually on the left is the address within the file (or memory if memory viewer mode). Probably going to be in hexadecimal. If you are used to page 64, paragraph 3, line 2, word 5 then that is a form of addressing, computers tend to opt for just bytes though. You count along (starting at 0) and go up to... as wide as the thing is by most make it 10h wide such that the numbers on the left go up by 10h each time.
In the middle is the hexadecimal that actually makes up the file. This is values 0 through F, or indeed as most times it is bundled together in pairs then 00 through FF.
On the right is the text decode of the hex section. Usually going to be ASCII ( https://www.ascii-code.com/ ) unless you are using a ROM hacking editor which tend to be about doing custom decodes, though some do custom or other less popular things than ASCII for decoding.

You can edit the middle or right section by typing in there.
Depending upon the editor if you press insert (insert, delete, home, end, page up, page down part of the keyboard) then you will probably see OVR flash up in the bottom bar somewhere. This will be overwrite mode, as opposed to insert mode where new data is added and everything else shuffled forward. If you are familiar with the same thing on a word processor then same here, indeed many things will be similar to a word processor -- you can do find and replace, go to location, cut and paste...
 

ladyjade90

New Member
OP
Newbie
Joined
Jan 8, 2022
Messages
3
Trophies
0
Age
34
XP
44
Country
United States
how do i use valkyrie edit though? i have it but its not clear how i use it. as for the guide ive been trying to use it but the data i see in the hex editor is not what shows up in those examples from the steam guide and i end up not being able to find the values i need to change to make units alive or dead. following the instructions using the hex editor from the examples is giving me different values and im not a coder so i end up lost as to why. i have 0 experience with coding or programming so its all japanese to me unfortunately. is there a specific way to use hex editors not mentioned in the guide?
 
Last edited by ladyjade90,

ladyjade90

New Member
OP
Newbie
Joined
Jan 8, 2022
Messages
3
Trophies
0
Age
34
XP
44
Country
United States
i was able to get the help i needed will post the save here should anyone else need it its on ng+ before first mission in prologue with a full roster plus generics. there are a couple units missing but they weren't unlocked yet
 

Attachments

  • valkyria chonicles generic unit save.zip
    188.5 KB · Views: 99

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,406
Country
United Kingdom
Sorry I missed the earlier reply. Glad you got it working in the end.

Values not being the expected ones tend to be you left a header on something (or removed it), the format changed because updates or the guide is wrong (possibly that the save uses pointers). Hopefully you figured out which it was.
For the former two you can usually search for what you expect and hopefully find it at a new location, for the latter you probably get to start over with traditional save editing/cheat finding techniques (save, spend 1 gold, save again, compare saves to see what changed, repeat for other items you care about, though might be able to make some educated guesses based upon what is in memory and what will need to be stored/restored upon loading a save*).

*obvious trap for newcomers is not all stats might be stored -- if your HP is a combination of level, defence, constitution and something else the total HP might be calculated instead.
 
  • Like
Reactions: ladyjade90

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • A @ ATEMVEGETA:
    The save file(s) would never be created first in an emulator
  • A @ ATEMVEGETA:
    Do you think continuing the story on the emulator would flag the save file as illegal? (Again no cheats, etc will take place, only normal story of the game progress)
  • BigOnYa @ BigOnYa:
    But still using the save on a emulator, then back to switch is shady
    +2
  • A @ ATEMVEGETA:
    Yea, that's the only thing I want to clarify actually. If someone has tried it with no problems.
    +1
  • A @ ATEMVEGETA:
    If using the save on the emulator flags the save file. :/
  • A @ ATEMVEGETA:
    Again, "using" I mean normal gameplay not modify it with other means like pokehex, etc
  • A @ ATEMVEGETA:
    @BigOnYa, Can you help me clarify this thing somehow? Do you know someone that may know or have tried it?
  • Psionic Roshambo @ Psionic Roshambo:
    Just play it on the emulation at home and portable use the normal save, I wouldn't risk anything if online is important to you
    +1
  • K3Nv2 @ K3Nv2:
    My psychiatrist tried to help me once said it was mine 9 months later
    +1
  • BigOnYa @ BigOnYa:
    Just ask in the forums if anybody has done it, I don't know of anybody who has, or would risk it.
  • Psionic Roshambo @ Psionic Roshambo:
    Baby daddy issues lol
  • A @ ATEMVEGETA:
    this is what I did here. I hope I get some responces
    +1
  • K3Nv2 @ K3Nv2:
    Daddy was a little cray cray
    +1
  • K3Nv2 @ K3Nv2:
    Go cray cray on it like a coloring book
    +1
  • K3Nv2 @ K3Nv2:
    Got so mad my Bluetooth made me break a tooth
    +1
  • DinohScene @ DinohScene:
    that's why you should get titanium implants
    +1
  • K3Nv2 @ K3Nv2:
    I'm actually waiting on insurance to accept those ffs almost been waiting 2 weeks
    +1
  • DinohScene @ DinohScene:
    steal them off off a corpse
    +1
  • K3Nv2 @ K3Nv2:
    Mmm live persons more fun psi you're like 50 you should have a few :tpi:
    +1
  • DinohScene @ DinohScene:
    sold them all for meth\
    +2
  • K3Nv2 @ K3Nv2:
    Meth implants the officer will never know sneaky flordians
  • Psionic Roshambo @ Psionic Roshambo:
    Meth pipe teeth, never loose your meth pipe again!
  • K3Nv2 @ K3Nv2:
    Butt implants are preferred teeth implants more reliable
    K3Nv2 @ K3Nv2: Butt implants are preferred teeth implants more reliable