where can I dl the nightly builds?

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Wed Dec 26, 2007 10:24 pm

Wed Dec 26, 2007 10:27 pm

Thu Dec 27, 2007 4:55 pm

  • morf wrote:You can find beta builds at http://emptyset.endoftheinternet.org/~p ... iz/builds/

    How do I run a separate new build? I'm running Kubuntu 7.10

    I have unzipped it to /home/victim/newnex and created .../newnex/.nexuiz/data and added a slightly modified config.cfg to .nexuiz/data

    I have created a desktop config file (shortcut) with the following
    Code: Select all
    /home/victim/newnex/nexuiz-linux-sdl.sh -basedir /home/victim/newnex/ +exec /home/victim/newnex/.nexuiz/data/config.cfg


    Do I need to add anything to the workpath section?
    Spaceman
    Alien trapper
     
    Posts: 264
    Joined: Tue Aug 28, 2007 10:53 am

Thu Dec 27, 2007 6:04 pm

  • victim wrote:I have created a desktop config file (shortcut) with the following
    Code: Select all
    /home/victim/newnex/nexuiz-linux-sdl.sh -basedir /home/victim/newnex/ +exec /home/victim/newnex/.nexuiz/data/config.cfg

    1) strip the basedir option, that's what the script you are referencing is for
    2) all paths for exec and other options are relative to Nexuiz/data or ~/.nexuiz/data, full paths won't work
    3) config.cfg is loaded automagically and ~/.nexuiz is used by all nexuiz installs you run, if you want that config to be loaded only for the testing build, rename it to config_svn.cfg (or something like that) and append "+exec config_svn.cfg"
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm

Thu Dec 27, 2007 10:20 pm

  • Many thanks, I've changed the shortcut to
    Code: Select all
    /home/victim/newnex/nexuiz-linux-sdl.sh +exec newnex.cfg
    which starts OK.

    Nexuiz starts and reads newnex.cfg but when I make an alteration eg a name change, Nexuiz saves the changes to config.cfg. Which deletes the current 2.3 version configuration.

    How do I save any config changes to newnex.cfg?
    Spaceman
    Alien trapper
     
    Posts: 264
    Joined: Tue Aug 28, 2007 10:53 am

Thu Dec 27, 2007 11:59 pm

  • victim wrote:How do I save any config changes to newnex.cfg?

    You can't without engine changes, since the filename "config.cfg" is hardcoded.
    What you could do is changing the $HOME variable and put the .nexuiz folder somewhere else that way (e.g. "HOME=/home/victim/newnex /home/victim/newnex/nexuiz-linux-sdl.sh +exec newnex.cfg". You might need to symlink ~/.Xauthority there to make it work)
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm

Fri Dec 28, 2007 10:14 am

  • what? there's no writeconfig cmd like in the q3 engine? (or at least in jka there is...)
    *found something to patch*
    User avatar
    Blµb
    Alien trapper
     
    Posts: 277
    Joined: Thu Mar 29, 2007 1:49 pm

Fri Dec 28, 2007 2:24 pm

  • Blµb wrote:what? there's no writeconfig cmd like in the q3 engine? (or at least in jka there is...)
    *found something to patch*

    There is saveconfig, http://www.alientrap.org/wiki/pmwiki.php?n=Main.ConsoleCommands#saveconfig
    but it just saves the current config to config.cfg

    I tried using the Dec 20th build of Nexuiz with 'writeconfig' - command not found, and 'saveconfig 123.cfg' no errors or a file called 123.cfg

    I could write a script that starts Nexuiz with special.cfg, and when Nexuiz ends (with F10) renames config.cfg to special.cfg

    How is autoexec.cfg handled, will Nexuiz started with special.cfg read autoexec.cfg? Can I specify in special.cfg a different name for autoexec?


    And where can I make comments about the current build?
    Spaceman
    Alien trapper
     
    Posts: 264
    Joined: Tue Aug 28, 2007 10:53 am

Fri Dec 28, 2007 5:11 pm

  • Here is a simple script to load and save a particular config / alias file
    Code: Select all
    #! /bin/sh
    /home/victim/newnex/nexuiz-linux-sdl.sh +exec victim.cfg +exec victim_alias.cfg
    mv /home/victim/.nexuiz/data/victim.cfg /home/victim/.nexuiz/data/victim.cfg.bak
    mv /home/victim/.nexuiz/data/config.cfg /home/victim/.nexuiz/data/victim.cfg
    rm /home/victim/.nexuiz/data/victim.cfg.bak


    It launches Nexuiz with two config files, the first victim.cfg is a normal config and the second victim_alias.cfg has some aliases. After quitting (F10) Nexuiz, a new config.cfg is automaticaly written.

    The original victim.cfg is renamed victim.cfg.bak
    then new config.cfg is renamed to victim.cfg
    and finally victim.cfg.bak is deleted
    Last edited by Spaceman on Sun Dec 30, 2007 9:17 pm, edited 3 times in total.
    Spaceman
    Alien trapper
     
    Posts: 264
    Joined: Tue Aug 28, 2007 10:53 am

Fri Dec 28, 2007 6:27 pm

  • I merged this message with one above, which leaves this message going spare.
    Last edited by Spaceman on Sun Dec 30, 2007 9:19 pm, edited 1 time in total.
    Spaceman
    Alien trapper
     
    Posts: 264
    Joined: Tue Aug 28, 2007 10:53 am

Fri Dec 28, 2007 10:25 pm

  • in the svn version of darkplaces, saveconfig now accepts a filename as parameter :>
    User avatar
    Blµb
    Alien trapper
     
    Posts: 277
    Joined: Thu Mar 29, 2007 1:49 pm

Sat Dec 29, 2007 2:19 pm

Sun Dec 30, 2007 9:21 pm

  • Blµb wrote:in the svn version of darkplaces, saveconfig now accepts a filename as parameter :>

    Your patch looks really good, I can't wait to try it out :)

    Thanks for fixing saveconfig.
    Spaceman
    Alien trapper
     
    Posts: 264
    Joined: Tue Aug 28, 2007 10:53 am



Return to Nexuiz - Development




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