RetroFE forums

General Category => General Discussion & Help => Topic started by: NateMac00 on January 08, 2021, 08:05:12 PM

Title: able to run a launch script before and/or after launch?
Post by: NateMac00 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
Title: Re: able to run a launch script before and/or after launch?
Post by: walknight 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.
Title: Re: able to run a launch script before and/or after launch?
Post by: NateMac00 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.