Add Launch Cancellation Support for Plugins
š Summary
Add an official way for plugins to cancel a game launch before it begins.
ā Problem
Plugin developers can currently respond to game launch events, but there is no clear supported way to stop a launch from continuing.
This forces developers to rely on unsafe workarounds, such as temporarily changing launch settings or redirecting the launch to a dummy application. These workarounds can be fragile and may risk altering a userās emulator or game configuration.
š” Proposal
Add a supported launch cancellation option to the plugin API.
When a plugin runs before a game or additional app launches, it should be able to safely cancel that launch and optionally provide a reason that can be shown to the user.
š§© Use Cases
A plugin blocks launching when required files are missing
A plugin prevents launch until a custom confirmation prompt is accepted
A parental control or playtime plugin cancels launches based on rules
A plugin checks dependencies before allowing an emulator to start
š¦ Benefits
Makes launch-related plugins safer
Prevents accidental changes to emulator or game configuration
Gives plugin developers a clean supported workflow
Improves reliability for custom launch validation tools
Helps users understand why a launch was stopped
ā ļø Considerations
The cancellation design should avoid breaking existing plugins. It may be better to add a new cancellable launch event or launch arguments object rather than changing existing plugin behavior directly. Cancellation should work consistently in both LaunchBox and Big Box.

Log in to comment and vote
Comments2
Jun 27
PinnedHi there!
Thanks so much for submitting this request and for taking the time to explain your use case ā that context is always super helpful.
Iāve gone ahead and fleshed out the main idea using the info you provided, and Iām opening it up to the community for further discussion and feedback. Please let me know if this fleshed-out version doesnāt match your original intended request.
Feel free to let me know if you have any extra thoughts, examples, or edge cases you think might be relevant!
Cheers,
The LaunchBox team
stigzler
Jun 27
Add a CancelLaunch facility to IGameLaunchingPlugin
I recently had a need to cancel a Game launch in a plugin I was making. I couldnāt find any facility to do this natively in IGameLaunchingPlugin or IGameConfiguringPlugin.
How hard would this be to implement? Unfortunately, I had to hack a way to do it (change and restore the emulator applicationPath to a silent dummy exe) which was less than ideal, risking corrupting the emulator setup.