Main > Software Forum
LEDBlinky - Arcade LED Control software and Animation Editor - v8.2
arzoo:
--- Quote from: gstav on September 08, 2022, 04:34:29 pm ---Ok, thanks! :timebomb: bummer! Launchbox restart ledblinky if I kill its process when running a game,
Tried to make some blocking script during the time of the game but no luck yet. Do you know how I could do this? :notworthy:
--- End quote ---
If you don't enable any of the LEDBlinky features that use mame outputs, then you should be fine using MAMEHooker. But if you want LEDBlinky to also use mame outputs, the only thing I can think of would be a script that sends LEDBlinky the FEQuit command (2), alters the LEDBlinky settings file and disables the mame outputs (UseMameOutputs=0), then start up LEDBlinky again with the game ROM. After exiting the game using MAMEHooker, repeat the process but this time enable the mame outputs setting (UseMameOutputs=1). Personally I don't recommend doing this as it would be overly complex and it's not clear it would even work, but maybe?
gstav:
Hmm I never thought about that. So what should I set up to block the hook functions in LEDBlinky config?
I did managed to do what you suggested, but it's kinda brute
I killed LEDBlinky.exe and MAMEhooker, restart MAMEhooker and then start the game. Sometimes LEDBlinky don't want to be started again and throws a angry message, so it would be so neat just skip the hook functions.
I can still use the standard led instructions from the ledcontrols xml right? I would be more than happy to just use MAMEhooker for output hooking :D
arzoo:
--- Quote from: gstav on September 09, 2022, 08:59:24 am ---Hmm I never thought about that. So what should I set up to block the hook functions in LEDBlinky config?
I did managed to do what you suggested, but it's kinda brute
I killed LEDBlinky.exe and MAMEhooker, restart MAMEhooker and then start the game. Sometimes LEDBlinky don't want to be started again and throws a angry message, so it would be so neat just skip the hook functions.
I can still use the standard led instructions from the ledcontrols xml right? I would be more than happy to just use MAMEhooker for output hooking :D
--- End quote ---
You can disable the mame output functionality in LEDBlinky - just uncheck "Flash Player Start with Credits + Other MAME Outputs" option on the Game Options tab. Or you can remove the mame.dll from the \LEDBlinky folder. Then all mame output features would have to be handled by MAMEhooker.
gstav:
Well that sounds so much easier than having all those command lines running before every needed title, thanks a lot boss. I will try this as as possible :cheers:
Thanks for the quick replies my man
update:
Did try to uncheck the "Flash Player Start with Credits + Other MAME Outputs" option, but it wasn't checked to begin with.
Also remove the mame.dll dind't work either. However, the trick was easier than I first thought, so what I did was to add to kill and restart MAMEHooker
when staring a game and it just worked fine :D So no need to bother LEDBlinky. Super happy and this is absolutely doable for me even though it means an entry per game.
Rock on! :cheers:
gstav:
I still have problem when launching in Launchbox though as it seems its still blocked in some way. have both removed the mame.dll and the output option is unchecked :angry: