
I select the 4 button list, choose whether or not I want to use the Player 2 controls in addition to the Player 1 controls in an alternating game, and it makes the CFGs for me. The original goal was the 4 button games. With the script I wrote, I can automatically remap any list of games created by Romlister. I used Romlister to create a list of 4 button games, 5 button games, 6 button games, and a list of alternating 2 player games. Quoting myself, so you guys will know what I'm talking about. It's also handy for viewing game's controls and their relation to each other. I'm not sure if this will be of any interest to you but I wrote a program recently called "ControlsDat" which was to help in updating Controls.xml file. So there is quite a bit of flexability there. You can also set up cfg's for games using the source file, cloneof or romof. Since neogeo games are all decended from the same parent, you could just use a ctrlr file with the neogeo entry, but I'm sure your aware of that and are not using it for a reason. I don't believe this is available in newer versions of Mame though, so I have no idea if that would work either. So perhaps you could trying using an older version of Mame with AHK to generate the cfg's and then copy them over to your newer version.Īnother option might be to compile Mame using the DIRECTINPUT=1 variable which forced Mame to compile using the old input code. The Raw Input System was introduced around 0.117 which is when AHK stopped being able to send keys to Mame.
#Mame32 0.63 how to
You could probably figure out how to calculate this information by taking a look at the Mame source code. I have no idea what the newseq and mask info is for or why Mame needs it, but it wasn't always there and makes creating custom cfg's by hand pretty much impossible. Hehe interesting, didn't expect it would be about that. I could do this by hand, but I won't, I'm mostly just fooling around with scripting.īTW: This SHOULD teach you to (not) reply to one of my posts! If I can't send input to Mame, do you know an easier way? Where does the "Mask" information come from? (I'm only doing all of this to get the "Mask" information correct.)Īfter all of that was done, I would have the script then go through each cfg file, and change them to the correct inputs by searching for coin1, button1, button2, etc. Since I don't think I can count on how many times to send "Down" to get to the correct entries in the Tab menu, I was planning on using the "shotgun approach" to change every input from the 3rd to the 17th on the Menu to the letter Q. I couldn't find a pattern in list.xml as to how the information shows up in the "Input This Game" section in Mame (For example if it says coin 2 in list.xml, then most of the time, there are two entries in Mame, Coin1, and Coin2, but somtimes only Coin1). (Just running the games themselves doesn't put the "Mask" information in the cfg, you have to change a mapping to get the "Mask" to show up). My intentions were to write a script to run Mame, and through the Tab menu, change the default settings for every game on the list, therefore creating the cfg files with the masks in them. I tried to just make duplicate cfg files, but Mame adds some masks to the cfg files, and I don't know where the information for the masks come from (It doesn't appear to be in list.xml). I have a list from Romlister that has an additional 234 games, not including NeoGeo. I'm trying to get all of my 4 button games to light up like the Neogeo games. Ok Headkaze, for you, I'll explain where I am headed. I thought maybe it was the new input system that was keeping it from working, so I downloaded Mame.117, and no luck.Īnd yes, I know I can compile my own version to stop Mame from asking to enter "OK", but that's not where I'm headed.
