Community
    • Login

    How To Read And Edit ASCII File with HEX Values Inside

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    asciihex value
    3 Posts 3 Posters 75 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Tnega TercesT
      Tnega Terces
      last edited by

      I’m trying to edit the save file for a game I have, but the game Devs wrote their save file in a very smart, and right now very annoying, way. It’s a normal ASCII file with lines for each individual game object and human readable variable names, like “ECharacterStatType::Level” for the PC’s level, but then, instead of an ASCII number for the aforementioned level’s value, it uses Hex values instead. I’ve tried using a regular hex editor, like the standard hex editor plugin, but that wants to treat the entire file as nothing but hex codes and ignores line breaks, instead just always showing 16 hex codes per line and then wrapping to a new line, which makes it harder to read the human readable ASCII in the original file. Is there a way to view the file as an ASCII file with the line returns as intended in the file (so objects with their multiple variable fields are separated on to different lines, and similar variable fields all line up vertically), but show the non-ASCII parts as their actual Hex code values?!? And be able to easily edit those hex code values just as if they were normal text in a text editor?!? I’ve attached a screenshot of the file so that you can see what I’m talking about…Screenshot 2025-11-02 023101.png

      mpheathM Terry RT 2 Replies Last reply Reply Quote 1
      • mpheathM
        mpheath @Tnega Terces
        last edited by

        @Tnega-Terces

        The 1st 4 characters define the format. It is GVAS. 2-way convertors exist to change the format to an editableJSON format or similar. Editing the binary directly might not be good as the 1st 16 lines look like a header that may define data length and other critical information that may make the editing invalid.

        1 Reply Last reply Reply Quote 4
        • Terry RT
          Terry R @Tnega Terces
          last edited by

          @Tnega-Terces said in How To Read And Edit ASCII File with HEX Values Inside:

          It’s a normal ASCII file with lines for each individual game object and human readable variable names

          I totally agree with @mpheath , you are barking up the wrong tree. Just do a google search on the GVAS file format. It is clearly stated that it’s a “binary” file format, in spite of being able to read some text within it. Editing it with any text editor is bound to fail!

          Terry

          1 Reply Last reply Reply Quote 5
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors