Loading older save files

Pioneer is an open-ended space adventure game. Explore the galaxy, make your fortune trading between systems, or work for the various factions fighting for power, freedom or self-determination.
Homepage: http://pioneerspacesim.net/
IRC: http://pioneerspacesim.net/irc
Downloads: https://pioneerspacesim.net/page/download/
Biscuits
Private
Posts: 84
Joined: Mon May 14, 2012 6:00 am

Loading older save files

Post by Biscuits »

Hiya, I did search but could not find if anyone had any issues with loading older saves. I know the money cheatie is now gone and wanted to load my save from only the last version (before the new stations were added). it seems to fail and crash however. best wishes, Mike.
fluffyfreak
Private
Posts: 1292
Joined: Sun Nov 27, 2016 12:55 pm

RE: Loading older save files

Post by fluffyfreak »

The old money cheat is gone but you can just bring up the console and enter: import("Game").player:SetMoney(9999999)import("Game").player:SetShipType("varada")There is an ongoing effort to give us save games that don't get broken but it's not currently possible to load an old save game.
Biscuits
Private
Posts: 84
Joined: Mon May 14, 2012 6:00 am

RE: Loading older save files

Post by Biscuits »

Geepers. OK thank-you FF. So, maybe a Mark Walberg of a question but like, where do I find the console? and can I enter the amount of money I have currently instead of all the 9's? Mike.
fluffyfreak
Private
Posts: 1292
Joined: Sun Nov 27, 2016 12:55 pm

RE: Loading older save files

Post by fluffyfreak »

Yes you can enter different amounts for the money and you can change the ship name too :) I just used those as examples.I "think" that the ship names you can used are:denebdsminerkanaraac33amphiesmakanara_civlunarshuttlemalabarmolamolanatrixnerodiapumpkinseedsinonatrixstoreriavaradavatakaraventurestarwavexylophis I don't know why it's formatted them like that! Odd. You can bring down/up the console with the key to the left of the number 1 on the top row... on many machines it's "~" but on mine it's "`"! Once you've got what you want you can always reduce the amount of money you have back to what you remember it being so get a ship, give yourself loads of money, purchase everything that you used to have, then reduce the money again. Save and keep playing. Hopefully we will one day have a complete JSON based save system and this won't be necessary.
DraQ
Private
Posts: 60
Joined: Fri Oct 04, 2013 5:08 pm

RE: Loading older save files

Post by DraQ »

I'm trying to "lobby" (heh) for a fallback system that would be triggered when encountering incompatible save data (for example because the system generation changed) but this will need the JSON or TLV based saves to work.
Potsmoke66
Private
Posts: 1815
Joined: Sun Nov 27, 2016 2:43 pm

RE: Loading older save files

Post by Potsmoke66 »

 I don't know why it's formatted them like that! Odd. it reflects the script names in folder "ships".ships are called by this and it also makes some sense.i.e. for "Sputnik" (which is unfortunately lost) i used "defaultship" instead of the given "deneb" (i guess this replaces the ladybird or eagle, i'm not sure)also "policeship" instead of ex-ladybird for the police vessel finally this allows to have a "defaultship.lua" and a "policeship.lua", while the content in the script won't matter,means it could be any ship listed in "defaultship.lua" and "policeship.lua". i guess i wouldn't change that behave, imho there are already to much fixed and unflexible things in pioneer, but it's only my opinion. this has allowed me to strip down "Sputnik" to only two ships which will be necessary to start itand the name isn't given in case one would like to have a different "default" or "police" ship,for whatever sort of total MOD. right?right! 
fluffyfreak
Private
Posts: 1292
Joined: Sun Nov 27, 2016 12:55 pm

RE: Loading older save files

Post by fluffyfreak »

I meant that I didn't know why the forum had formatted the list with a gap in it ;)
User avatar
impaktor
Private
Posts: 188
Joined: Sun Nov 27, 2016 3:50 pm

RE: Loading older save files

Post by impaktor »

Here are some useful commands for restoring lost saves:http://pioneerwiki.com/wiki/Lua_Console[/url]
fluffyfreak
Private
Posts: 1292
Joined: Sun Nov 27, 2016 12:55 pm

RE: Loading older save files

Post by fluffyfreak »

I'm trying to "lobby" (heh) for a fallback system that would be triggered when encountering incompatible save data (for example because the system generation changed) but this will need the JSON or TLV based saves to work. Don't lobby for others to do, we've all got a huge amount to do, if you want something then do it. Otherwise it's just a case of if someone else ever gets interested enough to do it. We do this for fun y'know ;)
DraQ
Private
Posts: 60
Joined: Fri Oct 04, 2013 5:08 pm

RE: Loading older save files

Post by DraQ »

Don't lobby for others to do, we've all got a huge amount to do, if you want something then do it. Otherwise it's just a case of if someone else ever gets interested enough to do it. We do this for fun y'know ;)Yeah, I guess I need to get back to Pioneer, set up the project to work in C::B and do a bunch of things I've been posting about.
DraQ
Private
Posts: 60
Joined: Fri Oct 04, 2013 5:08 pm

