| Main > Software Forum |
| LEDBlinky Animation Editor (Beta v1.0.0.1) |
| << < (6/10) > >> |
| headkaze:
--- Quote from: arzoo on September 17, 2007, 03:47:55 pm --- --- Quote from: lettuce on September 17, 2007, 01:32:39 pm ---Can this latest version flash the player start buttons on a credit insert yet?? --- End quote --- As it stands, that would be a difficult feature to add. The mame output system does not support any type of coin indicator - this is by design. So the only way I see to do this would be for some app to sit in memory and monitor the keys pressed while mame is running. I believe that J5 can do this, but I could be wrong here. Anyway, using mame's output system, I've added a 'Pause' feature to LEDBlinky (not yet released), but unless the devs add a 'Coin' event to mame's output messages, I doubt I'll be adding a credit-blink feature. That's not to say it isn't a cool idea, just a pain to implement. --- End quote --- Some games implement led0-ledx output's already so it's actually a very easy feature to add especially if you've already added support for the pause output message. An easy game to test this is DigDug. When you insert a coin for player 1 it will send led0 and set it's state to 1 and 0 which you just redirect to the player1 start led on and off. It works similarly for player 2 and player 2's start button. So your 99% there already, you just need to associate ledx output's to LED's on the LEDWiz. All I've done for my plugin at this stage is associate led0 with player 1 start button and led1 to player 2's start button. Here is an example of the output from DigDug --- Quote ---mame_start id 0 = 'digdug' id 12346 = 'led0' <-- Player 1 Coin button is pressed update_state: id=12346 (led0) state=1 update_state: id=12346 (led0) state=0 update_state: id=12346 (led0) state=1 update_state: id=12346 (led0) state=0 update_state: id=12346 (led0) state=1 update_state: id=12346 (led0) state=0 update_state: id=12346 (led0) state=1 update_state: id=12346 (led0) state=0 id 12345 = 'led1' <-- Player 2 Coin button is pressed update_state: id=12345 (led1) state=1 update_state: id=12346 (led0) state=1 update_state: id=12345 (led1) state=0 update_state: id=12346 (led0) state=0 update_state: id=12345 (led1) state=1 update_state: id=12346 (led0) state=1 update_state: id=12345 (led1) state=0 update_state: id=12346 (led0) state=0 mame_stop --- End quote --- |
| arzoo:
hk - I recall reading that only about 30 games support coin lights, can you confirm? I'm not sure if it's worth the effort for only a handful of games. |
| headkaze:
You havn't read the MameInterop readme have you? ;) I wrote a simple program to search out drivers with led, lamp or digit in them. Then I calculated the games that used these drivers and here are the very rough figures I got. --- Quote ---These are total approximations for Mame 0.111 - 1477 ROMs support led outputs - 33 ROMs support lamp outputs - 31 ROMs support digit outputs --- End quote --- |
| arzoo:
--- Quote from: headkaze on September 17, 2007, 04:56:28 pm ---You havn't read the MameInterop readme have you? ;) I wrote a simple program to search out drivers with led, lamp or digit in them. Then I calculated the games that used these drivers and here are the very rough figures I got. --- Quote ---These are total approximations for Mame 0.111 - 1477 ROMs support led outputs - 33 ROMs support lamp outputs - 31 ROMs support digit outputs --- End quote --- --- End quote --- Does this indicate that 1477 games provide an output message when the credit button is pressed? If that's the case, I guess it is worth the effort! |
| headkaze:
--- Quote from: arzoo on September 17, 2007, 05:04:44 pm --- --- Quote from: headkaze on September 17, 2007, 04:56:28 pm ---You havn't read the MameInterop readme have you? ;) I wrote a simple program to search out drivers with led, lamp or digit in them. Then I calculated the games that used these drivers and here are the very rough figures I got. --- Quote ---These are total approximations for Mame 0.111 - 1477 ROMs support led outputs - 33 ROMs support lamp outputs - 31 ROMs support digit outputs --- End quote --- --- End quote --- Does this indicate that 1477 games provide an output message when the credit button is pressed? If that's the case, I guess it is worth the effort! --- End quote --- Actually it doesn't mean that at all :) It means that ~1477 games have ledx outputs in their drivers. These could be led's for other things besides flashing start buttons _but_ I would say the majority of them are for this reason. But still alot of people use the ledutil program to flash the capslock/scroll lock lights on their keyboards using led0 and led1 outputs. Why not have it flash the player 1/2 start buttons using the LEDWiz instead? Makes sense to me. But there is no way to say without going through each game which one's are for that. But again, I would expect most of them are for that reason. In the MameInterop SDK readme.txt I give a list of games so you can actually test a few out. |
| Navigation |
| Message Index |
| Next page |
| Previous page |