The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => General UQM Discussion => Topic started by: Guss7777 on February 15, 2006, 12:12:00 pm



Title: Save Game Editor
Post by: Guss7777 on February 15, 2006, 12:12:00 pm
For everyone who wanted the "Save Game Editor", here it is:

http://www.uploading.com/?get=Q3U98YOH (http://www.uploading.com/?get=Q3U98YOH)

Enjoy!  ;)

PS - Hope the link works!


Title: Re: Save Game Editor
Post by: HaJo on February 26, 2006, 07:16:04 pm
After entering the number and clicking on the "Start download"-Button,
I get an error "Invalid file code"

-HaJo


Title: Re: Save Game Editor
Post by: Kohr-Ah Death on February 27, 2006, 04:41:54 pm
people need to pay more attention to my sig, you can find the saved game editor at my site @ http://dickweed.0nyx.com/downloads.htm


Title: Re: Save Game Editor
Post by: HaJo on February 28, 2006, 03:55:34 am
Quote
the "Save Game Editor", here it is: http://www.uploading.com/?get=Q3U98YOH
you can find the saved game editor at my site @http://dickweed.0nyx.com/downloads.htm

There is really only one same saved game editor ?

-HaJo


Title: Re: Save Game Editor
Post by: Kohr-Ah Death on March 01, 2006, 10:51:03 pm
yes there is only 1, i've had this one since 0.3.0, it's amazing that the saves haven't changed throughout the releases.


Title: Re: Save Game Editor
Post by: Christopher on March 09, 2006, 06:01:29 pm
Will there be a version of the save game editor for the OS X release any time soon?


Title: Re: Save Game Editor
Post by: Kohr-Ah Death on March 10, 2006, 05:03:51 am
Will there be a version of the save game editor for the OS X release any time soon?

probably not, unless someone makes one.

it shouldn't be that hard at all
the only problem for me is that i don't have a Mac and i never will.  ;)


Title: Re: Save Game Editor
Post by: Blair on March 22, 2006, 12:38:48 am
I've been editing my saved games by transferring the files over to a Windows share, then back to my Mac... however, all of my edited saved games crash UQM. :( I've even tried making the edits reasonable (20 crew, 20 fuel, 1000 RU) and it still shwos as 1404839930 RU and 36830 fuel and 24090 crew... and the game freezes when i load them. Makes me sad.


Title: Re: Save Game Editor
Post by: Kohr-Ah Death on March 22, 2006, 03:25:18 am
I've been editing my saved games by transferring the files over to a Windows share, then back to my Mac... however, all of my edited saved games crash UQM. :( I've even tried making the edits reasonable (20 crew, 20 fuel, 1000 RU) and it still shwos as 1404839930 RU and 36830 fuel and 24090 crew... and the game freezes when i load them. Makes me sad.

use a native hex editor for MAC, and make sure you are using hex code or it won't work properly, don't put in the amount you want in bytes or you will get a save game corruption...

you need a base converter to convert bytes to hex so you can change the values without corruption.


Title: Re: Save Game Editor
Post by: Novus on March 22, 2006, 08:57:58 am
I've been editing my saved games by transferring the files over to a Windows share, then back to my Mac... however, all of my edited saved games crash UQM. :( I've even tried making the edits reasonable (20 crew, 20 fuel, 1000 RU) and it still shwos as 1404839930 RU and 36830 fuel and 24090 crew... and the game freezes when i load them. Makes me sad.
Windows and PowerPC Mac save games are incompatible, so the save game editor probably won't work on your Mac saves.


Title: Re: Save Game Editor
Post by: Kohr-Ah Death on March 23, 2006, 04:51:57 am
oh i thought he was using a hex editor for windows to edit his mac saves  :P

actually could someone send me a mac save at the very beginning of the game (the exact spot when you just start a new game), i can make my own windows save  ;D

i wanna find out the differences between the 2


Title: Re: Save Game Editor
Post by: borg on April 08, 2006, 02:19:43 am
Im writing one for mac, but its my first time with Cocoa and Objective-C, so it will take me a little while to work everything out. Here is what works so far:

Money, date/time, crew, fuel, minerals, landers.

The only limits are in the file offsets. If someone has a good list of them, i would be happy to make a comprehensive editor.   
I won't release this until i get all the kinks worked out.  For now its loading saved games i point to it, and not the whole folder. I plan on having it load the entire folder from ~/.uqm/save and let you change any or all of them, and duplicate them i guess for backup.

Send me offsets in the files and i can get this done pretty soon.  Good way to learn to use Xcode!



Title: Re: Save Game Editor
Post by: meep-eep on April 09, 2006, 02:08:03 am
The savegame starts with a SUMMARY_DESC structure, described in src/sc2code/sis.h. The data after that is compressed. Look at save.c if you want to know more about that. This is a horrible part of the source code though, and will be replaced eventually.