I want a loading screen that plays before games, and the game starts parallel with it and also closes when the emulator process is detected.
So first, I tried the fadetogame plugin and used some images as a loading screen. It failed, as the emulator starts after the plugin ends.
Then I used the LaunchDecorator plugin and used a BAT script to play the VLC video. It worked, but there are many problems, as it does not exit as the emulator start, so I used different lengths of videos for different emulators, hoping they wouldn't play for too long or too short.
(Currently this is what I am using, but it's not robust, as all games take different times to launch.)
And last, I created a C# app that plays video as soon as it launches in fullscreen loop, and as soon as it detects the process, which is done by process name, the app auto-closes and fades. I tested it, and it was working individually but not working with attract mode same running with launchdecorator and using a BAT script, as it is non-blocking.
any suggestion or alternative The VLC method works great, but I want the video to quit as soon as the game loads.