If you use the following options on the command line, preface it with a "-no" if you want it set to false, or just a "-" if you want it set to true.
For example, if you want skip_warnings set to 0 on the command line, run mame thusly:
mame -noskipwarningsAnd if you want skip_warnings set to 1 on the command line:
mame -skipwarnings
But,if you want to set skip_warnings to zero in the mame.ini, you would put the following in your mame.ini:
skip_warnings 0
And if you want skip_warnings set to 1 in the mame.ini:
skip_warnings 1
Here are the options for which you have to use the "-no" on the command
line. The center column is the default value for the option.
| -[no]skip_warnings | 0 | Skip all MAME warnings |
| -[no]intmakectrl | 0 | Use internal controls artwork generator |
| -[no]extmakectrl | 1 | Use external controls artwork generator |
| -[no]intmakeleds | 0 | Use internal LED lighting |
| -[no]extmakeleds | 0 | Use external LED lighting application |
| -[no]ctrlr_override | 1 | Enable CPMaker ctrlr file override |
| -[no]showctrl | 1 | Show controls artwork |
skip_warnings
Several games, such as Galaga, work well but still have a warning which is
displayed when the game starts which reads, "This game has imperfect
graphics". This option allows the user to bypass the warning.
Keep in mind that the warning is there for a reason. The option will bypass all warnings, including the warning that the game does not work. Users intending to use this option must filter their game lists to exclude non- working games!
This option is off by default. Only use this option if you know what you are doing.
intmakectrl
If the internal artwork generator is not compiled into the executable, a
message will be logged and no artwork will be generated.
The extmakectrl option will override intmakectrl if both are set.
By default, intmakectrl is off.
extmakectrl
A batch file named "makectrl.bat" in the current directory is called at
startup if this option is set. If there is no makectrl.bat, an error will
be displayed but BuddaMAME will not exit. Makectrl.bat will be called with two
parameters, the rom name and the cloneof name. Within the batch file you can
refer to the rom name as %1 and the cloneof name as %2.
By default, extmakectrl is on.
intmakeleds
The intmakeleds and extmakeleds options are very similar to the intmakectrl
and extmakectrl options. The intmakeleds option will cause BuddaMAME to
light up control panel LEDs internally according to what panel is used and
according to what controls are active for the current game.
The extmakeleds option will always override the intmakeleds option if both are set.
One difference between the intmakeleds/extmakeleds and the intmakectrl/extmakectrl is that both intmakeleds and extmakeleds default to zero, whereas intmakectrl and extmakectrl default to zero and one, respectively.
extmakeleds
The extmakeleds option causes BuddaMAME to call a batch file named
"makeleds.bat" in the current directory. Similar to the extmakectrl option,
the makeleds.bat batch file will be called with two parameters, the rom name
and the cloneof name.
This option defaults to zero.
ctrlr_override
CPMaker supports multiple panels. Each of these panels may have different
ctrlr files. If the ctrlr_override BuddaMAME option is set, then the ctrlr
file in the panel file selected, if there is one, will override the ctrlr file
given by the -ctrlr MAME parameter.
This option defaults to 1, so by default, panel file ctrlr files will override the default MAME ctrlr file.
showctrl
This option, if set, enables the display of CPMaker artwork. Artwork
will still be generated, however, if either the intmakectrl or the
extmakectrl flags are set.
Typically the -noshowctrl or showctrl 0 option would be used in a game-specific .ini file. Some games, vertical games for example, cause the CPMaker artwork to be displayed in an aspect ratio that is incorrect.
You could also use extmakectrl 1 instead of showctrl 0 on a per-game basis if another artwork generator generated artwork in a more pleasing aspect ratio.
This option defaults to 1.