The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
December 06, 2024, 05:15:06 pm
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  General UQM Discussion (Moderator: Death 999)
| | |-+  Updated Jucce's UQM save editor
« previous next »
Pages: [1] Print
Author Topic: Updated Jucce's UQM save editor  (Read 5146 times)
JHGuitarFreak
Enlightened
*****
Offline Offline

Posts: 1374



View Profile WWW
Updated Jucce's UQM save editor
« on: April 21, 2019, 03:52:35 am »

Hey everybody,

I was fiddling around with the code to jucce's save editor and I decided to give it an upgrade so that it can also load saves from the top-most popular mods.
Unfortunately it still has the same limitations as before but hopefully that can change in the future.


Download: http://files.serosis.net/Misc/TheUQMSaveEditor.zip

Jucce's original thread: https://forum.uqm.stack.nl/index.php?topic=4672.0

Enjoy!

UPDATE:
There is a tiny glitch in that sometimes it doesn't load the Fuel and Crew values.
All you have to do for the time being is re load the save.
« Last Edit: April 22, 2019, 12:52:37 pm by Serosis » Logged

The artist once again known as Kohr-Ah Death 213.

Get your MegaMod HERE
CelticMinstrel
Enlightened
*****
Offline Offline

Posts: 522



View Profile
Re: Updated Jucce's UQM save editor
« Reply #1 on: April 21, 2019, 10:06:48 pm »

Just checking, but I suppose it still can't be run on a Mac, right? What language was it written in anyway?
Logged
JHGuitarFreak
Enlightened
*****
Offline Offline

Posts: 1374



View Profile WWW
Re: Updated Jucce's UQM save editor
« Reply #2 on: April 22, 2019, 12:46:10 pm »

You could throw it at Mono or WINE since it's written in C#.
Another option is a Win10 virtual machine since I had to build it in the latest .Net framework [4.8].
« Last Edit: April 22, 2019, 12:51:17 pm by Serosis » Logged

The artist once again known as Kohr-Ah Death 213.

Get your MegaMod HERE
Schizoid
Zebranky food
*
Offline Offline

Gender: Male
Posts: 35


aka SLY


View Profile WWW
Re: Updated Jucce's UQM save editor
« Reply #3 on: May 04, 2019, 09:43:30 am »

Good stuff. Thanks for this.

Unfortunately I could not add escort ships. Can anyone tell me how to do this?
Logged

JHGuitarFreak
Enlightened
*****
Offline Offline

Posts: 1374



View Profile WWW
Re: Updated Jucce's UQM save editor
« Reply #4 on: May 05, 2019, 01:22:23 am »

Good stuff. Thanks for this.

Unfortunately I could not add escort ships. Can anyone tell me how to do this?

You can't. The saves themselves won't allow it.
I will be working on that for versions of UQM that are based on the latest Git snapshots (MegaMod and macOS for the time being)
For now though I'll be releasing a redesigned version of this save editor in a bit.

________________________________________________________________________________________________________

I recently updated the save editor to a completely redesigned version inspired by Jucce's old save editor with a mix of my own SC3 save editor style:



Same link as before: http://files.serosis.net/Misc/TheUQMSaveEditor.zip
« Last Edit: May 05, 2019, 01:45:30 am by Serosis » Logged

The artist once again known as Kohr-Ah Death 213.

Get your MegaMod HERE
CelticMinstrel
Enlightened
*****
Offline Offline

Posts: 522



View Profile
Re: Updated Jucce's UQM save editor
« Reply #5 on: May 07, 2019, 03:03:18 pm »

Good stuff. Thanks for this.

Unfortunately I could not add escort ships. Can anyone tell me how to do this?

You can't. The saves themselves won't allow it.
Well that's a pretty nonsensical statement. If the saves didn't allow it, then saving the game would reset your escort ships to some default set, so there must be a way to do it…
Logged
JHGuitarFreak
Enlightened
*****
Offline Offline

Posts: 1374



View Profile WWW
Re: Updated Jucce's UQM save editor
« Reply #6 on: May 07, 2019, 10:19:38 pm »

Good stuff. Thanks for this.

Unfortunately I could not add escort ships. Can anyone tell me how to do this?

You can't. The saves themselves won't allow it.
Well that's a pretty nonsensical statement. If the saves didn't allow it, then saving the game would reset your escort ships to some default set, so there must be a way to do it…

For my level of skill it would have to be converting the load/save code from UQM to C# and using that.
I can't even pretend to understand how the save compression works for Vanilla UQM.

But to explain further on why some variables aren't editable...
Most of the variables that are "visible" to the user are mainly used for the summary screen when you're loading the game.
Changing those variables only changes what's visible on that screen but not in the save state.
Hence why a few of the fields are not editable in the save editor.

The latest Git snapshot barely does any compression so MegaMod and macOS saves are slightly more (easily) editable.
Logged

The artist once again known as Kohr-Ah Death 213.

Get your MegaMod HERE
jucce
Frungy champion
**
Offline Offline

Posts: 95



View Profile
Re: Updated Jucce's UQM save editor
« Reply #7 on: September 20, 2019, 01:44:05 am »

Nice to see that you took the initiative to update the save game editor. When it comes to editing escort ships, as mentioned the save games are compressed so although some values are easy to read (like the ships) they are hard to modify. That's why I also created the memory editor that can modify things like the escort ships and items. Modifying those things in memory is easier.
« Last Edit: September 20, 2019, 01:46:36 am by jucce » Logged
JHGuitarFreak
Enlightened
*****
Offline Offline

Posts: 1374



View Profile WWW
Re: Updated Jucce's UQM save editor
« Reply #8 on: September 20, 2019, 03:35:48 am »

If I took my time with it I could probably port over UQM's compression algo to the save editor and completely crack it open for editing.

But if I were to do that I would also port over the Load/Save code to make it more complete.

Kinda outside the scope currently, but maybe some time in the future.

UPDATE:

Jucce has given me the go-ahead to make the code public so here it is: https://github.com/Serosis/UQMEdit
« Last Edit: September 20, 2019, 03:42:14 am by Serosis » Logged

The artist once again known as Kohr-Ah Death 213.

Get your MegaMod HERE
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!