This is a thing I've been a long time thinking about. If I want to see a demo I usually have to download that demo than go to Zlauncher, local, play demo, than find the demo in tons of other demos, than select the pwads and than Zdaemon throws an error that I've set it wrong..
Now I found a way how to make this more comfortable. I thought that the command to play demo from the console (well, it's more a linux term, let's call it command line) is "zdaemon -playdemo something.zdo" but this didn't work so I opened up Firefox with google and found out in the Zdaemon officialy documantation that this command should be "zdaemon -netplay something.zdo".
So now we got the command and all we need to do is to make a .bat file (works it win xp too) and write into "zdaemon -netplay demo_you_want_to_run.zdo" (without the quotes). Than we run this file, e.g. netplay.bat and this will set the demo settings correctly and run it directly in Zdaemon. One-click.
Well, you won't probably do this because it's a lot of typing and it doesn't save your time. Neither will I :), but this is not still end of the article. I'm now working on pages for the Czech CTF Championship and there will be loads of demos to download. So I'm going to write a PHP script which will make the bat file instead of you and you will be able than to download the demo together with this file and run the demo easily one-click.
assoc .zdo=ZDaemonDemo
ReplyDeleteftype ZDaemonDemo=x:\path\to\zdaemon\zdaemon.exe -netplay %1
Now you can replay demos just by doble-clicking it.