path: root/docs
diff options
author Aaron Giles <>2008-05-29 08:00:23 +0000
committer Aaron Giles <>2008-05-29 08:00:23 +0000
commit65934e7aa5f3ae7c7644162c7cf0752e2fbc12dc (patch)
tree50f041b12cefcb60b231a4c4a44e1cd57215390c /docs
parenteeb821032e7556896ad4c4d26c79bddd9882a022 (diff)
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
--- a/docs/config.txt
+++ b/docs/config.txt
@@ -453,6 +453,20 @@ Core state/playback options
(.cfg), NVRAM (.nv), and memory card files deleted. The default is
NULL (no recording).
+-snapname <name>
+ 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.
-mngwrite <filename>
Writes each video frame to the given <filename> in MNG format,