RE: Loading older save files

Post by DraQ »

Oh, and by the way, does anyone have a working solution for building Pioneer in C::B under Windows?
fluffyfreak
Private
Posts: 1292
Joined: Sun Nov 27, 2016 12:55 pm

RE: Loading older save files

Post by fluffyfreak »

No it's been unmaintained since Luomu left to pastures new.
fluffyfreak
Private
Posts: 1292
Joined: Sun Nov 27, 2016 12:55 pm

RE: Loading older save files

Post by fluffyfreak »

@DraQ, honestly if you're building on Windows just install Visual[/url] Studio 2013 Community edition so you have a working version to test against.Then if you want to get C::B working again you can contrast and compare the two until it works.Then uninstall vs2013 again if you want.
DraQ
Private
Posts: 60
Joined: Fri Oct 04, 2013 5:08 pm

RE: Loading older save files

Post by DraQ »

@DraQ, honestly if you're building on Windows just install Visual[/url] Studio 2013 Community edition so you have a working version to test against.Then if you want to get C::B working again you can contrast and compare the two until it works.Then uninstall vs2013 again if you want.My main problem with VS is that it's a trialware.I did build what little code I wrote for Pioneer using VS, but I'd prefer something that works and *keeps working*.
fluffyfreak
Private
Posts: 1292
Joined: Sun Nov 27, 2016 12:55 pm

RE: Loading older save files

Post by fluffyfreak »

It's not trialware anymore, the edition I linked too is permanent and free :)The express edition was similar but was a cut down version, free to use forever but with only 32-bit support.Last year MS decided that was a bad idea so the Community edition is just... free, for small groups upto 5 users and is the full VS2013 edition with 64-bit support etc.
DraQ
Private
Posts: 60
Joined: Fri Oct 04, 2013 5:08 pm

RE: Loading older save files

Post by DraQ »

It's not trialware anymore, the edition I linked too is permanent and free :)The express edition was similar but was a cut down version, free to use forever but with only 32-bit support.Last year MS decided that was a bad idea so the Community edition is just... free, for small groups upto 5 users and is the full VS2013 edition with 64-bit support etc.Woo!I'll still probably use another IDE for actual work, but it beats having to run VM with Linux or dual booting just to build Pioneer and I'm still not ready to move fully to Linux. 
DraQ
Private
Posts: 60
Joined: Fri Oct 04, 2013 5:08 pm

RE: Loading older save files

Post by DraQ »

@fluffyfreakAlmost there, getting "The ordinal 4445 could not be located in the dynamic library LIBEAY32.dll" error when trying to run. :( Also, why the hell do we suddenly *need* OpenSSL?
fluffyfreak
Private
Posts: 1292
Joined: Sun Nov 27, 2016 12:55 pm

RE: Loading older save files

Post by fluffyfreak »

You have pioneer-thirdparty? Ah, I may have missed a dll out of it.The openssl stuff is for the web-server stuff that robn is working on. Best to ask him on IRC.I just added the libs that seemed necessary, I guess you have an older libeay32.dll on your system somewhere that its finding.
fluffyfreak
Private
Posts: 1292
Joined: Sun Nov 27, 2016 12:55 pm

RE: Loading older save files

Post by fluffyfreak »

There, if you grab the latest "pioneer-thirdparty" it should work.
DraQ
Private
Posts: 60
Joined: Fri Oct 04, 2013 5:08 pm

RE: Loading older save files

Post by DraQ »

The openssl stuff is for the web-server stuff that robn is working on. Best to ask him on IRC.Wouldn't it be best to keep stuff that's not absolutely critical for Pioneer's functioning optional (for example using ifdefs)? I don't think we're ever going to need fully integrated networking in Pioneer as the need for time compression is going to keep it a single player game.
Post Reply

Return to “Pioneer”