Author Topic: Override emulator configuration ?  (Read 2591 times)

Tharon

  • Newbie
  • *
  • Posts: 7
    • View Profile
Override emulator configuration ?
« 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.

liquid8d

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 442
    • View Profile
Re: Override emulator configuration ?
« Reply #1 on: December 02, 2016, 02:49:28 PM »
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 :)