14
submitted 11 months ago by zShxck@lemmy.ml to c/linux@lemmy.ml

I am using Ghex and Bless and both of them display the value of my gold but I cannot edit it. I am missing something?

top 13 comments
sorted by: hot top controversial new old
[-] veroxii@aussie.zone 25 points 11 months ago

Do you have write permission on the file?

[-] lemann@lemmy.one 13 points 11 months ago

Is the hex file not saving with those editors, or is the game just not showing the new value once it's loaded?

[-] zShxck@lemmy.ml 5 points 11 months ago

Nono, i cannot input any values, that's the problem. Anyhow, I tried ImHex and with it I am able to change values now... I don't know why

[-] Diplomjodler@feddit.de 7 points 11 months ago

The file could be digitally signed. By editing you change the hash value that will be computed when the file is checked for integrity. Just a wild guess.

[-] zShxck@lemmy.ml 2 points 11 months ago

I don't know I tried ImHex and with it I am able to change values now... I don't know why

[-] Diplomjodler@feddit.de 3 points 11 months ago

Maybe your other editor messed up the encoding?

[-] zShxck@lemmy.ml 4 points 11 months ago

I think you are right, I saw a different set of numbers in the left bar, but with ImHex the numbers were "correct"

[-] PlexSheep@feddit.de 7 points 11 months ago

I don't know these programs. Some hex editors are weird about editing, I use bvi to edit and it works pretty good for me.

[-] zShxck@lemmy.ml 2 points 11 months ago

Yeah I tried ImHex and with it I am able to change values now... I don't know why

[-] PlexSheep@feddit.de 0 points 11 months ago

Cool if it works. Stick with what works for you

[-] ReversalHatchery@beehaw.org 5 points 11 months ago* (last edited 11 months ago)

I had similar frustrations with a game. It's very easy to make mistakes while you're a beginner in editing such files (I don't know if you are).
One advice is to make sure to keep the data the same length.

If that doesn't help, observe the file's structure a bit more. Maybe it uses a checksum somewhere for the data you want to edit, or it is just stored elsewhere and you were editing the wrong thing.
Make a save. Make the data to change (in the shortest time possible) and make a new save. Compare these for what have changed.

But also, what is your problem?
Does the value just don't change, or the save becomes corrupted?

[-] zShxck@lemmy.ml 3 points 11 months ago

Cannot input any value. I tried ImHex and with it I am able to change values now... I don't know why

[-] ReversalHatchery@beehaw.org 2 points 11 months ago* (last edited 11 months ago)

Oh and one more thing!

Do you obtain this file from the file system, or do you need to extract it from some kind of a container file, and then implant back the modified version?
SnowRunner's asset files cannot be edited unless you unpack and repack them with winrar. Anything else (as far as I tried, windows tools at the time) and it won't work.

this post was submitted on 05 Nov 2023
14 points (73.3% liked)

Linux

47814 readers
850 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS