Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: led wiz, mamewah and command lines  (Read 3122 times)

0 Members and 1 Guest are viewing this topic.

tony.silveira

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 697
  • Last login:September 27, 2024, 03:04:35 pm
    • my baby
led wiz, mamewah and command lines
« on: February 02, 2009, 11:31:31 pm »
hi all,

i did a quick search on here and came back with way too many posts to try and dig thru.

might anyone have a quick and easy how-to for getting the led wiz to run from the "pre-emulator" command line within mameWAH?  it can be either an "all on" or a command to run a script.  from there, i'll be able to figure it out.

what i've done:
1.  ran ledblinkyanimationeditor
2.  saved a simple lights ramp up animation as "panel.lwax"

i would think it would be as simple as "lwsend.exe panel.lwax" but that sure isn't it.

i'd really appreciate some feedback kind folk and thanks!

tony

arzoo

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2093
  • Last login:January 26, 2025, 08:51:53 am
  • Robots WILL kill you.
    • LEDBlinky
Re: led wiz, mamewah and command lines
« Reply #1 on: February 03, 2009, 09:15:02 am »
You'll need to use LEDBlinky to run the animation file you've created (not lwsend). The readme and help doc has info on how to run LEDBlinky in command line mode - required by Mamewah. But basically the command is: "LEDBlinky.exe panel.lwax"
Robots will kill you.



Arcade Addiction

tony.silveira

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 697
  • Last login:September 27, 2024, 03:04:35 pm
    • my baby
Re: led wiz, mamewah and command lines
« Reply #2 on: February 03, 2009, 03:59:30 pm »
thanks for the response.  i checked the doc but it only had instructions for atomicFE.

also, i can't find in the included software the ledblinky.exe app?  i have ledblinkyanimationeditor, ledwiz87 and lwsend.

maybe i need to redownload the software?

thanks for the input!

arzoo

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2093
  • Last login:January 26, 2025, 08:51:53 am
  • Robots WILL kill you.
    • LEDBlinky
Re: led wiz, mamewah and command lines
« Reply #3 on: February 04, 2009, 08:16:42 am »
thanks for the response.  i checked the doc but it only had instructions for atomicFE.

also, i can't find in the included software the ledblinky.exe app?  i have ledblinkyanimationeditor, ledwiz87 and lwsend.

maybe i need to redownload the software?

thanks for the input!

Ahhh, you must have downloaded the animation editor from the GGG site - that download does not include LEDBlinky. Here's what you're looking for - http://forum.arcadecontrols.com/index.php?topic=73905.0
Robots will kill you.



Arcade Addiction

tony.silveira

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 697
  • Last login:September 27, 2024, 03:04:35 pm
    • my baby
Re: led wiz, mamewah and command lines
« Reply #4 on: February 09, 2009, 01:31:47 am »
thanks arzoo.  i felt like an idiot for the newbish question once i had the correct download...

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

arzoo

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2093
  • Last login:January 26, 2025, 08:51:53 am
  • Robots WILL kill you.
    • LEDBlinky
Re: led wiz, mamewah and command lines
« Reply #5 on: February 09, 2009, 09:21:44 am »
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!
Robots will kill you.



Arcade Addiction

tony.silveira

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 697
  • Last login:September 27, 2024, 03:04:35 pm
    • my baby
Re: led wiz, mamewah and command lines
« Reply #6 on: February 10, 2009, 01:58:00 am »
i'll try out your suggestion and let you know how it works out.

i should have explained better.  i'm not trying to run the animation once and have it quit but rather have the buttons lit while the emulator is running.  i think me using animations is a bit over kill and will look into the ini files for ledblinky.  i believe within those i can simply turn buttons on per whatever emu/game is loaded?

i am looking forward to trying out your beta!