this post was submitted on 05 Nov 2023
13 points (72.4% liked)

Linux

48102 readers
626 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
 

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
[–] [email protected] 25 points 1 year ago

Do you have write permission on the file?

[–] [email protected] 13 points 1 year ago (1 children)

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

[–] [email protected] 5 points 1 year 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

[–] [email protected] 7 points 1 year ago (1 children)

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.

[–] [email protected] 2 points 1 year ago (1 children)

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

[–] [email protected] 0 points 1 year ago

Cool if it works. Stick with what works for you

[–] [email protected] 7 points 1 year ago (1 children)

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.

[–] [email protected] 2 points 1 year ago (1 children)

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

[–] [email protected] 3 points 1 year ago (1 children)

Maybe your other editor messed up the encoding?

[–] [email protected] 4 points 1 year ago

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

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (2 children)

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?

[–] [email protected] 3 points 1 year ago

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

[–] [email protected] 2 points 1 year ago* (last edited 1 year 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.