UFO:Alien Invasion

Archive => Bugs prior to release 2.3 => Topic started by: jack1232 on August 12, 2009, 10:45:03 pm

Title: Game doesnt remember my options.
Post by: jack1232 on August 12, 2009, 10:45:03 pm
New update, new installation, new recompiled game.

Code: [Select]
Couldn't write config.cfg.
Shutdown gametype 'Campaign mode'
Cvar 'mn_uprequirement' wasn't found
Cvar 'mn_upmetadata' wasn't found
Can not open history for writing
Couldn't write keys.cfg.
recursive shutdown

Every time game doesn't remember my options.
Title: Re: Game doesnt remember my options.
Post by: geever on August 12, 2009, 10:55:07 pm
Every time game doesn't remember my options.

Because of this: Couldn't write config.cfg.

It tries to save it to ~/.ufoai/<version>/base/. Check FS permissions.


If you have problems with the game (crash in campaign or during combat) it's a good tactic to exit the game right after you set the options then restart. On exit it saves the config. If it crash (segfault, assert) it can't do that. (e.g. The OS stops the game.).

-geever
Title: Re: Game doesnt remember my options.
Post by: jack1232 on August 12, 2009, 11:10:33 pm
THX for help.
That was the problem.
I changed the attributes of folders, and game remember my options.
Strange but i dont chenged the attributes, is it true that after compliing, reinstaling game, the atributes is changing? Or its only my system?
Title: Re: Game doesnt remember my options.
Post by: Duke on August 14, 2009, 09:42:40 pm
Compiling will not affect permissions.
Reinstalling might well do that, but I don't know.
Title: Re: Game doesnt remember my options.
Post by: odie on August 19, 2009, 05:46:32 am
THX for help.
That was the problem.
I changed the attributes of folders, and game remember my options.
Strange but i dont chenged the attributes, is it true that after compliing, reinstaling game, the atributes is changing? Or its only my system?

It could be your user's rights issues. Are u using Win vista / win 7? Are u logged in as an administrator? (I believe so).

Sometimes, windows has certain settings which messes (or rather protects.... grrr) ur files / folders attributes.

You might just want to do an attribute (properties of files / folders) check each time u reinstall a new version of UFOAI (dev builds tat is).

:D

It might help to see if ur other games has a similar issue. If so, most likely filesystem related.