Page 1 of 2

Loading older save files

Posted: Sat Jan 24, 2015 2:29 pm
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.

RE: Loading older save files

Posted: Sat Jan 24, 2015 2:42 pm
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.

RE: Loading older save files

Posted: Sun Jan 25, 2015 7:30 pm
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.

RE: Loading older save files

Posted: Mon Jan 26, 2015 8:05 am
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.

RE: Loading older save files

Posted: Mon Jan 26, 2015 6:23 pm
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.

RE: Loading older save files

Posted: Tue Jan 27, 2015 10:17 am
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! 

RE: Loading older save files

Posted: Tue Jan 27, 2015 2:32 pm
by fluffyfreak
I meant that I didn't know why the forum had formatted the list with a gap in it ;)

RE: Loading older save files

Posted: Mon Feb 02, 2015 1:45 pm
by impaktor
Here are some useful commands for restoring lost saves:http://pioneerwiki.com/wiki/Lua_Console[/url]

RE: Loading older save files

Posted: Mon Feb 02, 2015 2:10 pm
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 ;)

RE: Loading older save files

Posted: Tue Feb 03, 2015 12:47 pm
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.

RE: Loading older save files

Posted: Wed Feb 04, 2015 5:23 pm
by DraQ
Oh, and by the way, does anyone have a working solution for building Pioneer in C::B under Windows?

RE: Loading older save files

Posted: Thu Feb 05, 2015 4:53 am
by fluffyfreak
No it's been unmaintained since Luomu left to pastures new.

RE: Loading older save files

Posted: Thu Feb 05, 2015 5:09 am
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.

RE: Loading older save files

Posted: Thu Feb 05, 2015 10:46 am
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*.

RE: Loading older save files

Posted: Thu Feb 05, 2015 11:37 am
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.

RE: Loading older save files

Posted: Thu Feb 05, 2015 1:21 pm
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. 

RE: Loading older save files

Posted: Sat Feb 07, 2015 4:47 pm
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?

RE: Loading older save files

Posted: Sat Feb 07, 2015 5:16 pm
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.

RE: Loading older save files

Posted: Sat Feb 07, 2015 5:19 pm
by fluffyfreak
There, if you grab the latest "pioneer-thirdparty" it should work.

RE: Loading older save files

Posted: Sat Feb 07, 2015 6:27 pm
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.