save file problems

News and discussion of the PC port of Oolite.

Moderators: winston, another_commander

mr mag00
Average
Average
Posts: 8
Joined: Tue Sep 21, 2010 6:20 pm

save file problems

Post by mr mag00 »

evening all, been playing for about a week and brings back memories of childhood.

anyway hello all.

I was playing this evening when i docked for some reason i had no cash? so i went to reload my saved game and the game wouldnt recognise it so i opned it in notepad to see if all the text was there, not that i would know if it wasnt, but it all seemed intact.

Reloaded the game and I cannot find the file when looking to reload a previous game. i have moved the file to a number of places, including the saved game folder, but the game will not find it. what have i done ?

cheers
User avatar
Darkbee
---- E L I T E ----
---- E L I T E ----
Posts: 335
Joined: Mon Aug 09, 2004 8:40 pm
Location: Space... man!
Contact:

Post by Darkbee »

Did you happen to save the file when you opened it in Notepad? That will undoubtedly anger the ancient serpentine gods of Ra.

Oolite's files have a different end of line character than a standard Windows text file. So if you let Windows jig around with those files (i.e. using Notepad et al) then Oolite will get confused as to the format of the files.

It's recommended you use something like Notepad++ or Greenpad that supports multiple types of end of line characters to view files.

Other than that I don't know why your original problem occur, I haven't seen that issue before.
Darkbee
Oolite: A grOovy Kind of Love
Image
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

Hi, mr mag00, and first of all welcome to the boards, and of course to this great game! :D

Could you provide some more information? Which version of Oolite are you running, and on which system? That would certainly help us to identify the source of your problem.
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

Using notepad++ you should be able to resurrect your dead save file:
Edit>EOL Conversion>Unix Format should do the trick.
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

The first guess (at least if it's WinXP) would be notepad has appended a .txt to the end of the save game (so it's now filename.oolite-save.txt rather than filename.oolite-save). If you have known extensions hidden then of course you won't see it.

That would be the first thing to check. You can see if extensions are hidden by opening a windows explorer (not IE) window and selecting tools --> folder options and then the view tab. Hide extensions for known file types is about half-way down the scrolling list (at the bottom of the list when the scroll bars are all the way up).

No idea regarding cash, as others have said that's a new one. And also the advice about not using notepad is good, it can add strange things to files which oolite chokes on.
mr mag00
Average
Average
Posts: 8
Joined: Tue Sep 21, 2010 6:20 pm

Post by mr mag00 »

running on xp this is the file name, i did automayically save in notepad yup.

Jameson (autosave).oolite-save

the version i am runnign is Oolite-1.74.2-test.exe
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Post by JazHaz »

mr mag00 wrote:
i did automayically save in notepad yup.
Stop using Notepad. As discussed above the standard Windows Notepad screws up your Oolite save files.

I use Notepad++ which is an open source (free!) editor. Get it from here.
JazHaz

Gimi wrote:
drew wrote:
£4,500 though! :shock: <Faints>
Cheers,
Drew.
Maybe you could start a Kickstarter Campaign to found your £4500 pledge. 8)
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!
mr mag00
Average
Average
Posts: 8
Joined: Tue Sep 21, 2010 6:20 pm

Post by mr mag00 »

yup now have notepad++
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Post by JazHaz »

mr mag00 wrote:
yup now have notepad++
Good. Now as Kaks said, do this:
Kaks wrote:
Using notepad++ you should be able to resurrect your dead save file:
Edit>EOL Conversion>Unix Format should do the trick.
JazHaz

Gimi wrote:
drew wrote:
£4,500 though! :shock: <Faints>
Cheers,
Drew.
Maybe you could start a Kickstarter Campaign to found your £4500 pledge. 8)
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!
mr mag00
Average
Average
Posts: 8
Joined: Tue Sep 21, 2010 6:20 pm

Post by mr mag00 »

have also updated my version of the game. cheers
mr mag00
Average
Average
Posts: 8
Joined: Tue Sep 21, 2010 6:20 pm

Post by mr mag00 »

unix format is greyed out and therefore not available. looking at it again it seems to be unix already
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6681
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Maybe you can post your savefile on pastebin.com? We may be able to figure out what's wrong with it.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

Do you have hidden extensions for known filenames set (see my post above)? If so then you may have a hidden .txt after the .oolite-save which will make the file invisible to the game.
mr mag00
Average
Average
Posts: 8
Joined: Tue Sep 21, 2010 6:20 pm

Post by mr mag00 »

hey Thargoid yh i have the hidden extensions unselected, that is right yes?
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Post by JazHaz »

mr mag00 wrote:
hey Thargoid yh i have the hidden extensions unselected, that is right yes?
Yes.
Post Reply