|author||Aaron Giles <firstname.lastname@example.org>||2008-05-29 08:00:23 +0000|
|committer||Aaron Giles <email@example.com>||2008-05-29 08:00:23 +0000|
Added new option -snapname which lets you provide a template for how snapshot
names are generated. Added new astring functions astring_del, astring_replace, and astring_replacec to help perform simple search/replace substitution.
Diffstat (limited to 'docs')
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/config.txt b/docs/config.txt
index b71b46a3ea9..f3e580dec8f 100644
@@ -453,6 +453,20 @@ Core state/playback options
(.cfg), NVRAM (.nv), and memory card files deleted. The default is
NULL (no recording).
+ Describes how MAME should name files for snapshots. <name> is a string
+ that provides a template that is used to generate a filename. Three
+ simple substitutions are provided: the / character represents the
+ path separator on any target platform (even Windows); the string %g
+ represents the driver name of the current game; and the string %i
+ represents an incrementing index. If %i is omitted, then each
+ snapshot taken will overwrite the previous one; otherwise, MAME will
+ find the next empty value for %i and use that for a filename. The
+ default is %g/%i, which creates a separate folder for each game,
+ and names the snapshots under it starting with 0000 and increasing
+ from there.
Writes each video frame to the given <filename> in MNG format,