hex editor

The place to discuss scripting and game modifications for X²: The Threat.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

eskeemer
Posts: 224
Joined: Fri, 30. Jan 04, 13:40
x3

hex editor

Post by eskeemer »

I`ve tried adjusting my credits using hex workshop and I`ve followed
the instructions to the letter but when I LOAD THE SAVED GAME I get a message that there is aproblem with the saved file and it could be corrupt
what am I doing wrong and if anyone as managed to crack this can you please tell me how thanks,
eric
User avatar
Some Strange Man
Posts: 2997
Joined: Sat, 20. Mar 04, 20:50
x3

Post by Some Strange Man »

if you edit the wrong instance, that will stop your game loading.

you need to edit the right instance in the right way.

eg.

000000D34323000000
turns to
00007FFFFFFF000000

making it too high eg
FFFFFFFFFFFF000000

will give you a negative amount of credits.
User avatar
forestdene
Posts: 41
Joined: Tue, 11. Mar 03, 19:21
x2

Post by forestdene »

I`ve had no problems using winhex editor, don`t know what you`ve tried so far, or what instructions you have used so I`ll tell you what I did:
1) Make a note of how many credits you have in the game
2) Save the game as usual (save it in poisition 1, since this is X0.sav game)
3) back up or copy this save game somewhere else, so you can reuse if the editing fails
4) Open hex editor
5) Open save game from X directory ie X0.sav
6) Use the tools or calculator to convert how many credits you had to Hex
5) Search for this hex number, for example if the hex value came out at 4BC5, search for 00004BC5, try a continue search so you know that 00004BC5 only occurs once, if it occurs more than once its a bit hit and miss which value to change, I`ve never had a repeated value yet, if is does repeat go back into your game and sell or by something to change the credits you have and go back to 1).
6)The search will highlight this figure, change this value to something like
005A4BC5, careful not to go to high otherwise your credits will go negative and this could crash the game.
7) Once you`ve changed the value, click on save in the editor, it will probably say something like "The file already exists replace?" select "yes"
8) Come out of the editor
9) Play X2, and load first game or the game that you edited.
eskeemer
Posts: 224
Joined: Fri, 30. Jan 04, 13:40
x3

hex editor

Post by eskeemer »

thanks a lot forestdene for your help it all worked out fine.
eric
Assassin#327
Posts: 2
Joined: Mon, 5. Apr 04, 08:36
x2

Post by Assassin#327 »

it worked for me once then on an unrelated thing my computer crashed a couple of days ago and i lost everything. now ive started over but when i go into the sav game and enter the values it wont find them.
User avatar
dan reid
Posts: 42
Joined: Wed, 22. Oct 03, 06:22
x2

Post by dan reid »

since I installed patch 1.3 hexedit cannot find credits value??

is somethinig I'm doing wrong...using winhex

thnx
User avatar
JustHere4Coffee
Posts: 1075
Joined: Wed, 6. Nov 02, 20:31
x2

Post by JustHere4Coffee »

it's possible that 1.3 has changed how the info's stored - the filesaves have shrunk back to a reasonable level now, so they may even be compressed

just turn on the script editor and give yourself some money/cargo/upgrades/ships/stations/respect the easy way ;)
brucebia
Posts: 671
Joined: Wed, 6. Nov 02, 20:31
x2

Post by brucebia »

The save game files in 1.3 are compressed!
User avatar
dan reid
Posts: 42
Joined: Wed, 22. Oct 03, 06:22
x2

Post by dan reid »

anyone know how to uncompress them ie: are they just renamed zip file or .tar ??

Return to “X²: The Threat - Scripts and Modding”