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-WinUAE-config file autogenerator?  (Read 1674 times)

0 Members and 1 Guest are viewing this topic.

Silver

  • Wiki Contributor
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1668
  • Last login:April 16, 2025, 04:09:53 pm
  • Cunning like the Fox.
    • Mods'n'Mods
Mamewah-WinUAE-config file autogenerator?
« on: February 27, 2004, 12:45:36 pm »
First off a quick apology if this is deemed out of bounds as its not strictly Arcade-related...

I use Mamewah as a FE, and along with Mame I run the modded WinUae (modded for ESC as quit key). However, creating all the individual config files to load the right diskfile is a game-by-game process (and there are a LOT of games) - and I was just wondering if anyone knew if there was any kind of script that would automate the process.... The settings stay the same for 95% of games, so all that needs to be changed is the diskfile name in the UAE file.

The UAE files are just standard txt files with lines like:
floppy0=df0.adf
floppy0type=0
floppy1=df1.adf
floppy1type=0
floppy2=df2.adf

so its easy to see what txt needs to be added. Basically what I'm after is a util that will look in a directory, read the filenames (e.g. pang.adf) and create a file pang.uae with all the standard settings and place the line "floppy0=pang.adf" in place of "floppy0=df0.adf"

I'm sure it would be reasonably straightforward to also check for stuff like pangmk5(disk 2 of 2).adf and add it to floppy2=... instead of in a new config(as there is a naming convention at www.tosec.info)

Apologies to all those rolling on the floor at my lack of VB or scripting language to write my own little proggy/script. Maybe I should learn. I do work in IT too.... ;-)

I've got some webspace too so I'd be happy to host collections of configs once they are known working, as this can be the challenge for some picky games in WinUAE.

Thoughts/solutions/jokes/abuse all welcome....

Silver

  • Wiki Contributor
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1668
  • Last login:April 16, 2025, 04:09:53 pm
  • Cunning like the Fox.
    • Mods'n'Mods
Re:Mamewah-WinUAE-config file autogenerator?
« Reply #1 on: February 28, 2004, 06:47:46 pm »
Don't all rush... ;D

Anyway looks like a simple VBscript could do the brunt of the work (rather crudely under my butchering hands)  - so looks like I'll be searching for some online VB tutorials! Although I'm sure there must be some batch file tools with a simple Find/replace/create new option?.....