Main > Software Forum
LEDBlinky - Arcade LED Control software and Animation Editor - v8.2
rdenis:
--- Quote from: arzoo on January 20, 2008, 10:49:59 am ---
As to the issue with the credit flashing feature - this turned out to be a major headache and a problem I've been working on for the past 3 weeks or so. It's actually not a bug in LEDBlinky but a thread priority issue between MaLa and Mame and LEDBlinky. Anyway, I have a fix which I'll post later this week.
Thanks,
arzoo
--- End quote ---
Cool - now I don't have to come up with a funky hardware solution - ie - putting an on/off switch inline with me pressing it on/off continuously once the credits are available!! ;D
rdenis:
--- Quote from: arzoo on January 20, 2008, 10:56:08 am ---rdenis,
Post or pm your debug.log (see my prior reply to kegger), and we can figure out why the button is not lighting correctly. I've also fixed the mame output timing issue - see my prior post. Tx.
--- End quote ---
Okay I looked at the debug file and looked like a MAME config issue - went into a game and selected Admin menu/General Controls and selected Player 2 controls. Sure enough Player 2 buttons 4,5,6,7 were mapped to Joycodes with no corresponding Keyboard input. I manually overode the default configs to have keyboard inputs and the lighting works now. However, with the override, I lost the original Joycodes (not sure it matters or not?) and the change in mapping I made within MAME is not reflected in the Control-Input_mame.ini file which says it is generated by GenMameDefault.exe from the Mame Source file (input.c). I ran (double clicked) GenMameDefault.exe again and while it seemed to do something my Control-Input_mame.ini file is still the same. Huh? Me confused. ???
The short answer is I got it working - but I don't really understand how. I seem to recall in the dark recesses of my mind that MAME does not assign keyboard inputs beyond four buttons but I thought that was only for Players 3 and 4.
Anyhoo, it works, I don't know why - but I would like to know the proper way to correct this for future reference. If someone asked me tomorrow how to fix it I'd tell them they were high. :dizzy:
rdenis:
Alright I think I am starting to figure some of this out - put all my Mame General Input controls back to default configurations and then added the relevant Joycodes in GenLEdBlinkyInput for all my buttons. Works like a charm now.
Another thing I am trying to figure out is how to light the Player and Credit buttons at the same time the game controls are dislayed when scrolling in the Mala UI screen.
arzoo:
--- Quote from: rdenis on January 21, 2008, 03:59:32 am ---Alright I think I am starting to figure some of this out - put all my Mame General Input controls back to default configurations and then added the relevant Joycodes in GenLEdBlinkyInput for all my buttons. Works like a charm now.
--- End quote ---
rdenis,
Glad you got it working!
The thing to remember when using the GenLEDBlinkyInputMap is that you need to assign the same keycode, joycode, or mousecode to each LED port as is physically wired to the keyboard or joystick encoder. So for example, if player 2 button 5 is wired to a joystick encoder, joystick 2 button 1, then use JOYCODE_2_BUTTON1. But if it's wired to a keboard encoder, "Y", then use KEYCODE_Y. But again, you've got it working so that's all that counts! :)
Just for reference - for a control that has never been remapped within Mame, LEDBlinky uses the value in Control_Input_mame.ini. When you remap a control in the General Input section (which effects all games), LEDBlinky uses the Default.cfg file (in the Mame cfg folder). And when you remap controls for a specific game, LEDBlinky uses the <rom>.cfg file.
You should never really need to run the GenMameDefault.exe app - in fact I've removed from the most recent LEDBlinky install because it's of no use anymore. You can delete it.
--- Quote ---Another thing I am trying to figure out is how to light the Player and Credit buttons at the same time the game controls are dislayed when scrolling in the Mala UI screen.
--- End quote ---
This is a new feature that I've already added for the next release. It will work for both the MaLa scrolling and during game play.
rdenis:
Thanks Arzoo - this is an awesome app!!! :cheers:
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version