Can you change the difficulty of a save using a hex editor?

Jul 22, 2014 at 9:19 PM
Neophyte Member
"Fresh from the Bakery"
Join Date: Jul 22, 2014
Location: On a floating island high above the clouds...
Posts: 4
HI, there!

I've downloaded a save from the site, and everything works fine. I wonder, though, is there a way to change the difficulty of a save using a hex editor?

Please let me know! :D



P.S. I'm using CS+ bought from Steam.
 
Jul 22, 2014 at 9:22 PM
Neophyte Member
"Fresh from the Bakery"
Join Date: Jul 22, 2014
Location: On a floating island high above the clouds...
Posts: 4
Yes, I've already converted the save.
 
Jul 23, 2014 at 2:40 AM
Based Member
"Life begins and ends with Nu."
Join Date: Dec 31, 2011
Location: United States
Posts: 2307
Age: 27
I have no doubt that there is a simple hex value to edit with a hex editor that would allow you to change the difficulty. It's just that nobody's bothered to figure it out the offset of it and which values represent what. It probably wouldn't be too hard to figure out. If you want I can try to figure it out soon, assuming that nobody beats me to it.
 
Jul 23, 2014 at 2:44 AM
Banned
"Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-BLEIUP"
Join Date: Aug 19, 2010
Location: South of Nowhere
Posts: 304
I would agree, but doesn't Hard Mode also remove all life capsules? That's not really something that would be changed by editing a single hex value, is it?
 
Jul 23, 2014 at 2:51 AM
Based Member
"Life begins and ends with Nu."
Join Date: Dec 31, 2011
Location: United States
Posts: 2307
Age: 27
bobbyis said:
I would agree, but doesn't Hard Mode also remove all life capsules? That's not really something that would be changed by editing a single hex value, is it?
That's a good point. My guess is either that all the flags pertaining to the life capsules are set upon starting a new game in hard mode, or the algorithm for loading maps ignores life capsules if the difficulty is set to hard... I'll have to look into this as well, it should also be fairly easy to test.
 
Jul 23, 2014 at 3:13 AM
Administrator
Forum Administrator
"Life begins and ends with Nu."
Join Date: Jul 15, 2007
Location: Australia
Posts: 6211
Age: 38
If it is the latter then it should be a simple matter of changing health values, so long as the puppy in the Plantation is accounted for (for he still gives a +3 health capsule in hard mode).
 
Jul 23, 2014 at 7:43 PM
Um... Chosen One? Yeah that'll work. : P
"Big Joe Tire and Battery Restaurant! Opening Soon! Eat at Big Joes!"
Join Date: Oct 7, 2013
Location: India
Posts: 499
Save Slot 1 Difficulty - Offset 0x610
Save Slot 2 Difficulty - Offset 0xC30
Save Slot 3 Difficulty - Offset 0x1250
Values: 0x00 = Normal; 0x02 = Easy; 0x04 = Hard.

(I think.)
 
Jul 23, 2014 at 9:29 PM
Based Member
"Life begins and ends with Nu."
Join Date: Dec 31, 2011
Location: United States
Posts: 2307
Age: 27
Ah, very good! I guess I was wrong that there wasn't any documentation on where the offset is. And I just tested it out, and it seems that life capsules are not a major problem since they're just prevented from being loaded if it's on hard mode, so they'll reappear when you change from hard to another difficulty if you haven't gotten them. The only thing you have to do is set the health values according to what flags are and aren't set if you're messing with hard mode.
 
Top