Is it possible to edit a saved game?

Is there an editor for save games? I actually just want to change some minor things that I forgot to do when making my custom race; like change my leaders name and the race description.
7,312 views 6 replies
Reply #1 Top
I don't know, and its probably not likely you can do that. One of the expert modders around here would be able to ask this better than I can.
Reply #2 Top
if you know your coding then anything is possible on a pc.
Reply #3 Top
There's no tool that I know of, and opening the file in Notepad doesn't yield anything usable either. You might try opening it in a hex editor, but there's no guarantee.
Reply #4 Top
I have edited a savegame. You can change everything easily besides actual ship configs and numbers, positions and such. Thatd be hard .

For example, open up the savegame in your editor and look for al arge block of FF's. 16 bytes above those you should see 8813 or some such set of 2 bytes, thats a 2nd money value. 6 bytes before that value should be the first one. Try changing those to FF FF or something and see what happens. Should get 65k~ credits (the size of FF).

I cannot recall the exact byte distances.

Race descriptions and such should be in plain text in the file. But I am not sure.
Reply #5 Top
Yes, you can edit saved games in any hex editor. Of course, it takes some trial and error to figure out where certain values are, and the offsets vary with every save, even if nothing has changed/moved inside the game itself, e.g. save the game then without moving any ships or changing any planets, save the game again; the save files will be different, even different lengths by many bytes.

I have managed to figure out values for money; colony population; planet quality; planet tiles: terrain, bonus type, bonus percentages, improvements; racial bonus percentages; and a few other miscellaneous things. Still haven't had any success placing or moving objects on the map.
Reply #6 Top
I don't suppose anyone has made any notes about the various values that have been figured out yet? It'd be handy to not have to reinvent the wheel.