settings are not stored
Moderator: OpenTTD Developers
-
- Engineer
- Posts: 7
- Joined: 31 Mar 2008 18:20
- Location: Norway
- Contact:
settings are not stored
hi,
when I start the game I can choose my preferred currency and what side of the road the cars drive on and whatever - but when I restart the game, it doesn't remember my settings. thus I have to set them all over again whenever I reset the game. is it meant to be like this? any help would be good.
(I am running the game in a GNU environment)
when I start the game I can choose my preferred currency and what side of the road the cars drive on and whatever - but when I restart the game, it doesn't remember my settings. thus I have to set them all over again whenever I reset the game. is it meant to be like this? any help would be good.
(I am running the game in a GNU environment)
no big deal
Re: settings are not stored
make sure you have write permissions to openttd.cfg.
change a setting from the main menu, exit the game and restart it to confirm that settings can now be stored
change a setting from the main menu, exit the game and restart it to confirm that settings can now be stored
-
- Engineer
- Posts: 7
- Joined: 31 Mar 2008 18:20
- Location: Norway
- Contact:
Re: settings are not stored
hi,
I don't actually have an openttd.cfg file. can I just make one? and should it be in ~/.openttd or somewhere in "/usr/share/games/openttd/"?
I don't actually have an openttd.cfg file. can I just make one? and should it be in ~/.openttd or somewhere in "/usr/share/games/openttd/"?
no big deal
Re: settings are not stored
if you do not have a config file, it should automatically be created in ~/.openttd the first time you quit.
there is probably debug output where it searches for the cfg, try "-d misc=3"
there is probably debug output where it searches for the cfg, try "-d misc=3"
-
- Engineer
- Posts: 7
- Joined: 31 Mar 2008 18:20
- Location: Norway
- Contact:
Re: settings are not stored
Code: Select all
dbg: [misc] Scanning for tars
dbg: [misc] Scan complete, found 0 files
dbg: [misc] /home/alexander/.openttd/ found as personal directory
dbg: [misc] [Ap] #count 4; #term 0 (0grp); #helipad 0 (0grp); entries 0, 1, 2, 3
dbg: [misc] [Ap] #count 22; #term 2 (1grp); #helipad 0 (0grp); entries 16, 16, 16, 16
dbg: [misc] [Ap] #count 30; #term 3 (1grp); #helipad 0 (0grp); entries 26, 29, 27, 28
dbg: [misc] [Ap] #count 27; #term 3 (1grp); #helipad 0 (0grp); entries 20, 20, 20, 20
dbg: [misc] [Ap] #count 51; #term 6 (2grp); #helipad 2 (1grp); entries 37, 37, 37, 37
dbg: [misc] [Ap] #count 77; #term 8 (2grp); #helipad 2 (1grp); entries 43, 43, 43, 43
dbg: [misc] [Ap] #count 9; #term 0 (0grp); #helipad 1 (1grp); entries 7, 7, 7, 7
dbg: [misc] [Ap] #count 9; #term 0 (0grp); #helipad 1 (1grp); entries 7, 7, 7, 7
dbg: [misc] [Ap] #count 37; #term 3 (1grp); #helipad 2 (1grp); entries 21, 21, 21, 21
dbg: [misc] [Ap] #count 18; #term 0 (0grp); #helipad 1 (1grp); entries 4, 4, 4, 4
dbg: [misc] [Ap] #count 33; #term 0 (0grp); #helipad 3 (1grp); entries 25, 25, 25, 25
dbg: [misc] Loading sound effects...
dbg: [misc] Loading blitter...
no big deal
Re: settings are not stored
this is the place where openttd tries to save the cfgindietrash wrote:Code: Select all
dbg: [misc] /home/alexander/.openttd/ found as personal directory
the cfg is written on exit, but apparently, it is never checked whether writing actually worked. if the file could not be created, check if that directory has write permissions
-
- Engineer
- Posts: 7
- Joined: 31 Mar 2008 18:20
- Location: Norway
- Contact:
Re: settings are not stored
owwwwwww. I created it as root by a mistake. I was symlinking the scenarios from /usr/share/games/openttd/scenarios to ~/.openttd - and I did it as root without realising. I chowned the folder now though so all is good. thanks heaps! 

no big deal
Who is online
Users browsing this forum: Baidu [Spider] and 6 guests