Main > Software Forum
MAMEWAH and LED's...
<< < (2/3) > >>
KillerArcades:
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
Minwah:

--- Quote from: SKondris 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)

--- End quote ---

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?

--- End quote ---

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?

--- End quote ---

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?

--- End quote ---

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.

--- End quote ---

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:
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!!!!!!!
MikeT:
Thanks Minwah!!!!!

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

Mike
KillerArcades:
One question, where can I get the latest beta version you mentioned?  I can't seem to find it anywhere on your site. :(

thanks,
Navigation
Message Index
Next page
Previous page

Go to full version