Hi,
![cool :cool:](https://neo-source.com/Smileys/default/cool.gif)
Here's a preliminary tool which can rip the dip switches of a MAME driver, and convert them to be useful by FBA.
You just have to run the soft, then enter the driver path, and you will find a dip.cpp file in the executable directory
![;p ;p](https://neo-source.com/Smileys/default/wink.gif)
to compile it under GCC, use the command --------> dipripper.cpp -03 -o dipripper.exe
However, there's few things that are incomplete:
- ATM the #define are ignored, need to modify the code to get them automatically :idiot:
- need to find a way to ask user which inputs he wanna use (i'm speaking off the first element of BurnDipInfo struct, nInput).
- Finally, need to adjust the mask values (like 0xc000, which FBA can't handle).
For the rest, that's works pretty well, it could already save a lot of time, just add a try with cps1.c from MAME, that's funny lol
![grin :biggrin:](https://neo-source.com/Smileys/default/grin.gif)
Hope it will help
![wink :wink:](https://neo-source.com/Smileys/default/wink.gif)