project-navigation
Personal tools

Author Topic: Game doesnt remember my options.  (Read 2535 times)

Offline jack1232

  • Rookie
  • ***
  • Posts: 51
    • View Profile
Game doesnt remember my options.
« 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.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Game doesnt remember my options.
« Reply #1 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

Offline jack1232

  • Rookie
  • ***
  • Posts: 51
    • View Profile
Re: Game doesnt remember my options.
« Reply #2 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?

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Re: Game doesnt remember my options.
« Reply #3 on: August 14, 2009, 09:42:40 pm »
Compiling will not affect permissions.
Reinstalling might well do that, but I don't know.

odie

  • Guest
Re: Game doesnt remember my options.
« Reply #4 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.