replay 'Cloking Device' mission - can't load an edited save file

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
Taka
Above Average
Above Average
Posts: 17
Joined: Wed Jul 17, 2019 1:09 pm

replay 'Cloking Device' mission - can't load an edited save file

Post by Taka »

Hello All.

I remember the cloaking device from my C64-days; and I want to try in here in Oolite.

The challenge is that my save game says that the mission is already complete.
I guess I didn't pick it up after I knowingly killed the Asps.

I used Wordpad to edit my save file (remove the string referring to the cloaking device, as suggested in various other threads)... but now the file doesn't appear in the directory when loading a saved game.

Is there some kind of checksum that prevents editing save files?

Thanks for any help or feedback.
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4830
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: replay 'Cloking Device' mission - can't load an edited save file

Post by phkb »

Taka wrote: Wed Aug 14, 2019 7:04 am
but now the file doesn't appear in the directory when loading a saved game
That sounds like you might have cut out a bit too much when editing the save game. If the file isn't appearing, it's because the game can't read the data successfully - you could try checking the latest.log file as it might have some info in it relating to the issue.

In any case, editing a save game should be a last-resort kind of thing. You did take a backup before you started, right? It would be simpler to run a small script to respawn the Asp. Something like this:

(call the file "script.js", and put it in the "AddOns/Config" folder)

Code: Select all

this.shipExitedWitchspace = function() {
    system.addShips("asp-cloaked", 1);
}
If that script works, you should get the Asp whenever you arrive in a new system. Obviously, delete the script once you've got the device, otherwise you'll get the Asp at every location you arrive in.
Taka
Above Average
Above Average
Posts: 17
Joined: Wed Jul 17, 2019 1:09 pm

Re: replay 'Cloking Device' mission - can't load an edited save file

Post by Taka »

phkb:
Much appreciated. :) Thank you. I will try that.
(Yes, I made a backup beforehand.)
Post Reply