01-06-2011, 07:55 PM
(This post was last modified: 04-14-2012, 03:49 PM by GreEn`mArine.)
Hi all,
just as a side-note information: back in February 2010 I created the Nexuiz Demo Recorder, which is a tool that automates the (mass-) recording of demos for you.
Unfortunately the original thread (on the alienTRAP forum) was deleted. However, you can download the (nexuiz) demo recorder by first downloading version 0.2 followed by the v0.2 to v0.3 patch, i.e. first you extract the version 0.2 somewhere, and then extract the v0.3 into the same directory, overwriting the .exe and .jar file of v0.2. To run the program you can either use the jar file or the exe file in case you're using Windows. You'll need to have Java installed, you can get it at java.com)
The good news is: this thing works flawlessy for Xonotic demos as well!
Why/Who should care?
Everyone who has, in the past, created clips (and e.g. uploaded them to YouTube or other sites) of his demos from time to time, and intends to do so in the future, and who is sick of having to wait while having to fast-forward to the correct point in time in the demo, press the record button and then have to wait another decade until you manually stop the recording process again (cl_capturevideo 1/0). This manual process requires (at least partially) your attendance and also blocks you from using your machine effectively otherwise.
The Nexuiz (Xonotic) demo recorder is a java tool (-> cross platform) which allows you to create jobs where you specify the demo, a start time and end time and the final destination for the file, press "record", and then the program will do all the rest for you (start xonotic, fast-forward to the start second, press cl_capturevideo 1 for you, and then does cl_capturevideo 0 when done, and move the recorded clip to a destination you specify).
So if you belong to those users who already are a bit experienced in manually creating Nexuiz/Xonotic clips, just download the tool. It comes with an extensive documentation (see "help" menu). I also give a demo on how to use the tool here (YouTube).
There are several advanced features too. For example, it does not only support you with recording the clip but also (at least on Windows) allows you to compress avi clips to other codecs, using VirtualDub. I am showing off the feature and how to use it here (YouTube) (Of course the alternative is to let Xonotic do the compression for you, i.e. use the OGG format/compression from the start). If you are on Linux and a somewhat experience Java programmer, it will be quite easy to create your own "encoder plugin" that supports e.g. mencoder or whatever encoder you want to use.
Also, the jobs you create, i.e. the job queue, can be saved to a file. Now imagine how helpful this could be in a community movie project. Someone who finds e.g. FOTM frags or something else will, when using this tool, have a collection of demos and a job-queue that contains a job for each FOTM (including start and end time). If then someone else wants to do a FOTM/FOTY (frag of the year) compilation and asks for frags, you could simply send him your demos and the job queue, and the movie maker can get all clips recorded in one go over night. That saves a TON of time!
Or another example would be if you want to test different configs (with different graphic quality detail settings, e.g. different settings for blur, bloom, contrastboost,....). You can simply create a few duplicates of an existing job, change some console commands that will be issued right before the recording starts, and have everything recorded over night.
A small heads-up for Windows users
Do not use the darkplaces.exe (that comes with the Demo Recorder) with the Xonotic builds. The darkplaces.exe (and the patch that you could use on the Nexuiz 2.5.2 source that produces that file) do nothing else than adding a cvar "showgametime" that you can use to determine the timestamps that you have to feed the Demo-Recorder program with, when creating jobs. Now in Xonotic, to get these timestamps, you can simply bind a key to "prvm_global client time". Pressing the key will then show you the correct timestamp.
Hope it helps!
just as a side-note information: back in February 2010 I created the Nexuiz Demo Recorder, which is a tool that automates the (mass-) recording of demos for you.
Unfortunately the original thread (on the alienTRAP forum) was deleted. However, you can download the (nexuiz) demo recorder by first downloading version 0.2 followed by the v0.2 to v0.3 patch, i.e. first you extract the version 0.2 somewhere, and then extract the v0.3 into the same directory, overwriting the .exe and .jar file of v0.2. To run the program you can either use the jar file or the exe file in case you're using Windows. You'll need to have Java installed, you can get it at java.com)
The good news is: this thing works flawlessy for Xonotic demos as well!
Why/Who should care?
Everyone who has, in the past, created clips (and e.g. uploaded them to YouTube or other sites) of his demos from time to time, and intends to do so in the future, and who is sick of having to wait while having to fast-forward to the correct point in time in the demo, press the record button and then have to wait another decade until you manually stop the recording process again (cl_capturevideo 1/0). This manual process requires (at least partially) your attendance and also blocks you from using your machine effectively otherwise.
The Nexuiz (Xonotic) demo recorder is a java tool (-> cross platform) which allows you to create jobs where you specify the demo, a start time and end time and the final destination for the file, press "record", and then the program will do all the rest for you (start xonotic, fast-forward to the start second, press cl_capturevideo 1 for you, and then does cl_capturevideo 0 when done, and move the recorded clip to a destination you specify).
So if you belong to those users who already are a bit experienced in manually creating Nexuiz/Xonotic clips, just download the tool. It comes with an extensive documentation (see "help" menu). I also give a demo on how to use the tool here (YouTube).
There are several advanced features too. For example, it does not only support you with recording the clip but also (at least on Windows) allows you to compress avi clips to other codecs, using VirtualDub. I am showing off the feature and how to use it here (YouTube) (Of course the alternative is to let Xonotic do the compression for you, i.e. use the OGG format/compression from the start). If you are on Linux and a somewhat experience Java programmer, it will be quite easy to create your own "encoder plugin" that supports e.g. mencoder or whatever encoder you want to use.
Also, the jobs you create, i.e. the job queue, can be saved to a file. Now imagine how helpful this could be in a community movie project. Someone who finds e.g. FOTM frags or something else will, when using this tool, have a collection of demos and a job-queue that contains a job for each FOTM (including start and end time). If then someone else wants to do a FOTM/FOTY (frag of the year) compilation and asks for frags, you could simply send him your demos and the job queue, and the movie maker can get all clips recorded in one go over night. That saves a TON of time!
Or another example would be if you want to test different configs (with different graphic quality detail settings, e.g. different settings for blur, bloom, contrastboost,....). You can simply create a few duplicates of an existing job, change some console commands that will be issued right before the recording starts, and have everything recorded over night.
A small heads-up for Windows users
Do not use the darkplaces.exe (that comes with the Demo Recorder) with the Xonotic builds. The darkplaces.exe (and the patch that you could use on the Nexuiz 2.5.2 source that produces that file) do nothing else than adding a cvar "showgametime" that you can use to determine the timestamps that you have to feed the Demo-Recorder program with, when creating jobs. Now in Xonotic, to get these timestamps, you can simply bind a key to "prvm_global client time". Pressing the key will then show you the correct timestamp.
Hope it helps!