Main > Main Forum

LED-Wiz USB LED and Output Control Device now available. *Blinky lights*

<< < (22/92) > >>

RandyT:

--- Quote from: jdjuggler on October 12, 2005, 11:09:25 am ---I think gl.tter's Light Signal Engine is designed to use the signals that mame already generates on its own.  I don't believe he needs to submit anything to mamedev's (unless there are events that are not emulated correctly).
http://r-i-l.net/glMAME/gl.tter%20LSE.htm

--- End quote ---

This is from the "What's Done" section at the above link:

"I've already implemented and integrated the light signal framework, and the first draft of the custom signal generation engine, into Mame 0.95."

Sounds like MAMEdevs need to be involved to me, otherwise it will only work on a custom build.

Am I missing something?

RandyT

Silver:
The LSE engine is 100% a custom build. Mame does NOT forward and LED messages to anything apart from the keyboard led lights.

To get lights apart from these keyboard lights working WILL require either a modded mame build or a submission to Mamedev.

There are several good arguments as to why the adding output for LED's that originally existed in games to mame would be including (games which used more than 3 Lights are currently 100% unsupported in mame and therefor inaccurate. Adding something like gl.tters LSE would enable more accurate emulation. Note that all this whiz-bang lightshow/show what mode my joystick in stuff is completely extraneous to mame and would have to be dealt with externally. However, the LSE solution allows (I believe) additional monitoring/LEDs to be synced with mame events if someone chose to (similar to the cheat.dat memory watching).

Custom mame builds for this kind of thing are never good in the long run. (IMHO)

Silver:
My assembler is a little 'rusty' so I'll best guess.

Quick note: All I'm saying about LSE is what I've read from other threads - so I could be wrong.

Basically if you mean can you use memory locations of certain game events to monitor and signal your LEDs, then the answer is probably yes. The way it was implied to be working before is that you can use the cheat engine/finder to scan for memory locations very quickly (see Buddabings LED thread for examples using Mr.Do - gl.tter mapped lots of in game events to his LEDS I believe.

jdjuggler:

--- Quote from: Silver on October 13, 2005, 04:20:26 am ---My assembler is a little 'rusty' so I'll best guess.

Quick note: All I'm saying about LSE is what I've read from other threads - so I could be wrong.

Basically if you mean can you use memory locations of certain game events to monitor and signal your LEDs, then the answer is probably yes. The way it was implied to be working before is that you can use the cheat engine/finder to scan for memory locations very quickly (see Buddabings LED thread for examples using Mr.Do - gl.tter mapped lots of in game events to his LEDS I believe.

--- End quote ---

Excactly, that was my point from before.  It appears that this light engine run outside of MAME.  There is no need to have a special build of MAME.  This light engine will pass lighting events to the LED's without MAME as well.

Where's gl.tter?... we need his comments on this!
JD

JoyMonkey:

--- Quote from: jdjuggler on October 13, 2005, 11:48:33 am ---Excactly, that was my point from before.  It appears that this light engine run outside of MAME.  There is no need to have a special build of MAME.  This light engine will pass lighting events to the LED's without MAME as well.

--- End quote ---

Mame needs to know what memory addresses it needs to monitor for each game (these are listed in seperate config files) and what to do once one of the specific events occurs. In the current standard Mame build there is no way for it to do this- you can put the light event config files into your Mame folder but it's not going to do anything. Until the Mame devs add an output system that works with it you'll need to compile a build incorporating Gl.tter's LSE. I have a binary that gl.tter compiled a while back with a beta of his LSE included and that's how it works; you definitely need a special build of Mame.

For the time being AdvMame should work; you can use its event.dat to to watch for specific events in each game and use it's scripting to output a signal to the LED-Wiz when the event occurs. Though it won't handle more than 14 events for each game and I'm not sure of how to address a USB device from it.


Edit; Actually, I guess it wouldn't have to talk to the LED-Wiz directly, but Randy's software (or the clipboard) that controls the LED-Wiz. I don't think that's easily do-able with AdvMame scripting.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version