Save game error

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
Kneusje
Engineer
Engineer
Posts: 7
Joined: 20 Jun 2008 08:35

Save game error

Post by Kneusje »

Hey guys, upon downloading 0.6.1, I found myself unable to save games. Or well, that's only partially true: it seems that whenever I load a game, and then try to save it again my OTTD messes up. It gives me a pop-up error saying "Game Load Failed. File not writeable" and it also opens up a screen which looks exactly similar to the "cmd" thingy in windows. Anyone else has this? The previous versions worked fine over here so should I just wait for 0.6.2 to come out? I tried reinstalling but that's about all I could come up with :(
Draakon
Director
Director
Posts: 542
Joined: 11 Mar 2007 16:50

Re: Save game error

Post by Draakon »

What savegames are you trying to load? On what version they were made?
Kneusje
Engineer
Engineer
Posts: 7
Joined: 20 Jun 2008 08:35

Re: Save game error

Post by Kneusje »

Well at first I just started a new game, so 0.6.1 in any case. Furthermore I think most of the others are from version 0.5.3
User avatar
CMircea
Chairman
Chairman
Posts: 887
Joined: 29 Dec 2006 14:05

Re: Save game error

Post by CMircea »

Just tell me two things. Are you on Vista? And if you are, is OTTD in a protected area (like nearly the whole C: drive)?
Kneusje
Engineer
Engineer
Posts: 7
Joined: 20 Jun 2008 08:35

Re: Save game error

Post by Kneusje »

Yes, and yes.
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Re: Save game error

Post by Rubidium »

Is your openttd.cfg in the directory where OpenTTD is installed? If so, then OpenTTD is trying to save the games at a location where Windows forbids it to save. You should place openttd.cfg in a subdirectory called OpenTTD in your "my documents" directory and it should work.
Kneusje
Engineer
Engineer
Posts: 7
Joined: 20 Jun 2008 08:35

Re: Save game error

Post by Kneusje »

^Tried it, didn't work. Running as an administrator didn't really have the desired effect either.
Kneusje
Engineer
Engineer
Posts: 7
Joined: 20 Jun 2008 08:35

Re: Save game error

Post by Kneusje »

Well guys good news with thanks to Rub I fixed it: If I manually save my game in C:/Users/*NAME*/Documents/OpenTTD/Save everything works just fine (autosave's still a bugger). Thanks!
User avatar
glx
OpenTTD Developer
OpenTTD Developer
Posts: 623
Joined: 02 Dec 2005 15:43
Location: Drancy(93) - France
Contact:

Re: Save game error

Post by glx »

You may need to remove the save directory from openttd install dir.
User avatar
Rainer
Traffic Manager
Traffic Manager
Posts: 240
Joined: 14 Nov 2007 10:01
Location: Wiesbaden, Germany

Re: Save game error

Post by Rainer »

Hi,

perhaps there should be a version check in the windows version of openttd

if "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion".CurrentVersion > "5"
// this is Vista or above
then never use the program directory for any new files (save, config, screenshots).

cu
Rainer
User avatar
CMircea
Chairman
Chairman
Posts: 887
Joined: 29 Dec 2006 14:05

Re: Save game error

Post by CMircea »

I'd then remove the code and release a patch...if I put OTTD in a non-protected area or run it with admin permissions I want to save where it is...I think there's a way to request elevation when saving (to a protected area), but I'm not sure how.
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 2 guests