Mame Video Capturing: Unterschied zwischen den Versionen

Zeile 59: Zeile 59:
== Capturing with mngwrite/wavwrite ==
== Capturing with mngwrite/wavwrite ==


You need to create a little batch file which does the entire capturing work for you. Here is an example. It is explained below. This is the line for capturing Super Street Fighter 2 X. I´ve chosen this game as an example. What this batch file does is quite simple:
*You need to create a little batch file which does the entire capturing work for you. Here is an example. It is explained below. This is the line for capturing Super Street Fighter 2 Turbo. I´ve chosen this game as an example. What this batch file does is quite simple:  
MameUI32.exe ssf2t -pb ssf2t.inp -mngwrite ssf2t.mng -wavwrite ssf2t.wav
:<code>MameUI32.exe ssf2t -pb ssf2t.inp -mngwrite ssf2t.mng -wavwrite ssf2t.wav</code>


'''Explanation:'''


* This batch script opens up your mame with your inputfile as an argument and does a playback of the
* 1. This batch script opens up your mame with your inputfile as an argument and does a playback of the stuff you have recorded previously.
      stuff you have recorded previously.
* 2. The next thing it does is: It writes a mng video stream to your harddisk together with an uncompressed wave file. The mng stream is nothing more than a every frame of gameplay saved to a png picture and then merged together to a mng file.   
* 3. The resulting mng video stream can be found in your snap folder


    * The next thing it does is: It writes a mng video stream to your harddisk together with an uncompressed
      wave file. The mng stream is nothing more than a every frame of gameplay saved to a png file and then
      merged together to a mng file.
    * The resulting mng video stream can be found in your snap folder


 
'''Explanation in detail:'''
Explanation in detail:


This basic commandline contains 8 arguments in order to work correctly. Each argument is explained below:
This basic commandline contains 8 arguments in order to work correctly. Each argument is explained below:


    * The 1st word is the name of your mame exe file. We are using Mame32 Plus Plus v0.119 so in
* The 1st word is the name of your mame exe file. We are using Mame32 Plus Plus v0.119 so in this case its: mameppkgui.exe
      this case its: mameppkgui.exe
* The 2nd word (or argument) is the romset name of your game. I have captured Super Street Fighter 2 X so its romname is: ssf2xj You will find the corresponding romnames in the main list window.  
    * The 2nd word (or argument) is the romset name of your game. I have captured
* The 3rd word is called an option switch. The -pb optionswitch tells your mame to open up a input file and start a playback.
      Super Street Fighter 2 X so its romname is: ssf2xj You will find the corresponding
* The 4th word is the input file you want to record. My file is called: ssf2xj.inp
      romnames in the main list window.
* The 5th word is another option switch. The -mngwrite switch tells your mame to record your gameplay into a mng stream file.
    * The 3rd word is called an option switch. The -pb optionswitch tells your mame to
* The 6th word specifies the name of your mng stream file . My mng file is called: ssf2xj.mng
      open up a input file and start a playback.
* The 7th word is the last option switch. The -wavwrtie switch tells your mame to record sound to a uncompressed wave stream.
    * The 4th word is the input file you want to record. My file is called: ssf2xj.inp
* The last word specifies the name of your uncompressed wave file.
    * The 5th word is another option switch. The -mngwrite switch tells your mame to
      record your gameplay into a mng stream file.
    * The 6th word specifies the name of your mng stream file . My mng file is called: ssf2xj.mng
    * The 7th word is the last option switch. The -wavwrtie switch tells your mame to
      record sound to a uncompressed wave stream.
    * The last word specifies the name of your uncompressed wave file.


Writing your own batch file and recording
Writing your own batch file and recording