Title: Linux script for playing demos Post by: dash9 on September 28, 2008, 06:29:06 PM I found this script, used it to view demos, made some fixes and improvements.
Code: demo [osp|cpma|baseq3|baseoa] <demo_file> <demo_file> can be dm_xx, rar or zip! :) If you don't specify a mod, cpma will be used. The "osp" and "cpma" (and obviously "baseq3") mods will start ioquake3 with the q3 data files, since most of the demos you want to see use this configuration. You'll have to edit the file and set the correct paths to the openarena and ioquake3 executables. The original file had no copyright line, so I'm posting it here. If you find a bug please tell me so I can fix it. Title: Re: Linux script for playing demos Post by: Ivan_D on October 17, 2008, 04:33:15 AM Code: $engine="/usr/bin/openarena" Interesting, indeed. Title: Re: Linux script for playing demos Post by: dash9 on October 17, 2008, 06:19:36 AM Code: $engine="/usr/bin/openarena" Interesting, indeed. - I downloaded a lot of demos from a competition, each archived as a RAR file, then I was able to play the RAR file directly using this script. Why decompress them manually if you don't have to?.. - I wanted to have the function keys have different binds when playing a demo than when playing a game. This needs looking "far" into the script to figure out how to do it, if you're having problems contact me. btw, the default mod is cpma, not baseoa, and that one is assigned to start "ioquake3", not "openarena" - I just realized this behavior is not 100% clean, but it works for what I use it for, for now. btw2, does the cpma mod work with OpenArena? Title: Re: Linux script for playing demos Post by: Ivan_D on October 17, 2008, 06:55:06 AM Quote btw2, does the cpma mod work with OpenArena? yes, it doesTitle: Re: Linux script for playing demos Post by: jessicaRA on October 17, 2008, 10:26:49 AM Quote btw2, does the cpma mod work with OpenArena? yes, it isit doesnt appear to work for me since 0.8.0. it just seems to put me back to the menu on loading a map but on 0.7.7 and before it works for me unless there is a bot in the game. |