You should always save your game under AT LEAST two different names before you try hacking it. That way, if you mess one up by hacking it, you can still always play the other one and no harm is done.
THE CENTAUR OF SIFNOS (THAT'S
ME) WILL NOT BE HELD RESPONSIBLE IF YOU MESS UP YOUR SAVED GAME FILE AND
HAVE TO START YOUR WHOLE GAME OVER, OR IF YOU CRASH YOUR COMPUTER.
I WILL ALSO NOT BE RESPONSIBLE FOR ANY DAMAGE DONE TO YOUR GAME OR YOUR
COMPUTER. YOU'VE BEEN WARNED. LIKE I SAID, SAVE MORE THAN ONCE!!!!
I have to apologize to those of you who sent me your saved game files or e-mailed to ask questions. I haven't updated this page recently, but there seems to be a problem with the e-mail system I'm on that it will not send back saved game files correctly. Unfortunately, this means that I am no longer able to personally edit your saved games, but you can attempt to use the following procedure if you would like.
Following is a step-by-step instruction of how to hack your saved games.
1. The first thing you will have to do is download a hex editor. There are many shareware hex editors available. You can try these sites or most any shareware site:
For Macs: Brain-Hex 1.1 For PCs: Hex Workshop or UltraEdit
2. The next step is to save
your Quest for Glory 5 game, preferrably 3 times under different names.
3. Exit Quest for Glory 5
and open one of those saved game files in your hex editor.
Now is where the confusing part begins. In the hex editor your file looks like a bunch of letters, numbers, and other strange characters. The part that you are concerned with is normally on the left side. There are columns containing sets of 4 digits across. The digits will range from 0-9 and A-F.
To edit your inventory items, you will need to scroll down the file some. About 100 lines down or so, you will get to a section of the file that will look something like the following (without the red and blue boxes). NOTE: THE ROW NUMBERS WILL NOT BE THE SAME AS IN THIS PICTURE!!!!
It probably won't match up so nicely as this, so don't be alarmed. Now, here comes the hacking...
The column surrounded by the red box is the items column. The sets of 4 digits are the items in your inventory. For example, in the row labeled 40, 098B is Healing Pills and in the row labeled 80, 208B is your fruit rations. It is possible that 20 be at the end of row 70 and 8B be at the very beginning of row 80. You may even find something like this in the middle of the columns: 0020 8B01. Just remember that the 20 and the 8B go together. Same with the 09 and the 8B, even if they are at connecting ends of consecutive rows or if there is a space between them.
Now let's give your Hero the Dragon Slayer Sword. The Dragon Slayer Sword is labeled as 058B. In row 80, you would replace 208B with 058B. Make sure that all of the digits in the area corresponding to the green column are 0s. Then save the file in your hex editor, close it, and then open it up in Quest for Glory 5. Your Hero will now have the Dragon Slayer Sword. However, you have replaced your fruit with the sword, so you no longer have any fruit to eat. The solution: Go to Marrak and buy some more fruit, it only costs one silver each.
Unfortunately, I have not yet found a way to add items without replacing others. This is not really a problem though, except for having to switch between QG5 and your hex editor repeatedly.
You can replace your fruit with any item in the
game. The following is the label for each item in the game.
Replace 208B
with any of the following to get that particular item.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
018B | Sword |
028B |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If you are so inclined, you can also change the amount of an item you have in your inventory. The blue column contains the data for the amount of an item you have. Be forwarned, the numbers are in HEX, not decimal. Therefore, a value of 35 for the first two digits does not correspond to having 35 of the item in your inventory. It is 53 of the item in your inventory. To figure how many of an item you have:
Multiply the first digit by 16 and then add the second digit as follows:
1 | 1 |
2 | 2 |
3 | 3 |
4 | 4 |
5 | 5 |
6 | 6 |
7 | 7 |
8 | 8 |
9 | 9 |
A | 10 |
B | 11 |
C | 12 |
D | 13 |
E | 14 |
F | 15 |
Thus a hex value of 35 for the first two digits of the blue
column is
3*16=48+5=53
53 of the item in inventory.
Now lets say that you want 200 Drachmas.
Divide 200 by 16 to get the first digit.
200/16=12 remainder 8.
12 corresponds to a hex value of C.
The second digit is the remainder.
8 corresponds to a hex value of 8.
Therefore, 200 is C8 in hex.
In the row with 478B in the red column, change the first two digits of the blue column to C8 and the last two digits to 00. Make sure that the green column for this item has all zeros.
The second two digits in the blue column are for even higher amounts of an inventory item. It is suggested that you not play with these digits because it tends to mess up the game.
DON'T FORGET TO BUY MORE FRUIT WHEN YOU ARE DONE EDITING YOUR FILE OR ELSE YOUR HERO WILL STARVE!!!!