How to use *.cfg-files correctly?

Discuss anything to do with Nexuiz here.

Moderators: Nexuiz Moderators, Moderators

Tue Feb 13, 2007 12:55 pm

  • I am a bit confused. (Yeah yeah, i know, but a little more than usual.)
    I have two configs: config_ho.cfg and config_movie.cfg. I used config_movie.cfg and executed ultra.cfg. Resolution is 1024x768, window-mode (as written in the config_movie.cfg). Later i started nexuiz with
    Code: Select all
    ~/bin/nexuiz.sh +exec config_ho.cfg

    In nexuiz.sh there is only mentioned the basedir. Config_ho.cfg was last played with low.cfg. Resolution is 1280x1024, window-mode (as written in the config_ho.cfg). As a result nexuiz started with 1024x768 and settings of ultra.cfg, but with the key-bindings of config_ho.cfg.

    So, how does nexuiz handle those *.cfg-files?
    User avatar
    Gut_Eater
    Alien
     
    Posts: 116
    Joined: Fri Apr 07, 2006 1:46 pm
    Location: Germany, NRW

Tue Feb 13, 2007 1:55 pm

  • I'm not sure what you mean with 'used xx.cfg'. You seem to expect Nexuiz to write settings into that file but it does not. All settings are saved into config.cfg. That exec really just loads and reads the file you tell it. And even if that file does changes the resolution or fullscreen mode that is only done when you make Nexuiz restart the video stuff with vid_restart.
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Tue Feb 13, 2007 2:22 pm

  • Hmm, okay, that explains much.
    I thought, if i "use" (or execute) another configxxx.cfg and change some settings, the changes would be written into the configxxx.cfg. But they wouldn´t.
    And it even makes sense. :-)

    Thx esteel for always answering my silly questions here or on irc with patience. :-)
    I would like to have my own esteel for at home. ;-)
    User avatar
    Gut_Eater
    Alien
     
    Posts: 116
    Joined: Fri Apr 07, 2006 1:46 pm
    Location: Germany, NRW

Tue Feb 13, 2007 3:15 pm

Tue Feb 13, 2007 3:38 pm

  • I might get along with it. :wink:
    User avatar
    Gut_Eater
    Alien
     
    Posts: 116
    Joined: Fri Apr 07, 2006 1:46 pm
    Location: Germany, NRW



Return to Nexuiz - General Discussion




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest