View Single Post
Old 08-27-2012, 02:06 PM   #65
Trip
Hold mah beer!
 
Trip's Avatar
 
Join Date: Feb 2008
Location: 80 Miles South of Moto Heaven
Moto: 08 R1200GS
Posts: 23,268
Default

Quote:
Originally Posted by Gas Man View Post
Nice man.

How does it know which lights to light?
LEDBlinky Software outputs to the controller board based on a file that has all the rom information on it. It's a massive document. I have had to play with it a little to readjust the joystick intensity, because they are a lot brighter than the buttons without being turned down.

Thankfully someone wrote a file that has all the MAME roms on it. I just have to find replace what I want. This is what the TMNT part of it looks like, you can see how I had to make the joystick colors =JColor. I was able to just do a find and replace on all joystick= to joystick=J to fix the entire file for the joystick intensity.

[tmnt]
P1_COIN=Blue
P1_BUTTON1=Blue
P1_BUTTON2=Blue
P1_JOYSTICK=JBlue
P2_COIN=Orange
P2_BUTTON1=Orange
P2_BUTTON2=Orange
P2_JOYSTICK=JOrange
P3_COIN=Violet
P3_BUTTON1=Violet
P3_BUTTON2=Violet
P3_JOYSTICK=JPurple
P4_COIN=Red
P4_BUTTON1=Red
P4_BUTTON2=Red
P4_JOYSTICK=JRed
Trip is offline   Reply With Quote