Core Scripting Options


autoboot_command
Description This option allows you to add a command that will be run when a system starts. This can be useful for computer systems that require a command to load a software image.
Full Command -autoboot_command <string>
Alt. Command none
Reverse Command none
Example mame64 spectrum batman -autoboot_command "j""""""\n" -autoboot_delay 5

The Sinclair Spectrum used quick keyboard shortcuts to enter commands. "j" is the quick key for Load. Any quotes need to be inside... err... quotes to be shown. Thats why there are six quotes in the command just to create the command Load "". The \n is use for a new line. The delay is there to allow for the system to finish starting up.
Mame.ini Command autoboot_command
Command Default
Argument Format <string>

autoboot_delay
Description This command is used to delay the string that you have added to the -autoboot_command. The value after is the amount of seconds to delay. This command can be useful if the system takes a while to finish booting.
Full Command autoboot_delay <integer>
Alt. Command none
Reverse Command none
Example mame64 spectrum batman -autoboot_command "j""""""\n" -autoboot_delay 5

The Sinclair Spectrum used quick keyboard shortcuts to enter commands. "j" is the quick key for Load. Any quotes need to be inside... err... quotes to be shown. Thats why there are six quotes in the command just to create the command Load "". The \n is use for a new line. The delay is there to allow for the system to finish starting up.
Mame.ini Command autoboot_delay
Command Default 0
Argument Format <integer>

autoboot_script
Description This option loads a LUA script when you run Mame
Full Command -autoboot_script <script>
Alt. Command none
Reverse Command none
Example mame64.exe -autoboot_script myscript.lua
Mame.ini Command autoboot_script
Command Default
Argument Format <string>

console
Description This option enables Mame's LUA console. This can be found on the command prompt and allows you to enter script commands whilst Mame is running.
Full Command -console
Alt. Command none
Reverse Command -noconsole
Example mame64.exe -console
Mame.ini Command console
Command Default 0
Argument Format <boolean>

plugins
Description This option enables Mame's LUA plugin system.
Full Command -plugins
Alt. Command none
Reverse Command -noplugins
Example mame64.exe -noplugins
Mame.ini Command plugins
Command Default 1
Argument Format <boolean>

plugin
Description This option lets you specify which plugins are loaded by Mame when it starts. You can add several plugins to the list by separating them with a comma.
Full Command plugin <plugin>
Alt. Command none
Reverse Command none
Example mame64.exe -plugin cheat
Mame.ini Command plugin
Command Default
Argument Format <plugin>,<plugin>,<plugin>

noplugin
Description This is the opposite to the above option as it is used to disable plugins that are enabled in the plugins.ini. You can add several plugins to the list by separating them with a comma.
Full Command noplugin <plugin>
Alt. Command none
Reverse Command none
Example mame64.exe -noplugin cheat
Mame.ini Command noplugin
Command Default
Argument Format <plugin>,<plugin>,<plugin>