Configuring MAME™ For X-Arcade™ Use - The Easy Way
For an even easier setup, try Maximus Arcade.
How To Use X-Arcade With MAME
If you are new to MAME, please see this MAME HOW-TO VIDEO
TEST YOUR X-ARCADE™
IMPORTANT: If your controller doesn't work in the X-Arcade™ Test Utility Program, then it will NOT work in MAME™.
Before attempting to play MAME games, test that your controller is fully working in our X-Arcade™ Test Utility Program.
The X-Arcade works as a simple keyboard, so if it is working in the test program but not in MAME, then you have a problem with your MAME software settings, not the controller!
Official MAME documentation - While we provide easy steps to get you started below, the devs are obviously the experts.
Option 1 - MAMEUI Setup:
- Download MAMEUI64 Here, 64-bit only.
- Run the downloaded executable file. On this screen be sure to take note of the directory you are extracting it to, this will be your MAME folder, we recommend "C:\MAME\" (without quotes). Install MAME™ by clicking the "Extract" button.
- Download X-Arcade MAME Injector. Run it, and if you installed MAME to the recommended location in the previous step just press 'Extract' button, otherwise change it to the directory you chose before extracting.
- Run the MAMEUI64 executable found in the folder where you put it in step 2 above. You can make a shortcut on your desktop by right-clicking on the executable and choosing 'Send to', then 'Desktop (create shortcut)'.
- Open Options (at the top), then 'Default System Options', select the 'Controllers' tab; and set your 'Default input layout' to 'X-Arcade' from the drop-down list (for trackball usage, also click the box to 'Enable mouse input'). DO NOT enable multiple keyboards or mice.
- Get ROMS (ROMs are games, none are included and we do not supply ROM files!) Put them in the "roms" subfolder in the "MAME" folder (do not unzip them) which is 'C:\MAME\roms\'.
- Hit F5 in MAMEUI to have it search for new ROMs. Click the 'Available' option on the left to see what games are ready to play.
Option 2 - MAME Official Commandline Setup:
- Download MAME™ Here, you want the Binary 64-bit version if you have a 64-bit version of Windows, otherwise download the 32-bit version if you have a 32-bit version of Windows or don't know. The 32-bit version will work on either version of Windows.
- Run the downloaded executable file. On this screen be sure to take note of the directory you are extracting it to, this will be your MAME folder, we recommend "C:\MAME\" (without quotes). Install MAME™ by clicking the "Extract" button.
- Download X-Arcade MAME Injector. Run it, and if you installed MAME to the recommended location in the previous step just press 'Extract' button, otherwise change it to the directory you chose before extracting.
- Get ROMS (ROMs are games, none are included and we do not supply ROM files!) Put them in the "roms" subfolder in the "MAME" folder (do not unzip them) which is 'C:\MAME\roms\'.
- Run the MAME executable (e.g. mame64.exe) found in C:\MAME. You can make a shortcut on your desktop by right-clicking on the executable and choosing 'Send to', then 'Desktop (create shortcut)'.
MAME™ Operation:
- Switch to Mode1:Move the switch on the back of the X-Arcade™ to the position closest to the serial port. (Note: For older models you will then need to push the button on the back of the X-Arcade™ twice, the light on the X-Arcade™ should go out on the first push and back on with the second).
- After you start up a game, use the left pinball flipper button on the left side of the X-Arcade™ (closest to you) to insert coins, and press the white start button(s) to play.
- You can skip the screens which ask you to type "OK" by moving the joystick left then right.
- You can exit a game by holding the player 2 start button and pressing the right pinball button simultaneously. (The Solo cannot do this)
- To enable game saves, in the Command-line version main menu go to Plugins and turn it on there. Otherwise open your plugins.ini file found in the main MAME folder with Notepad and next to 'hiscore' change the 0 to1.
- MANUAL CONTROL MAPPING: You can change the controls for any game by simply pushing the 'Tab' key while a game is already running to access the controls menu. Input (this game) overrides the general input settings and adds custom controller settings for just the game being used. We recommend against changing the Input (general) option because these settings will be applied to all games which overrides our config file.
- 2019 TANKSTICK NOTE: The new LED button on 2019 models acts as Mouse Button 3, so you will likely want to set it as your Exit Game button in your frontends or emulators.
TROUBLESHOOTING:
- If you need more help after carefully following the steps here, head to our MAME™ Troubleshooting section.
- X-Arcade™ Test Utility Program. If your controller doesn't work in the X-Arcade™ Test Utility Program, then it will NOT work in MAME™.
- If you mess up some controls (or a screen like Volume or similar is coming on when you press a button), delete the "default.cfg" file that is in the "cfg" folder in MAME™, or 'C:\MAME\cfg\'..
- MAME Official Docs.- for more help then we can provide here.
You can add even more functions like pausing or exiting MAME games by using our X-Hotkeys program.
The Advanced Way:
If you wish to use a different version of MAME or a Frontend, go here.
Frontends:
If you want more control of the MAME menus, check out these great front-ends with X-Arcade™ support.
Source article: <https://support.xgaming.com/support/solutions/articles/12000003052-configuring-mame-for-x-arcade-use-the-easy-way>
Tankstick Mode 1: both sides for an alternating-player game
Scope: a Tankstick in keyboard Mode 1, LaunchBox launching PC MAME, and an upright alternating-player game such as Galaga. These games can use the same Player 1 controls during both players' turns. A right side that works in a simultaneous fighting game but not during an alternating game's second turn does not by itself establish broken hardware. Mapping only the game's P2 controls may not affect its shared P1 inputs.
A customer running MAME 0.197 confirmed the following Galaga procedure after earlier instructions for a newer Append menu did not match their version. An upgrade, X-Arcade preset or two separate gamepad devices was not needed for this Mode 1 setup.
- Keep Mode 1. Launch Galaga through the usual frontend, press Tab and open Input (this Machine). Photograph the current assignments. Change this game's settings rather than Input (general).
- Highlight P1 Left, press Enter, move the left joystick left once and release it. Wait until the assignment finishes recording.
- Keep that same row highlighted. Press Enter again, move the right joystick left once, release and wait. Check that both assignments appear separated by OR. Record the controls separately; moving both at once can produce an unintended combination.
- Repeat for P1 Right and P1 Button 1, using each side's desired fire button. Keep the original left-side assignments as well as the added right-side inputs. Leave coin and start settings unchanged.
- Test a two-player game using each side during each player's turn. Either side can operate the active player, so the waiting player should leave the controls alone. Exit MAME normally to save, then reopen and verify the assignments persist.
Newer MAME versions may expose a separate Append/OR option. Follow the prompt for the actual version; if the labels differ or OR does not appear, stop and send support the version and resulting assignment photo. Do not replace a working emulator installation just to find a menu shown in a different version.
For upright Centipede, keep working trackball axis assignments unchanged and consider adding the right fire button to the shared P1 fire assignment using OR. The customer planned to extend the Galaga technique to Centipede and other games; those additional game results were not separately confirmed. Do not apply shared-P1 assumptions to every game or cabinet configuration.
Spinner mapping: select the game's actual analog input
First confirm that the trackball and spinners move the desktop pointer. In a reviewed Tankstick case, a spinner would not register as expected when the customer tried the game's Paddle input; mapping the game's Dial input instead resolved that spinner issue. Use the per-game input that the game actually exposes, then record the intended device. This does not establish that every spinner game uses Dial or that one Multi-Mouse setting fits every MAME build. Frontend game selection, emulator controls and other console-emulator settings remain separate.