MAME command line configuration

MAME command line configuration - Free stock photo of birthday, blooming, bouquet

Do you know know how to configure MAME command line for Windows ?

I'm setting up a Windows XP box to use on an Arcade project.

I've always used MAMEUI for playing mame roms, it's a great emulator with plenty of settings that you can manage through a user interface.

Well now I'm trying to achieve similar results by using the MAME command line emulator, because this is what front ends such as mGalaxy or Hyperspin require. But I can't find a way to configure it in any aspect, whatsoever, as I was able to do with MAMEUI.

These are some of the emulation properties I would like to configure for the MAME command line: - Video mode - Aspect ratio - Emu speed - controller setup - etc

Any tip be greatly appreciated :)



Best Answer

The mame.exe (or mame64.exe) has extensive command line help built in. Just open up a command prompt, navigate to your MAME directory and type "mame -showusage" for a list of them.

The most basic command line would be:

mame.exe [gamename]

You can also get a list of configuration options with:

mame.exe -showconfig

Which will list what your configuration is set to. Finally the best way to control all of these settings is with a config file (as your command line can get extremely long, maybe too long) so you can create a new config file using:

mame.exe -createconfig

This will create a default mame.ini file in the same directory as your executable then you can edit it with a text editor to your liking. The INI file values are somewhat self explanatory but then you can supplement it with the documentation from the official site here

Hope that helps!




Pictures about "MAME command line configuration"

MAME command line configuration - Free stock photo of adult, chrome, exhibition
MAME command line configuration - Black and White Striped Textile
MAME command line configuration - Train Railway Near Trees



How do I use mame command line?

To do so click \u201cStart\u201d > \u201cRun\u201d and type \u201cCMD\u201c. Type \u201ccd\\\u201d to go to the root directory. Type \u201ccd mame\u201d to go into the \u201cC:\\mame\u201d folder....Now the game rom should run.
  • To insert a quarter, press 5.
  • For 1 player, press 1. For 2 players, press 2.
  • P pauses the rom.
  • You can press Tab to access the options in MAME.


  • How to Configure mame?

    MAME looks for ini files in it's root folder and it's default ini path which is C:\\Mame\\ini . These ini files are loaded in a specific order. As each file loads, that files settings are overridden by the settings in the next ini file.



    Setting up a command line WolfMAME




    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Jill Burrow, EKATERINA BOLOVTSOVA, Adrien Olichon, Krivec Ales