Author Topic: able to run a launch script before and/or after launch?  (Read 2463 times)

NateMac00

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
able to run a launch script before and/or after launch?
« on: January 08, 2021, 08:05:12 PM »
I would like to run the following script before a rom is launched, is that possible?
Code: [Select]
REG ADD "HKCU\Software\Future Pinball\GamePlayer" /v "ArcadeMode" /t REG_DWORD /d 1 /f

walknight

  • Newbie
  • *
  • Posts: 24
  • Karma: +4/-1
    • View Profile
Re: able to run a launch script before and/or after launch?
« Reply #1 on: January 09, 2021, 03:43:37 AM »
Not so familiar with Windows scripts, but technically you can create another batch file, which runs your scripts first (pre-execution), then starts the emulator, and optionally runs something else after the emulator has exited (post-execution).

Then just set up a RetroFE launcher to run your batch file.

NateMac00

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: able to run a launch script before and/or after launch?
« Reply #2 on: January 09, 2021, 04:08:57 PM »
Not so familiar with Windows scripts, but technically you can create another batch file, which runs your scripts first (pre-execution), then starts the emulator, and optionally runs something else after the emulator has exited (post-execution).

Then just set up a RetroFE launcher to run your batch file.
thanks, i wasn't sure if you could pass rom info into a batch file, i'll play around with it, thanks.