How to associate DEM files with Nexuiz?

Discuss anything to do with Nexuiz here.

Moderators: Nexuiz Moderators, Moderators


Sat Jan 26, 2008 10:49 pm

Sun Jan 27, 2008 1:13 pm

Sun Jan 27, 2008 2:45 pm

  • I read the solution in another thread ( http://www.forums.alientrap.local/viewtopic.php?t=1846 ), but never tried it myself. The other thread also mentions the readme ( http://icculus.org/twilight/darkplaces/readme.html ).

    The summary is:
    "nexuiz" must be replaced with the name of your nexuiz binary or launcher script (nexuiz.exe or whatever it is called in Windows) and "demo-file" needs to be replaced with the relative path of the demo file, the ".dem" will be appended automagically.
    Code: Select all
    nexuiz -benchmark demos/demo-file

    (Runs ~/.nexuiz/data/demos/demo-file.dem, quits and logs timing data to benchmark.log)
    Code: Select all
    nexuiz +timedemo demos/demo-file

    (Runs ~/.nexuiz/data/demos/demo-file.dem at high speed, logs timing data to benchmark.log but doesn't quit)

    It appears one must create a script that puts the demo to your homedir in .nexuiz/data/demos/ and then launch it via the above code. The path will probably be very different in Windows. I don't know about that.

    In the end, of course, one should "associate" the files type with the script, using the file managers configuration thingy or hacking in config files or Windows Registry, probably destroying the whole os. So now is good time to make up-to-date backups.
    oz
     

Mon Jan 28, 2008 12:10 am



Return to Nexuiz - General Discussion




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