Previous Thread
Next Thread
Print Thread
#109737 - 06/01/17 03:20 PM mame 0.186 screenshots issue  
Joined: Dec 2011
Posts: 24
minireaper Offline
Member
minireaper  Offline
Member

Joined: Dec 2011
Posts: 24
hi,

i use mame (selfcompiled) 0.186 in kubuntu 17.04 64bit.
today i tried to play around with screenshooting using the mame buildin frontend.

what i tried was to randomly take screenshots from a game, let's take 1942 as example.
started the game and randomly pressed f12 ingame. the result is a subdirectory 1942 in snap
with files numbered 0000.png 0001.png and so on. so all is fine.

then i tried to do the very same with a softlist. let's take atari 7800 softlist and commando as example.
started the game via the buildin frontend. pressed f12 randomly.
the result is a subirectory a7800 containing exactly 1 screenshot named commando.png.
so when doing screens from a softlist i take always 1 screenshot which gets overwritten once i do another.

is this intended or a bug or did i configure something wrong in my mame.ini ?

i think this is the relevant part of my mame.ini

#
# CORE STATE/PLAYBACK OPTIONS
#
state
autosave 0
playback
record
record_timecode 0
exit_after_playback 0
mngwrite
aviwrite
wavwrite
snapname %g/%i
snapsize auto
snapview internal
snapbilinear 1
statename %g
burnin 0

thanks in advance for a tip/clue/answer what goes wrong here wink

#109738 - 06/01/17 03:50 PM Re: mame 0.186 screenshots issue [Re: minireaper]  
Joined: Apr 2015
Posts: 337
EoceneMiacid Offline
Senior Member
EoceneMiacid  Offline
Senior Member

Joined: Apr 2015
Posts: 337
This is intended behavior. What you're interested in is 'snapname'.

For example, this is what I have in c64.ini >

snapname %g/%d_flop1/%i

You need to replace the 'flop1' with the media the system uses.

So for Sega Saturn (saturn.ini) this would be

snapname %g/%d_cdrm/%i

#109742 - 06/01/17 04:59 PM Re: mame 0.186 screenshots issue [Re: minireaper]  
Joined: Dec 2011
Posts: 24
minireaper Offline
Member
minireaper  Offline
Member

Joined: Dec 2011
Posts: 24
hi,

i have created a a7800p.ini now

snapname looks like this

snapname %g/%d_cart/%i

i also used _cart1 _cardslot with no luck.

all mame does is to create a subdirectory a7800 in snap with just 1 picture named commando.png
what makes me wonder is the directory name a7800. shouldnt this be a7800p ?
anyway i also made a a7800.ini and tried the same with commando ntsc version.
no matter what its just 1 screen named commando.png instead 0000.png and so on frown

#109743 - 06/01/17 05:12 PM Re: mame 0.186 screenshots issue [Re: minireaper]  
Joined: Apr 2015
Posts: 337
EoceneMiacid Offline
Senior Member
EoceneMiacid  Offline
Senior Member

Joined: Apr 2015
Posts: 337
I have created the file a7800.ini just now with just this one line:

snapname %g/%d_cart/%i

Snapshots ended up in the snap directory as /a7800/<romname>/0000.png, 0001.png and so on

Do you have 'readconfig' enabled?

#109744 - 06/01/17 05:21 PM Re: mame 0.186 screenshots issue [Re: minireaper]  
Joined: Dec 2011
Posts: 24
minireaper Offline
Member
minireaper  Offline
Member

Joined: Dec 2011
Posts: 24
yes, readconfig is 1 in all configs sitting in my /home/.mame/

#109745 - 06/01/17 05:45 PM Re: mame 0.186 screenshots issue [Re: minireaper]  
Joined: Dec 2011
Posts: 24
minireaper Offline
Member
minireaper  Offline
Member

Joined: Dec 2011
Posts: 24
ok progress smile

if i start mame via commandline

mame64 a7800p commando

snapshots go to a subdir commando inside an a7800 directory numbered as usual.
if i start the game within the internal gui i get a7800/commando.png

i still dont know why but i am fine with the commandline variant smile

#109747 - 06/01/17 06:18 PM Re: mame 0.186 screenshots issue [Re: minireaper]  
Joined: Feb 2014
Posts: 85
Golden Child Online content
Member
Golden Child  Online Content
Member

Joined: Feb 2014
Posts: 85
I noticed the same thing about screenshots.

If you launch mame64 with ./mame64 -snapname "%g%i" and you select a machine (apple2e) and entry from the softlist (let's choose minr2049), it just ignores the snapname option, and you will only get a single snap in the snap/apple2e directory called minr2049.png.

If you launch mame64 and give it a machine name with ./mame64 apple2e -snapname "%g%i" and you use the file manager to load minr2049 you will get screenshots like this: apple2e0000.png, apple2e0001.png in the snap directory. If you put the softlist name in the command line it is the same behavior: ./mame64 apple2e minr2049 -snapname "%g%i".

So if you use mame's machine selector and softlist, it will only get you the single screenshot (which is neatly shown in mame's built in software list selector).

#109749 - 06/01/17 11:12 PM Re: mame 0.186 screenshots issue [Re: minireaper]  
Joined: Feb 2004
Posts: 1,849
Vas Crabb Offline
Very Senior Member
Vas Crabb  Offline
Very Senior Member

Joined: Feb 2004
Posts: 1,849
Sydney, Australia
Open a bug for it I guess.


Moderated by  R. Belmont 

Who's Online Now
2 registered members (Reznor007, ssj), 31 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,426
Posts109,198
Members4,759
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.034s Queries: 14 (0.012s) Memory: 4.9855 MB (Peak: 5.1927 MB) Zlib enabled. Server Time: 2017-10-18 16:51:01 UTC