i used the command you suggested and it sort of works. the animation loads and my buttons light up but then the game doesn't start. it's as if the command line in mamewah is waiting for the command to end before proceeding to the actual emulator start command. and since the animation is a loop, it is constantly running.
when i kill ledblinky from the task bar, the emulator THEN starts. might there be some other command addition to ledblinky to force it to run in the background, there by letting mamewah continue? something like a -1 or so on after "ledblinky.exe panel.lwax"?
i'm so close i can smell it!
i appreciate the input arzoo!
tony
tony,
If I understand correctly, you want the animation to run one time (1 loop) each time a game starts, yes? If it's only MAME that you're running, then the easiest solution is to set "Use MAME to Trigger Game Start/Stop Events" option and set the "Game Start Animation" to the one you created. Then just start LEDBlinky.exe (no parameters) before you start mamewah (and don't use the mamewah pre-emulator command). With this setup, each time you run a MAME game, LEDBlinky will detect the game start and do whatever game start options you have enabled (run your animation).
But if you're running other emulators also, then you'll need to use the pre-emulator command with LEDBlinky parameters. LEDBlinky has a bunch of command line options, each for different events (FE Start, Emulator Selected, Game Start, Game Quit, FE Quit, etc.). I assume that mamewah can pass parameters like the current rom and current emulator. This is the Game Start command line option (others are documented in the readme.txt):
LEDBlinky.exe <rom> <emulator>
The <emulator> parameter is optional with MAME as the default. The <rom> is required. Don't forget to set the game start animation

One of these options should do the trick for you!