Main > Software Forum
LEDBlinky - Arcade LED Control software and Animation Editor - v8.2
			arzoo:
			
			
--- Quote from: bent98 on February 23, 2008, 04:05:53 pm ---I just used your program to config my panel and its just awsome. Using LED-WIZ and single color buttons. Have a few questions. 
I have it configured right now in MALA and when  a game is launched to light up only the controls the game uses. However there are a few games I have remapped from mame defaults. Lednlinky seems to light up buttons based on default controls and not the custom ones for that game. Meaning its not reading a specific romname.cfg file in cfg folder in mame dir. 
Is it possible?
?
--- End quote ---
Yes - this is how LEDBlinky should work. You need to correctly specify the path to the mame\cfg folder. From the config app on the MAME tab, when selecting the MAME config folder make sure that the cfg folder is highlighted on the "Select Directory" dialog. This should solve the problem. In the settings.ini file you should see:
[MAMEConfig]
Mame_cfg_folder=C:\mame\cfg
--- Quote ---Randomly when jumping between emulators in MALA ill get an I/O error 6 from LEDBlinky and also sometimes access violation at addess 0047BD00 and read address 00000000 in xp and idea why? I attached my config and log files.
--- End quote ---
I see errors in your log when switching emulators. It seems like your Control-Color_emu.ini or Control-Color_mame.ini has an invalid value:
Invalid Intensity Definition [49,0,0,0]. Missing [A] value.
The value should look like this: 49,0,0,0,0
Could you zip and post those two files?
--- Quote ---Lastly are there any plans to add functionality similar to Lumniaudio application that Randy wrote?
--- End quote ---
Not likely, unless Randy wants to give me his code  ;D
		
			bent98:
			
			Here is the complete set of ini's. I didnt touch the color ones since I dont have any rgb lights.
One last thing I also noticed. On certain 2 player games button 5,6,7 on 2 player light up when they should not. Any 3 or 4 player game. Now I suspect what might be happing is this. Since my control panel has extra buttons that are mapped twice. For example I have 3 buttons wired to the same IPAC port. Now when I config my LEDWIZ button assignments in the LEDBLINKY INPUT MAP program I cant assign the same port label more then once. Since I have three player one buttons on my control panel I needed to use alternate port labels. Since these port labels are assigned specific keycodes and the keycodes can be use multiple times I would think that LEDblinky uses the keycodes to light up buttons and not the port label.
Am I correct in assuming? If so why does button 5 6 7 light up? 
		
			arzoo:
			
			
--- Quote from: bent98 on February 25, 2008, 12:08:23 am ---Here is the complete set of ini's. I didnt touch the color ones since I dont have any rgb lights.
--- End quote ---
I've identified a bug in the Profile Editor which only affected the  Control-Color_emu.ini file (used for any emulator other than MAME). Even though you don't have any RGBs, LEDBlinky still uses this file to set the LED intensities. Try the file I've attached - it should resolve the errors when switching emulators. I'll also send you a pm later tonight with a link to a patched version of the editor.
--- Quote ---One last thing I also noticed. On certain 2 player games button 5,6,7 on 2 player light up when they should not. Any 3 or 4 player game. Now I suspect what might be happing is this. Since my control panel has extra buttons that are mapped twice. For example I have 3 buttons wired to the same IPAC port. Now when I config my LEDWIZ button assignments in the LEDBLINKY INPUT MAP program I cant assign the same port label more then once. Since I have three player one buttons on my control panel I needed to use alternate port labels. Since these port labels are assigned specific keycodes and the keycodes can be use multiple times I would think that LEDblinky uses the keycodes to light up buttons and not the port label.
Am I correct in assuming? If so why does button 5 6 7 light up? 
--- End quote ---
Yes, LEDBlinky uses to keycodes to light up the buttons. You can assign the same keycode to more than one button - this will light them up together. The labels can be anything you want - so in your example, you could use P1B1a, P1B1b, and P1B1c as the labels for the player one buttons - and assign them all to KEYCODE_LCONTROL.
As for some games not lighting up the correct controls - let's get the other issues resolved first. You still need to set the correct path to the MAME cfg folder. Once that's good and you have all your labels correct and have the color profile fixed (file attached), then we can look at what's going on with specific games.
arzoo
		
			bent98:
			
			Ok I will test when I get home. I did already fix the problem with mame pointing to the proper directory (C:\mame\cfg) yesteraday and that solved mame specific game light mappings.
How do I label p1b1a, p1b1b. For what I remeber those portlabels are from a pull down menu. I dont see the option for subsets of ports. Again I can be wrong. If the port label has no effect on mame lighting up buttons then its no big deal. I have made a map on paper of my button layout, portname, and keycodes. 
another thing Ive noticed is when I hit Pause button it used to play an animation, but now it doesnt. Not sure.
Thanks again for all your help and for such a well written program.
		
			arzoo:
			
			
--- Quote from: bent98 on February 25, 2008, 12:46:03 pm ---Ok I will test when I get home. I did already fix the problem with mame pointing to the proper directory (C:\mame\cfg) yesteraday and that solved mame specific game light mappings.
--- End quote ---
Sorry, your most recent zip file must still have the old settings.ini file. Glad that's one thing fixed!
--- Quote ---How do I label p1b1a, p1b1b. For what I remeber those portlabels are from a pull down menu. I dont see the option for subsets of ports. Again I can be wrong. If the port label has no effect on mame lighting up buttons then its no big deal. I have made a map on paper of my button layout, portname, and keycodes.
--- End quote ---
It is a drop-down menu, but you can still edit or add your own values - just type over the existing value. Others have been confused with this also. The list of values is just a default set of port labels.
--- Quote ---another thing Ive noticed is when I hit Pause button it used to play an animation, but now it doesnt. Not sure.
--- End quote ---
It should work unless you've disabled the feature. Could you turn on the debug log (config - Misc Options tab - Enable Debug Log) Also check the Verbose option. Then run MaLa, launch a game (one with the wrong buttons lighting) and try the pause feature. Afterwards, zip up debug.log and post it. Don't forget to disable the logging - it slows things down a bit.
--- Quote ---Thanks again for all your help and for such a well written program.
--- End quote ---
It's not perfect, but getting better  ;D
		
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version