Hex Editing Saved Games

This forum is for off-topic discussion. You may talk about all things non-AGDI related here. No links to warez, abandonware, and no Flaming please.

Moderators: adeyke, VampD3, eriqchang, Angelus3K

Post Reply
Message
Author
User avatar
SierraFan1885
Royal Servant Status
Posts: 56
Joined: Thu Mar 06, 2008 3:15 am
Location: Melbourne/Viera, Florida
Contact:

Hex Editing Saved Games

#1 Post by SierraFan1885 » Sat Oct 10, 2009 3:32 am

Hey Everyone,

I've been reading some stuff about hex editing and it seems overly complicated, but kinda fun in a way. I'd like to try and mess around with hex editing my skills in QFG3, specifically my spell skills. How would I locate and edit, for example, the spell skills for force and calm?

Brainiac
Royal Vizier Status
Posts: 2055
Joined: Thu Mar 18, 2004 6:20 am
Location: Somewhere in Ohio...
Contact:

Re: Hex Editing Saved Games

#2 Post by Brainiac » Sat Oct 10, 2009 3:44 am

With your editor and game both running:

1. Search for the current spell skill value via your hex editor.
2. Cast the spell in game enough to change the skill value.
3. Search for the new value in the hex editor.
4. Repeat until you can isolate the specific location of the spell skill value, then alter at will.

Note that QfG3 does not have specific value locations that are consistent from game to game (or even save to save) so you'll need to search anew if you want to change a value at a later time or in a different playthrough.

User avatar
SierraFan1885
Royal Servant Status
Posts: 56
Joined: Thu Mar 06, 2008 3:15 am
Location: Melbourne/Viera, Florida
Contact:

Re: Hex Editing Saved Games

#3 Post by SierraFan1885 » Sat Oct 10, 2009 4:09 pm

Thanks for the tips brainiac! What would be a good and relatively easy hex editing utility to use?

Someone on the SHP Forums mentioned a program that was able to do all the searching and replacing for you, you just had to locate the skill, grind it till it rises, then search for the new skill value, then plug in what you wanted to change it to and it took care of the rest.
Last edited by SierraFan1885 on Sat Oct 10, 2009 4:45 pm, edited 1 time in total.

Brainiac
Royal Vizier Status
Posts: 2055
Joined: Thu Mar 18, 2004 6:20 am
Location: Somewhere in Ohio...
Contact:

Re: Hex Editing Saved Games

#4 Post by Brainiac » Sat Oct 10, 2009 4:29 pm

I would have loved to help you but...
SierraFan1885 wrote:Thanks for the tips braniac!
...I suddenly feel intense disdain for you.

User avatar
SierraFan1885
Royal Servant Status
Posts: 56
Joined: Thu Mar 06, 2008 3:15 am
Location: Melbourne/Viera, Florida
Contact:

Re: Hex Editing Saved Games

#5 Post by SierraFan1885 » Sat Oct 10, 2009 4:46 pm

Woops! I Mean..uh..what typo...

goatmeal
Royal Servant Status
Posts: 100
Joined: Sat Oct 11, 2008 6:30 pm

Re: Hex Editing Saved Games

#6 Post by goatmeal » Sat Oct 10, 2009 8:56 pm

Brainiac wrote:I would have loved to help you but...
SierraFan1885 wrote:Thanks for the tips braniac!
...I suddenly feel intense disdain for you.
Perhaps he's stumbled upon your insatiable and maddening appetite for bran-based foodstuffs? ( muffins, flakes, etc. )

BTW, I thought bran was supposed to help ease those uncomforable feelings of intense distain (among others). :rollin

User avatar
SierraFan1885
Royal Servant Status
Posts: 56
Joined: Thu Mar 06, 2008 3:15 am
Location: Melbourne/Viera, Florida
Contact:

Re: Hex Editing Saved Games

#7 Post by SierraFan1885 » Sat Oct 10, 2009 9:03 pm

goatmeal wrote:
Brainiac wrote:I would have loved to help you but...
SierraFan1885 wrote:Thanks for the tips braniac!
...I suddenly feel intense disdain for you.
Perhaps he's stumbled upon your insatiable and maddening appetite for bran-based foodstuffs? ( muffins, flakes, etc. )

BTW, I thought bran was supposed to help ease those uncomforable feelings of intense distain (among others). :rollin
Yes, yes it does. Everyone should have more bran in their diets! Perhaps the (perhaps) lack of bran in Glorianna explains Ad Avis's bad attitude :p

navynuke04
Honorary AGD
Posts: 5378
Joined: Fri Sep 13, 2002 1:19 am
Location: US of A
Contact:

Re: Hex Editing Saved Games

#8 Post by navynuke04 » Sat Oct 10, 2009 9:07 pm

With a comment like that, I can't be far behind to laugh...

:rollin

Brainiac
Royal Vizier Status
Posts: 2055
Joined: Thu Mar 18, 2004 6:20 am
Location: Somewhere in Ohio...
Contact:

Re: Hex Editing Saved Games

#9 Post by Brainiac » Sat Oct 10, 2009 10:31 pm

Stop encouraging them, Navy! :p

User avatar
SierraFan1885
Royal Servant Status
Posts: 56
Joined: Thu Mar 06, 2008 3:15 am
Location: Melbourne/Viera, Florida
Contact:

Re: Hex Editing Saved Games

#10 Post by SierraFan1885 » Sun Oct 11, 2009 12:13 am

We'll be good now....:D

navynuke04
Honorary AGD
Posts: 5378
Joined: Fri Sep 13, 2002 1:19 am
Location: US of A
Contact:

Re: Hex Editing Saved Games

#11 Post by navynuke04 » Sun Oct 11, 2009 2:45 am

