Scripts for AVI recording
Posted: Mon Jul 28, 2008 3:05 am
Update 2011-12-23: This is obsolete. For a better script go here.
I went and found Windows versions of the MJPEG tools and SoX, which are what I use to make AVI movies. I've never used gamecam or anything but I believe this should work better since it records at a fixed 30 frames/sec no matter how slow your computer is.
Here is a zip which contains the required MJPEG programs, SoX, and some .bat scripts:
http://mxsimulator.com/scripts/mjpeg4mxsim.zip
To use it:
1. Unzip it somewhere.
2. Open the folder where you unzipped mjpeg4mxsim.zip.
3. Start up MX Sim, put it in windowed mode and quit.
4. Double click "mxavi".
5. The game should now start running in a 640x480 window with the video going into v.avi. Now play whatever demo you want to turn into an AVI and quit.
6. Double click "joinavi".
You should now have a mjpeg encoded file called "movie.avi".
If you want to use the command line instead, do this:
1. Start up MX Sim, put it in windowed mode and quit.
2. Open a command prompt. (start/run and type "cmd.exe")
3. Type "CD c:\wherever\you\unzipped\mjpeg4mxsim".
4. Type "mxavi".
5. The game should now start running in a 640x480 window with the video going into v.avi. Now play whatever demo you want to turn into an AVI and quit.
6. Type "joinavi".
If you have MX Simulator installed somewhere besides "c:\Program Files\MX Simulator" you will have to edit the path in "mxavi.bat".
I went and found Windows versions of the MJPEG tools and SoX, which are what I use to make AVI movies. I've never used gamecam or anything but I believe this should work better since it records at a fixed 30 frames/sec no matter how slow your computer is.
Here is a zip which contains the required MJPEG programs, SoX, and some .bat scripts:
http://mxsimulator.com/scripts/mjpeg4mxsim.zip
To use it:
1. Unzip it somewhere.
2. Open the folder where you unzipped mjpeg4mxsim.zip.
3. Start up MX Sim, put it in windowed mode and quit.
4. Double click "mxavi".
5. The game should now start running in a 640x480 window with the video going into v.avi. Now play whatever demo you want to turn into an AVI and quit.
6. Double click "joinavi".
You should now have a mjpeg encoded file called "movie.avi".
If you want to use the command line instead, do this:
1. Start up MX Sim, put it in windowed mode and quit.
2. Open a command prompt. (start/run and type "cmd.exe")
3. Type "CD c:\wherever\you\unzipped\mjpeg4mxsim".
4. Type "mxavi".
5. The game should now start running in a 640x480 window with the video going into v.avi. Now play whatever demo you want to turn into an AVI and quit.
6. Type "joinavi".
If you have MX Simulator installed somewhere besides "c:\Program Files\MX Simulator" you will have to edit the path in "mxavi.bat".