Ok so I was looking for a way to separate the roms for Racing and flying games. This way I would save a lot of space on my racers and it would only learn in the right games. I couldn't find one, so i made a simple batch file using a website and the controls.ini found in the mame directory "folders".
01. Download categories.ini from
http://www.progettosnaps.net/support/02. Unzip and copy to .\mame\folders
03. Open categories.ini in favorite text editor, i use notepad++
04. click view menu and fold all
05. delete all sections except racing, driving, flying
06. delete flying shooter veritical and horizontal
07. copy all rom names to the website
https://pinetools.com/add-text-each-line08. In the text at the beginning box add copy"
09. In the text at the end box add .*" c:\racing
10. Hit execute, this creates each line to say for example copy "crusnexo.*" c:\racing
11. Copy each line on website to a new text file.
12. add the following lines to the begging of text file
a. md c:\racing
b. cd \
c. cd \games\launchbox\games\arcade (put in your path to all your roms)
13. Save txt file as a bat file
14. Run new bat file
This method is far from perfect. But at least it seperates out all of the joystick games that I have 0 use for. I would like to have a couple of the spinner games on it. I have gotten APB to respond decently to the 270 degree wheel, but with a little more work I maybe able to get it. The verison of mame this file is based on is November 2020 .266