The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
December 11, 2024, 08:46:13 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)
| | |-+  Editing Saved Games/Cheating In Linux Version
« previous next »
Pages: [1] Print
Author Topic: Editing Saved Games/Cheating In Linux Version  (Read 4444 times)
what
Zebranky food
*
Offline Offline

Posts: 3



View Profile
Editing Saved Games/Cheating In Linux Version
« on: February 16, 2014, 09:48:33 pm »

I am running UQM direct from the repository (I did not build or compile it).   My linux skills are improving by the day,  I'm not quite at the point where I'm ready to build/compile from sources, yet.   Wink

On my PC I have various tools and resources to edit save game files and "cheat" the game for fun.  I played the game back when it was new, all those years ago... so no harm no foul.

Are there any cheat-editors/save-editors for the Linux version?   If so where do I find them?    Failing that,  where do I find the save files and how do I edit them manually using a hex-tool?

Thanks!

--BDR
Logged
oldlaptop
*Smell* controller
****
Offline Offline

Posts: 337



View Profile
Re: Editing Saved Games/Cheating In Linux Version
« Reply #1 on: February 16, 2014, 10:59:20 pm »

The save games aren't going to be any different because UQM was running on a different platform when you made them (unless old PowerPC Macs or other big-endian hardware is involved - see https://bugs.uqm.stack.nl/show_bug.cgi?id=44 ), so you could copy the savegames onto a Windows partition and edit them there if all else fails. I'm not aware of any native-Linux savegame editors, but you might be able to get jucce's editor to run under WINE.
Logged

Play Supermelee online in #uqm-arena!
Netmelee Improvement Mod
what
Zebranky food
*
Offline Offline

Posts: 3



View Profile
Re: Editing Saved Games/Cheating In Linux Version
« Reply #2 on: February 18, 2014, 11:55:18 pm »

I don't have a windows partition anymore.  Tongue
Logged
jucce
Frungy champion
**
Offline Offline

Posts: 95



View Profile
Re: Editing Saved Games/Cheating In Linux Version
« Reply #3 on: February 19, 2014, 07:14:57 pm »

Take a look at this post for offsets to different values in the save game:
http://forum.uqm.stack.nl/index.php?topic=4915.msg66300#msg66300

Using a hex editor you can go in and edit them manually quite easily.

As for where the save games are located you could do a file search for "starcon2.nn" where n is a number. And check this link:
http://wiki.uqm.stack.nl/The_Ur-Quan_Masters_Technical_FAQ#Where_are_my_settings_stored.3F

Also you can try the existing editor with Mono like I mentioned in the other thread.
« Last Edit: February 19, 2014, 07:29:26 pm by jucce » Logged
oldlaptop
*Smell* controller
****
Offline Offline

Posts: 337



View Profile
Re: Editing Saved Games/Cheating In Linux Version
« Reply #4 on: February 20, 2014, 06:26:41 pm »

As for where the save games are located you could do a file search for "starcon2.nn" where n is a number.

Under most *nix systems they'll be in ~/.uqm/save/ .
Logged

Play Supermelee online in #uqm-arena!
Netmelee Improvement Mod
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!