Snap folder question.

A nice (keyboard based) front end for Arcade / Console game emulators.

Moderator: battlecat

Snap folder question.

Postby Hioushi » Sun Feb 03, 2008 5:57 am

Well, first let me say thank you for the great job you're doing with WahCade, I started my own arcade cabinet project a few weeks ago :)

Now, the question. The latest version of SDLMame (and mame32 also) save the snapshots taken in folders like this:
mame/snap/game/xxxx.png

and WahCade seems to be looking at the snap folder itself for the images, like this:
mame/snap/game.png

I could be wrong tho, is there a way to set this up?
Hioushi
 
Posts: 2
Joined: Sun Feb 03, 2008 5:34 am

Postby balki » Sun Feb 03, 2008 11:15 am

Hi,

Unfortunately, that won't work in Wah!Cade at the moment - I'll look into adding it in for the next release though. Are there multiple snaphot images per game then?

Cheers,
Andy
User avatar
balki
Site Admin
 
Posts: 421
Joined: Thu Jan 01, 1970 1:00 am
Location: Huddersfield, UK

Postby Hioushi » Mon Feb 11, 2008 10:06 am

Sorry for the late reply, Ive been quite busy with work lately.

Yes, there are multiple screenshots per game, there are some frontends that already take advantage of this, allowing a random screenshot selection if there more than 1.

The folder name is the same as the rom, and inside, the images are named following a 4 character sequence starting with 0000.png

Thx :)
Hioushi
 
Posts: 2
Joined: Sun Feb 03, 2008 5:34 am

Re: Snap folder question.

Postby miketiv » Fri Jul 24, 2009 6:15 pm

Hi there. For now you can use the following python script as a work-around:
Code: Select all
import os
import os.path

for item in os.listdir('.'):
   if os.path.isfile(item + '/0000.png'):
      os.rename(item + '/0000.png', item + '.png')


Just save that as fixsnap.py, put it in your snap directory, open a terminal, cd to your snap directory and execute python fixsnap.py. It will copy all of your snapshots from where sdlmame puts them to where Wah!Cade thinks they should be. You'll just have to run it every time you take new snaps.

Great work on Wah!Cade BTW. Thanks!
miketiv
 
Posts: 1
Joined: Fri Jul 24, 2009 6:02 pm


Return to Wah!Cade

Who is online

Users browsing this forum: No registered users and 0 guests