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