Page 1 of 1

Reload games after commander dies

Posted: Tue Aug 18, 2009 11:07 pm
by JoeCooper
Hi,

Ive been playing critical mass ever since i bought it on a floppy disk back in the day.

Its really anoying with this feature that deletes your save game once you die and you have to start again. i would like to know the methods of getting around this, since i like playing games to progress and not to start over on some fluke deaths with stray missiles hitting my eject pod or other.

I plan to create a small application that allows people to easily save their games, anyone who can help will get a copy with their name in the credits.

i understand some people consider this cheating, so i will limit the programs function to only 5 saves in each game.

Posted: Tue Aug 18, 2009 11:45 pm
by JoeCooper
Using procmon, i can see that every time you create a new commander or one dies, a random number is set to a reg key. and at the same time some small amounts of details are being saved to rollofhonor.dat.

i assume these are both the same info. this would stop you replacing the rollofhonor file with a previous version. so i have tried resetting the registry key to the previous random number aswell as replacing the file with the previous, but no joy.

Im thinking that it also saves the time/date created info to the file aswell. if the dates of created and the date in the file dont match, then dont load.

alot of things to try. so any one with any ideas?

Posted: Wed Aug 19, 2009 5:44 pm
by Fusion_power
grief. It took me less than 10 minutes to figure it out. Use your head. The roll of honor file MUST match the reg key. how can you make that happen?

Just as an FYI, I don't bother 'saving' files except when I want to transfer them from one computer to another.


Here is some more trivia. The designs.dat file stores the definitions of ships. If a person is an aggressive ship designer, they will often add or delete ships in the middle of a game. Since a new ship design could be part of a mission where the commander is killed, you must make a point of synchronizing the designs.dat file with the mission files. Otherwise, at some point a ship will be deleted from designs.dat and your 'saved' mission will need it to run.

Look at the mission commander file which is <commandername>.gam and look at the options.dat file.

DarJones

Posted: Thu Aug 20, 2009 7:11 pm
by JoeCooper
well i tried matching the file with the reg key, but that didnt work. i was thinking that it checks the files dates or somthing.

care to explain further? or are you like the others who dont actually know either?

Posted: Thu Aug 20, 2009 8:50 pm
by Fusion_power
Joe, Try this. Start CM. Click the Help and About menu items. Look at the credits. Look carefully at the names in the credit list. Alternatively, click the help and instructions menu items, scroll to the bottom and click the Credits link.

I was one of the beta testers for the current version of CM. I searched for ways to cheat and Sean plugged the holes until it works the way it does now. Even so, it is about like the locks on your car door. They keep honest people out but anyone can still break the window.

Darrel Jones
aka DarJones
aka Fusion_power

Posted: Sat Aug 22, 2009 7:55 pm
by JoeCooper
but you still dont want to share this? my intentions are honest. i wish to create a small "addon" to allow people to use this method 3 times per commander. as i believe it is better this way.

send PM if you like, but the info you give here doesnt get me anywhere. i could probally spend hours on this but i dout i would get very far.

i have however created a trainer for this to allow unlimited credits and such stuff that can be modified using memory tools, but i dont really want people to ruin the game with them

Posted: Sun Aug 23, 2009 4:09 am
by Fusion_power
You are trying to modify only one file. When a commander dies, three files can be modified depending on the exact situation at the time of death. Options.dat, <commander>.gam, and Rollofhonor.dat. If you will look at the interactions, you will quickly see how to match them to the reg key.

Keep in mind that you also have to track the designs.dat file because someone can delete a ship in the middle of a game.

The simplest fix is to copy all three files plus designs.dat before you start the game and grab the reg key at the same time. then you can restore the game files at the same time you set the reg key back to the saved value.

I hope this is plain enough because I won't be giving any more info.

DarJones

Posted: Tue Aug 25, 2009 3:29 pm
by JoeCooper
Alright that worked. i understand now, just it was a bit confusing the way you were explaining it.

I'll create an app now which will allow people to reload dead commanders.

Posted: Wed Sep 02, 2009 12:46 am
by Conzul
I would like to see a program that awards you lives based on your performance, not some arbitrary 5 lives per-commander. How about.....3 Gold Metals = One (1) Extra life?

Saving in CM is better

Posted: Wed Sep 02, 2009 9:29 pm
by Fracker
I have NOT been a fan of the death realism for CM. I can see Sean's points of view to a certain degree but it has often left me frustrated and abandoning CM to play Conquest. Of course I love CM so after a few months I return to play for a few days until I make a mistake or get an unlucky shot up the tailpipe.

Recently I took a single daycorn up the butt that took out 4 command centres and was 4 kills away from a high score and 10 credits away from a new ship design I've waiting to play for weeks. That motivated me to created a BAT file to save my games/designs and I must say I have been playing CM constantly ever sense. There are scenarios your get into that make the game rock. I can play around with high cost ship designs, suicide runs, whatever floats your boat.

To all of you out there who have been clever enough, or in my case stubborn enough, to figure it out you must admit that a salvageable commander makes CM more enjoyable. While I have no qualms about using my BAT file I have too much respect for the Sean and his band of bothers to post it. I leave for them to do some soul searching and to think that maybe.....,just maybe that the majority of players out there want the same too.

I have to run now....I have a 1400 credit mission to play and a brute of a ship to try it out on.

Posted: Thu Sep 03, 2009 12:59 am
by Legacy
I actually find it much more enjoyable the way it is, with death being as real as it can get outside of my computer exploding when my ship does.

I'd just like to see the corner-shot glitch dealt with...

Posted: Thu Sep 03, 2009 5:53 pm
by TheKangaroo
I agree that the way it is has something to it, but I also see the other point. Fracker, you say that the current way was actually missing what the majority of players wanted, and to that I have to say that while the point keeps coming up once in a while in a lot of threads featuring further discussion this majority didn't seem too major to me. I know that this reading is not final for several reasons: for example I for one might be biased and my memory isn't too well anyway, secondly these discussion usually go back and forth between people regularly visiting the forums which in no way claims to be a representative cut of the player base. Still this cut is - I guess - the main feedback Sean gets as it's hard to please the silent masses. Acknowledging that I'll say: welcome to the forums and thanks for making your opinion read.