oolite save file does appear after editing in notepad

General discussion for players of Oolite.

Moderators: winston, another_commander

User avatar
wildfire
Harmless
Harmless
Posts: 1
Joined: Sat Oct 02, 2010 5:47 pm
Location: Windsor
Contact:

oolite save file does appear after editing in notepad

Post by wildfire »

I have opened an oolite save file in notepad, changed a numerical value and saved it but it won't appear in the program to load it. what do i need to save it as to make it appear in the load menu?
Regards, Wildfire
User avatar
CheeseRedux
---- E L I T E ----
---- E L I T E ----
Posts: 827
Joined: Fri Oct 02, 2009 6:50 pm

Post by CheeseRedux »

All save files (at least on my XP system) are on the form Commandername.oolite-save (and are located in C:\Oolite\oolite.app\oolite-saves).

Also note that Notepad is prone to do horrible things to savefiles, and can render them almost beyond repair. It is highly recommended that you either use WordPad or download the excellent (and free!) Notepad++.
"Actually this is a common misconception... I do *not* in fact have a lot of time on my hands at all! I just have a very very very very bad sense of priorities."
--Dean C Engelhardt
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 »

Welcome to the forum! :)
Hopefully you still have the original save file.

Had you edited it with just about any other editor - including wordpad - you wouldn't have had any problems at all.

Do search this forum for both notepad & evil for the full explanation! :)


PS: I use the free notepad++ for any text editing, it's a great little program!

@CR: snap!
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: oolite save file does appear after editing in notepad

Post by Smivs »

Hi Wildfire, and welcome.
wildfire wrote:
I have opened an oolite save file in notepad, changed a numerical value and saved it but it won't appear in the program to load it. what do i need to save it as to make it appear in the load menu?
What the other guys said...DON'T use Notepad. It adds spurious end-of-line characters that trash your save files. It's an abomination and should be sent back to Hell :lol:
As you've probably realised you can 'enhance' all sorts of aspects of the game this way...you can become 'Elite' and an overnight Millionaire with just a couple of taps on the keyboard :wink: if you're that way inclined.
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2481
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Post by Griff »

Hopefully Notepad might have just appended .txt to the end of the filename, eg it's renamed your save to something like Jameson.oolite-save.txt just rename the file to remove the .txt then you should be able to see the savegame in Oolite
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, wildfire, and first of all welcome to the boards, and of course to this great game! :D

Like the other guys said, don't use Notepad anymore for anything Oolite-related. But it is certainly worthwhile to follow Griff's advice and examine the savefile for an added ".txt" behind its name. That Oolite can't find the savefile at all seems to indicate that something is wrong with its name. Deleting a closing ".txt" will make Oolite recognize it again.
User avatar
SiriusCG
Dangerous
Dangerous
Posts: 73
Joined: Sat Mar 27, 2010 12:59 am

Post by SiriusCG »

Notepad++ http://notepad-plus-plus.org/

Excellent, free and a no-brainer to install and use. Started using it several years ago and never went back to Notepad or Word on my MS machine ...

Cheers.
Captain Baz
Average
Average
Posts: 11
Joined: Wed Nov 24, 2010 10:02 am
Location: Somerset UK

Post by Captain Baz »

I have been known to do web coding work with Notepad++, it's very good.
User avatar
Rxke
Retired Assassin
Retired Assassin
Posts: 1759
Joined: Thu Aug 12, 2004 4:54 pm
Location: Belgium

Post by Rxke »

A bit offtopic: couldn't we insert a beginning comment in all savefiles saying: WARNING: if you opened this file in notepad, DO NOT SAVE IT! Use notepad++ instead

Just a thought.... This problem seems to be a regularly recurring one.
User avatar
Fatleaf
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 1988
Joined: Tue Jun 08, 2010 5:11 am
Location: In analysis mode on Phaelon
Contact:

Post by Fatleaf »

I have just noticed that even though you have received a welcome you have not yet received the proper greeting... :shock:

Hi and Welcome to the Friendliest Forum this side of Riedquat :D
Zireael
---- E L I T E ----
---- E L I T E ----
Posts: 1396
Joined: Tue Nov 09, 2010 1:44 pm

Re:

Post by Zireael »

Rxke wrote:
A bit offtopic: couldn't we insert a beginning comment in all savefiles saying: WARNING: if you opened this file in notepad, DO NOT SAVE IT! Use notepad++ instead

Just a thought.... This problem seems to be a regularly recurring one.
Brilliant idea.
Switeck
---- E L I T E ----
---- E L I T E ----
Posts: 2411
Joined: Mon May 31, 2010 11:11 pm

Re: Re:

Post by Switeck »

Zireael wrote:
Rxke wrote:
A bit offtopic: couldn't we insert a beginning comment in all savefiles saying: WARNING: if you opened this file in notepad, DO NOT SAVE IT! Use notepad++ instead

Just a thought.... This problem seems to be a regularly recurring one.
Brilliant idea.
I'm only in favor of this if you can disable that in Oolite's settings. :lol:
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Re: oolite save file does appear after editing in notepad

Post by DaddyHoggy »

Could Oolite be altered to save the users current pilot and an identical (hidden from the game because of filename extension) backup - that way if somebody hacks their file in notepad (because they don't know any better), they can delete it and restore from the last duplicate backup by changing the file extension to the correct one oolite is looking for?
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
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

Re: oolite save file does appear after editing in notepad

Post by Kaks »

Or we could make the save files read only.


However, if anyone really, really wants to play around with a save file they'd likely see any precaution we'd put in place only as a bit of a challenge/misdirection, and easily undo anything we do.
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: oolite save file does appear after editing in notepad

Post by JensAyton »

I assumed DH meant to restore in case of brokenness.

But frankly, if you break your saved game without making a backup, that’s your problem. Protecting against crashes caused by bad data is our problem. Protecting against self-inflicted data loss is not.
Post Reply