Its moving. It really is. ;)

User avatar
Spikey
Insomniac Speed Demon
Posts: 1195
Joined: Tue Jan 27, 2004 10:23 pm
Location: Rotterdam, Netherlands
Contact:

Re: Hex Editing Saved Games

#12 Post by Spikey » Sun Oct 11, 2009 4:23 pm

Finally a good typo-nick for you, Bran.

You had it coming, you deserve it.

Brainiac
Royal Vizier Status
Posts: 2055
Joined: Thu Mar 18, 2004 6:20 am
Location: Somewhere in Ohio...
Contact:

Re: Hex Editing Saved Games

#13 Post by Brainiac » Sun Oct 11, 2009 5:06 pm

You be quiet, Spokey, or I'll smack you with a perch! :p

User avatar
SierraFan1885
Royal Servant Status
Posts: 56
Joined: Thu Mar 06, 2008 3:15 am
Location: Melbourne/Viera, Florida
Contact:

Re: Hex Editing Saved Games

#14 Post by SierraFan1885 » Sun Oct 11, 2009 7:09 pm

Spikey wrote:Finally a good typo-nick for you, Bran.

You had it coming, you deserve it.
Hooray! People enjoy my typo! And the crowd cheers for Zoidber..uh..SierraFan!!!

User avatar
Spikey
Insomniac Speed Demon
Posts: 1195
Joined: Tue Jan 27, 2004 10:23 pm
Location: Rotterdam, Netherlands
Contact:

Re: Hex Editing Saved Games

#15 Post by Spikey » Sun Oct 11, 2009 10:41 pm

Brainiac wrote:You be quiet, Spokey, or I'll smack you with a perch! :p
Ow I don't mind, I'll just throw some muffins in your face.

User avatar
SierraFan1885
Royal Servant Status
Posts: 56
Joined: Thu Mar 06, 2008 3:15 am
Location: Melbourne/Viera, Florida
Contact:

Re: Hex Editing Saved Games

#16 Post by SierraFan1885 » Mon Oct 12, 2009 10:50 pm

Mmmm Muffins...

User avatar
SierraFan1885
Royal Servant Status
Posts: 56
Joined: Thu Mar 06, 2008 3:15 am
Location: Melbourne/Viera, Florida
Contact:

Re: Hex Editing Saved Games

#17 Post by SierraFan1885 » Tue Oct 13, 2009 3:12 am

So.....about hex editing stats in QFG3....

User avatar
Spikey
Insomniac Speed Demon
Posts: 1195
Joined: Tue Jan 27, 2004 10:23 pm
Location: Rotterdam, Netherlands
Contact:

Re: Hex Editing Saved Games

#18 Post by Spikey » Tue Oct 13, 2009 10:08 pm

I don't recognise your description of a hextool.

I think I used to use this:
http://www.physics.ohio-state.edu/~prewett/hexedit/

It's vital to understand hexadecimals. Here's an online calculator for decimals to hexadecimals if you're having trouble with it:
http://netzreport.googlepages.com/onlin ... c_hex.html
If you need to use this offline, just save the html document, you can use it offline.

What you do is load a savegame, search up a specific stat, recalculate the value of the stat to a hexadecimal, look up the hexadecimal in the SG so you know you have the correct stat, change the stat into the hexadecimal you desire (corresponding to the decimal number you desire of course, see above link to calculate backwards as well).

Usually you'll be able to decode the stats easily because they're near each other in the same order (more or less) as they appear ingame, seperated by zeroes. So if my character has
Strength: 30
Intelligence: 15
It will show up as
1e 00 0f
in the sheet if you open your savegame with a hexeditor

decoding the rest of the numbers that follow can be easy:
1e 00 0f 00 14 00 14 00 0f 00 19 00 14 00 14 00 05 fe 01 0f 00
Str 00 int 00 agi 00 vit 00 lck 00 wea 00 par 00 dod 00 ?? ?? ?? thr ??

Now, from what I understand from Branny ( :D ) is that the sheet in qfg3 isn't organised in fixed strings like this, but rather random??? I wouldn't know, cause I never hex edited in qfg3. You should just look up your stats and start experimenting by looking up the single stat values instead of strings, I guess...

Brainiac
Royal Vizier Status
Posts: 2055
Joined: Thu Mar 18, 2004 6:20 am
Location: Somewhere in Ohio...
Contact:

Re: Hex Editing Saved Games

#19 Post by Brainiac » Wed Oct 14, 2009 12:14 pm

Spikey wrote:Now, from what I understand from Branny ( :D )
You will know pain.

As to what I mentioned, I used an editor called GameWiz32 that acts on an active game storing information in memory rather than editing a saved game.

navynuke04
Honorary AGD
Posts: 5378
Joined: Fri Sep 13, 2002 1:19 am
Location: US of A
Contact:

Re: Hex Editing Saved Games

#20 Post by navynuke04 » Sun Oct 18, 2009 9:54 pm

Another alternate spelling... :D

Image

Brainiac
Royal Vizier Status
Posts: 2055
Joined: Thu Mar 18, 2004 6:20 am
Location: Somewhere in Ohio...
Contact:

Re: Hex Editing Saved Games

#21 Post by Brainiac » Mon Oct 19, 2009 12:16 pm

<Insert your favorite expletive here> THERE'S NO ESCAPE! >:

Lady Pyro
Defense Minister Status
Posts: 584
Joined: Sun Jul 27, 2008 1:22 pm
Location: Nova Scotia, Canada

Re: Hex Editing Saved Games

#22 Post by Lady Pyro » Tue Oct 20, 2009 8:54 am

I don't see the typo, what's wrong with an entire school filled with fanaticism for the 1979 classic 'The Life of Brian'?

Post Reply