Latest changes
- [CONKORT] Almost fixed ABCBUS interface. by curtcoder
MESS provides a series of options to capture not only static images of the emulated system, but audio and video streams too. This feature actually might not work as it is normally intended - as they say, it's not a bug, it's a feature! - soon we'll explain why… but first of all, here are the commands:
.png file will appear in the directory defined by the -snapshot_directory option. Two further options, -snapname and -snapview control the name of the snapshot and the part of the picture (in MESS jargon, the view) that's actually captured. If the system uses multiple screens, all of them will be captured at once.To capture audio and video streams it is not necessary to use the user interface, since the relevant options are provided by the command line.
-wavwrite option. The resultant .wav file will contain all the audio of the MESS session, from the beginning to the end.-mngwrite will create an audioless movie in .mng format. Of course, -wavwrite can be used on the same command line to provide an audio track which can be mixed with the video capture.-aviwrite to dump both audio and video to an .avi file at the same time: the price to pay is a greater overhead and consequently a slower and more sluggish emulation.The audio file will be located in the same directory as the MESS executable while the video file, regardless of its format, will be located in the snapshot directory.
So now you have successfully taken a screenshot of your favourite game running on MESS and going open it in a graphic editor just to discover that the picture is totally different from what MESS had displayed on screen - surely there must be a bug somewhere…
The answer is that there is no bug in the screen dump code - the reason is in the way the image that you see on the screen is actually drawn: to make a long discussion short, MESS has to draw, in the worst case, a certain number of entities on the screen:
Each one of these elements has different requirements:
In order to meet these requirements MESS draws these pictures separately and subsequently merges them using a renderer: a lengthy and very interesting explanation of its capabilities is provided by its author, the maintainer of MAME, Aaron Giles here, here and finally here.