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: MAMEWAH and LED's...  (Read 2008 times)

0 Members and 1 Guest are viewing this topic.

KillerArcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 115
  • Last login:January 22, 2009, 02:09:39 pm
MAMEWAH and LED's...
« on: April 25, 2006, 06:55:11 pm »
I posted this in the software forum earlier, but wasn't getting responses (and i'm a tad impatient some times ;) ), anyways, here's my woe:

So, my system shell's straight into my FE and I just switched to PowerMAME after completing my first LED loaded CP (looks awesome!! Pics will be coming, don't worry, I'm quite proud of it Cheesy), and powermame seems to be working as I expected (wonderfully that is), but here's my question:

Can anyone tell me how to get my mahuti's app to launch with mamewah so that I can have some lighting going on while inside mamewah?

thanks in advance,
yeah, that's right.

MYX

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1527
  • Last login:September 18, 2020, 05:00:22 pm
  • Even Jesus loves Donkey Kong!
    • MYX Digital Blog
Re: MAMEWAH and LED's...
« Reply #1 on: April 25, 2006, 07:20:59 pm »
Have MAMEWah launch PM then you get all the PM Functions.
M    Y    X

BLACKOUT  - Finally rewritten - http://blog.myxdigital.com/
Original BLACKOUT thread - http://forum.arcadecontrols.com/index.php?topic=48239.0

KillerArcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 115
  • Last login:January 22, 2009, 02:09:39 pm
Re: MAMEWAH and LED's...
« Reply #2 on: April 25, 2006, 07:28:05 pm »
yeah, but I'm referring to having my LED's animating while in Mamewah before I launch PM.

I've got PM working pretty well, but it's while in Mamewah's menu's that I'd like my start button to be pulsing to draw people's attention to it for starting a game, etc.
yeah, that's right.

MYX

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1527
  • Last login:September 18, 2020, 05:00:22 pm
  • Even Jesus loves Donkey Kong!
    • MYX Digital Blog
Re: MAMEWAH and LED's...
« Reply #3 on: April 25, 2006, 09:30:08 pm »
oh. I see.
M    Y    X

BLACKOUT  - Finally rewritten - http://blog.myxdigital.com/
Original BLACKOUT thread - http://forum.arcadecontrols.com/index.php?topic=48239.0

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: MAMEWAH and LED's...
« Reply #4 on: April 26, 2006, 04:49:19 am »
Forgive me for not really knowing how you operate these newfangled LED things...but I guess you could use (in mamewah.ini):

startup_app_commandlines

...to specify an app to run to do it?  This would be run as soon as Mamewah starts...

KillerArcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 115
  • Last login:January 22, 2009, 02:09:39 pm
Re: MAMEWAH and LED's...
« Reply #5 on: April 26, 2006, 09:25:39 am »
Ah, yes that sounds like exactly what I need, can you give me a sample ini line with that command line...? something like this:

startup_app_commandline                    (application filename, eg c:\app.exe)

just add that in the mamewah.ini Misc Options area...?

And if that's correct, then my next question is, will this startup_app be re-initiated every time I exit an emulator and come to mamewah if I turn it off in my emulator specific ini "external app" commands?

Right now, when I want to launch my NES emulator, I launch my LED control app (swiftled) through using the emulator specific ini file's "external application settings" lines to launch the lighting setup for my NES controls. So, if I use this startup_app commandline to launch my LED app in the FE, then I'll use these emulator specific external app commandlines to stop that sequence and then the second line to start my emulator specific lighting sequence, correct?

That then makes ask you if there a way to send a command/control to an external app upon exit of my emulators so I can stop a lighting sequence and return to the FE without that emulator specific lighting sequence still running?

And that then brings me back to the second question I had above about whether or not the startup_app command will be re-initiated/re-sent every time I exit an emulator and come back into mamewah, so I can consistently have one lighting sequence running in my FE, and different ones per emulator, etc.

Is that too much to ask.  ;D
yeah, that's right.

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: MAMEWAH and LED's...
« Reply #6 on: April 27, 2006, 06:55:45 am »
Ah, yes that sounds like exactly what I need, can you give me a sample ini line with that command line...? something like this:

startup_app_commandline                    (application filename, eg c:\app.exe)

Yep:

### External Application Settings ###
startup_app_commandlines  c:\app.exe

Quote
And if that's correct, then my next question is, will this startup_app be re-initiated every time I exit an emulator and come to mamewah if I turn it off in my emulator specific ini "external app" commands?

That app is only run on Mamewah startup...simple as that.

Quote
Right now, when I want to launch my NES emulator, I launch my LED control app (swiftled) through using the emulator specific ini file's "external application settings" lines to launch the lighting setup for my NES controls. So, if I use this startup_app commandline to launch my LED app in the FE, then I'll use these emulator specific external app commandlines to stop that sequence and then the second line to start my emulator specific lighting sequence, correct?

Correct...and you could then use the 'post_emulator_app_commandlines' to run the 'FE LED' sequence again after quitting the emulator.

Quote
That then makes ask you if there a way to send a command/control to an external app upon exit of my emulators so I can stop a lighting sequence and return to the FE without that emulator specific lighting sequence still running?

Oh, I think I answered this above...

Quote
And that then brings me back to the second question I had above about whether or not the startup_app command will be re-initiated/re-sent every time I exit an emulator and come back into mamewah, so I can consistently have one lighting sequence running in my FE, and different ones per emulator, etc.

Nope, see above again.

One thing to note...you'll need to use the latest beta (v1.62b10) to use these features properly...but I think it will do exactly what you want, using the following settings:

(mamewah.ini):

startup_app_commandlines                  (use this to start the FE LED app, when launching Mamewah)
exit_app_commandlines                     (use this to quit the FE LED app when Mamewah is quit)

(emuname.ini):

pre_emulator_app_commandlines             (use this to quit the FE LED app, and start the Emu LED app)
post_emulator_app_commandlines            (use this to quit the Emu LED app, and start the FE LED app)

Note: for all the above settings you can specify multiple apps seperated by semicolons ( ; )..eg:

pre_emulator_app_commandlines c:\app1.exe;c:\app2.exe

Hope that helps :)

KillerArcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 115
  • Last login:January 22, 2009, 02:09:39 pm
Re: MAMEWAH and LED's...
« Reply #7 on: April 27, 2006, 12:17:00 pm »
Awesome! I think that's exactly what I need. I'll download your latest beta and give it all a shot tonight.

This is going to be so friggin' awesome!!!!!!!
yeah, that's right.

MikeT

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:July 19, 2006, 06:52:36 pm
Re: MAMEWAH and LED's...
« Reply #8 on: April 27, 2006, 12:20:33 pm »
Thanks Minwah!!!!!

I needed this info as well - You're awesome!

Mike

KillerArcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 115
  • Last login:January 22, 2009, 02:09:39 pm
Re: MAMEWAH and LED's...
« Reply #9 on: April 27, 2006, 12:37:05 pm »
One question, where can I get the latest beta version you mentioned?  I can't seem to find it anywhere on your site. :(

thanks,
yeah, that's right.

KillerArcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 115
  • Last login:January 22, 2009, 02:09:39 pm
Re: MAMEWAH and LED's...
« Reply #10 on: April 27, 2006, 04:09:48 pm »
nevermind, got the answer I needed. :)
yeah, that's right.