Rather than using the command line to set up the options you want to use in MAME, you can adjust the settings in the mame.ini
file. This is where MAME stores it's default configuration information. To create the default mame.ini
file use either of the following command lines...
mame64 -createconfig
mame64 -cc
To edit the mame.ini
file in Windows, first find the file in the C:\Mame
folder. To open the file you may need to associate it with a text editor. To do this, simply right click it and select the "Open With..." option. Use Notepad if you don't have your own prefered editor. You can now double click the mame.ini file and it will open.
Here is an example of a mame.ini file...
If you look at the file, the options are grouped together under headings. The format of the options are fairly simple to follow. Most things with a yes / no answer are denoted by 0 for no and 1 for yes. there are also a few numerical options (e.g. gamma) and a few that require a text answer (e.g. rom path). All of the options in the mame.ini
file are covered on the Command Line pages.
If you configure this file correctly you can significantly reduce the amount of options that you need on the command line.
Finally, If you mess the whole file up, just delete it and run mame64 -cc
from the command line to make another.