Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: mamewah and multiple file extensions  (Read 904 times)

0 Members and 1 Guest are viewing this topic.

chemame

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 107
  • Last login:January 26, 2007, 01:54:05 pm
  • I want to build my own arcade controls!
mamewah and multiple file extensions
« on: April 18, 2005, 11:47:05 am »
I'm almost done with setting up all my emulators in mamewah. It's turned out to be easier than I expected. For the most part, I could nearly script the import from advmenu config to mamewah config.

Nearly.

Anyway, last night I was setting up my C64, and I ran across an issue. My C64 images are not all TAP files (I notice JCrouse uses TAP in his C64 ini file). I have maybe a 3:2:1 ratio of .d64, .t64, .prg

So I noticed that mamewah cannot accept multiple extension definitions in the INI file, which is something I took for granted with advmenu. I saw that the extension can be defined as "*", which will find everything in a directory, which works for the most part, but apparently causes problems in actually sending the extension to the emulator? Not sure why this would be, but anyway...

I was using a BAT file as a C64 wrapper, not just for the commandline parameters, but also to do some automated screenshot cleanup after execution (i.e. you take a BMP snapshot, I rename it to the rom name.PNG and move it to the proper directory yada yada)

ANYWAY... all that to say that I ended up using a perl script instead, testing for romname.d64, romname.t64, etc ... find the first matching extension and send THAT to the emulator. A little convoluted but it works.

Am I missing something on the multiple extensions? Am I making life more complicated than it needs to be?

Chemame

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: mamewah and multiple file extensions
« Reply #1 on: April 18, 2005, 12:23:46 pm »
Sounds like your right on the mark. The one option is that IF the emulator can handle zipped files than you can zip each file so they have a unifrom extension.

John