Attract-Mode Support Forum
Attract-Mode Support => Scripting => Topic started by: Tharon on December 02, 2016, 02:19:00 AM
-
There is a way to override the emulator configuration within a script ?
I want to code a theater mode within a theme, using the record and playback functionality of MAME. But i need to launch the emulator programmatically with different commands for recording (-record <filename>) and playback (-playback <filename). But i can't find a way to do this.
-
You can do plugin_commands to execute scripts for launching of the emulators with your own custom params - but I'm not sure if AM gives you access to the executable path, so you might have to have a configuration to provide that information to your plugin/script, or manually read the config file for that info :)