Jump to content
(Open Beta) HyperSpin 2 is now available for everyone ×

Ledblinky: Setting primary controls for non-mame systemns


Recommended Posts

Posted

Now that I have LEDblinky working well with MAME I want to set -up some other systems to say and blink primary controls and buttons. I've been using the LEDBlinky Controls Editor to do this. I've figures out how to map the buttons but I'm having trouble setting the primary control so the TTS voice and say something like. "Primary Control, 8 Way Joystick"

So two questions:

1. Where do you set the primary control

2. Does anyone have a config file that already has other systems set-up? I realize I would have to go in and edit them but I'm thinking it could save time looking at how others have it set-up.

Posted

Parsec,

You set the primary control in the in the LEDBlinky Controls Editor. When you first setup the emulator, give it a name and hit Ok. Then a new Rom by hitting the New button next to the empty Rom list. If it is to be the default rom, click the Default checkbox on the far right. If not, give it the name of the rom file without an extension. Right below that, hit the New button to create a new Common Control. There you can choose the joystick you want and check the Primary Control check box and change the spoken name if you would like.

For me, I created the default and a single rom entry for all my emaulators. Then went into the LEDBlinkyControls.xml and created the rest in there.

Here is an example out of my xml:

  <emulator emuname="daphne" emuDesc="Daphne, Lazer Disk Emulator">
   <controlGroup groupName="DEFAULT" voice="" numPlayers="2" alternating="1" defaultActive="49,49,49,49" defaultInactive="0,0,0,0">
     <player number="0">
       <control name="CONTROL_JOY8WAY" voice="8-way Joystick" color="" primaryControl="1"/>
     </player>
     <player number="1">
       <control name="P1_BUTTON1" voice="Button 1" color="" inputCodes=""/>
       <control name="P1_JOYSTICK_UP" voice="Up" color="" inputCodes=""/>
       <control name="P1_JOYSTICK_DOWN" voice="Down" color="" inputCodes=""/>
       <control name="P1_JOYSTICK_LEFT" voice="Left" color="" inputCodes=""/>
       <control name="P1_JOYSTICK_RIGHT" voice="Right" color="" inputCodes=""/>
     </player>
   </controlGroup>
   <controlGroup groupName="astron" voice="Astron Belt" numPlayers="2" alternating="1">
     <player number="0">
       <control name="CONTROL_JOY8WAY" voice="8-way Joystick" color="" primaryControl="1"/>
     </player>
     <player number="1">
       <control name="P1_BUTTON1" voice="Lazer Fire Control" color="49,49,0,0"/>
     </player>
   </controlGroup>
   <controlGroup groupName="badlands" voice="Badlands" numPlayers="2" alternating="1">
     <player number="1">
       <control name="P1_BUTTON1" voice="Fire" color="49,49,0,0" inputCodes=""/>
     </player>
     <player number="0">
       <control name="CONTROL_JOY8WAY" voice="8-Way Joystick" primaryControl="1" color="49"/>
     </player>
   </controlGroup>
   <controlGroup groupName="bega" voice="Bagas Battle" numPlayers="2" alternating="1">
     <player number="0">
       <control name="CONTROL_JOY8WAY" voice="8-way Joystick" color="" primaryControl="1"/>
     </player>
     <player number="1">
       <control name="P1_BUTTON1" voice="Fire" color="49,49,0,0"/>
       <control name="P1_BUTTON2" voice="Shield" color="49,0,0,49"/>
     </player>
   </controlGroup>
   <controlGroup groupName="cliff" voice="Cliff Hanger" numPlayers="2" alternating="1">
     <player number="0">
       <control name="CONTROL_JOY4WAY" voice="4-way Joystick" color="" primaryControl="1"/>
     </player>
     <player number="1">
       <control name="P1_BUTTON1" voice="Hands" color="49,49,0,0" inputCodes=""/>
       <control name="P1_BUTTON2" voice="Feet" color="49" inputCodes=""/>
     </player>
   </controlGroup>
   <controlGroup groupName="cobraab" voice="Cobra Command" numPlayers="2" alternating="1">
     <player number="0">
       <control name="CONTROL_JOY8WAY" voice="8-way Joystick" color="" primaryControl="1"/>
     </player>
     <player number="1">
       <control name="P1_BUTTON1" voice="Gun" color="49,49,0,0" inputCodes=""/>
       <control name="P1_BUTTON2" voice="Rocket" color="49,0,0,49" inputCodes=""/>
     </player>
   </controlGroup>
   <controlGroup groupName="cobraab" voice="Cobra Command" numPlayers="2" alternating="1">
     <player number="0">
       <control name="CONTROL_JOY8WAY" voice="8-way Joystick" color="" primaryControl="1"/>
     </player>
     <player number="1">
       <control name="P1_BUTTON1" voice="Gun" color="49,49,0,0" inputCodes=""/>
       <control name="P1_BUTTON2" voice="Rocket" color="49,0,0,49" inputCodes=""/>
     </player>
   </controlGroup>
   <controlGroup groupName="lair2" voice="Dragon's Lair 2" numPlayers="2" alternating="1">
     <player number="0">
       <control name="CONTROL_JOY4WAY" voice="4-way Joystick" color="" primaryControl="1"/>
     </player>
     <player number="1">
       <control name="P1_BUTTON1" voice="Sword" color="49,49,49,0" inputCodes=""/>
     </player>
   </controlGroup>
   <controlGroup groupName="galaxy" voice="Galaxy Ranger" numPlayers="1" alternating="0">
     <player number="0">
       <control name="CONTROL_JOY8WAY" voice="8-way Joystick" color="" primaryControl="1"/>
     </player>
     <player number="1">
       <control name="P1_BUTTON1" voice="Button 1" color="" inputCodes=""/>
       <control name="P1_JOYSTICK_UP" voice="Up" color="" inputCodes=""/>
       <control name="P1_JOYSTICK_DOWN" voice="Down" color="" inputCodes=""/>
       <control name="P1_JOYSTICK_LEFT" voice="Left" color="" inputCodes=""/>
       <control name="P1_JOYSTICK_RIGHT" voice="Right" color="" inputCodes=""/>
     </player>
   </controlGroup>
   <controlGroup groupName="gpworld" voice="GP World" numPlayers="1" alternating="0" jukebox="0">
     <player number="0">
       <control name="CONTROL_JOY8WAY" voice="8-way Joystick" color="" primaryControl="1"/>
     </player>
     <player number="1">
       <control name="P1_BUTTON1" voice="Shift" color="49,49,0,0" inputCodes=""/>
       <control name="P1_BUTTON2" voice="Accelerate" color="49,0,0,49" inputCodes=""/>
       <control name="P1_BUTTON3" voice="Brake" color="48,0,48,0" inputCodes=""/>
     </player>
   </controlGroup>
   <controlGroup groupName="interstellar" voice="Interstellar" numPlayers="1" alternating="0">
     <player number="0">
       <control name="CONTROL_JOY8WAY" voice="8-way Joystick" color="" primaryControl="1"/>
     </player>
     <player number="1">
       <control name="P1_BUTTON1" voice="Fazer" color="49,49,0,0" inputCodes=""/>
       <control name="P1_BUTTON2" voice="Burn" color="49,49,49,0" inputCodes=""/>
     </player>
   </controlGroup>
   <controlGroup groupName="mach3" voice="M.A.C.H. 3" numPlayers="1" alternating="1" jukebox="0">
     <player number="0">
       <control name="CONTROL_JOY8WAY" voice="8-way Joystick" color="" primaryControl="1"/>
     </player>
     <player number="1">
       <control name="P1_BUTTON1" voice="Fire Gun" color="49,49,0,0" inputCodes=""/>
       <control name="P1_BUTTON2" voice="Missle, Bomb" color="48,0,0,48" inputCodes=""/>
     </player>
   </controlGroup>
   <controlGroup groupName="rb" voice="Road Blaster" numPlayers="2" alternating="1" jukebox="0">
     <player number="0">
       <control name="CONTROL_JOY8WAY" voice="8-way Joystick" color="" primaryControl="1"/>
     </player>
     <player number="1">
       <control name="P1_BUTTON1" voice="Brake" color="48,48,0,0" inputCodes=""/>
       <control name="P1_BUTTON2" voice="Boost" color="48,0,0,48" inputCodes=""/>
     </player>
   </controlGroup>
   <controlGroup groupName="ace" voice="Space Ace" numPlayers="2" alternating="1">
     <player number="0">
       <control name="CONTROL_JOY4WAY" voice="4-Way Joystick" primaryControl="1" color=""/>
     </player>
     <player number="1">
       <control name="P1_BUTTON1" voice="Fire, or Energize" color="49,49,0,0" inputCodes=""/>
       <control name="P1_BUTTON5" voice="Skill Level Cadet" color="49,49,0,0"/>
       <control name="P1_BUTTON6" voice="Skill Level Captain" color="49,49,0,0"/>
       <control name="P1_BUTTON7" voice="Skill Level Space Ace" color="49,49,0,0"/>
     </player>
   </controlGroup>
   <controlGroup groupName="sdq" voice="Super Don Quixote" numPlayers="2" alternating="1">
     <player number="0">
       <control name="CONTROL_JOY4WAY" voice="4-way Joystick" color="" primaryControl="1"/>
     </player>
     <player number="1">
       <control name="P1_BUTTON1" voice="Action" color="49,49,49,0" inputCodes=""/>
     </player>
   </controlGroup>
   <controlGroup groupName="esh" voice="Esh's Aurunmilla" numPlayers="2" alternating="1">
     <player number="0">
       <control name="CONTROL_JOY4WAY" voice="4-Way Joystick" primaryControl="1" color=""/>
     </player>
     <player number="1">
       <control name="P1_BUTTON1" voice="Action" color="49,49,0,0"/>
     </player>
   </controlGroup>
   <controlGroup groupName="uvt" voice="Us Vs Them" numPlayers="1" alternating="1" jukebox="0">
     <player number="0">
       <control name="CONTROL_JOY8WAY" voice="8-Way Joystick" primaryControl="1" color=""/>
     </player>
     <player number="1">
       <control name="P1_BUTTON3" voice="Fire" color="49"/>
       <control name="P1_BUTTON6" voice="Bank Left" color="49"/>
       <control name="P1_BUTTON7" voice="Bank Right" color="49"/>
     </player>
   </controlGroup>
   <controlGroup groupName="lair" voice="Dragon's Lair" numPlayers="2" alternating="1">
     <player number="0">
       <control name="CONTROL_JOY4WAY" voice="4-Way Joystick" primaryControl="1" color=""/>
     </player>
     <player number="1">
       <control name="P1_BUTTON1" voice="sword" color="49,49,0,0"/>
     </player>
   </controlGroup>
 </emulator>

Hope this helps a little...

Ron

Code Monkey and all around Command Line geek!

If you like what someone has said or done for you, be sure and 'Thank' them.  :good:

And if they changed your life, send them a Beer!    :beerglass:

Posted

Thanks for the input! I'm away from my system but I'll check it out this evening. Really lovin this lil piece of software to far. Here is what I set-up looks like.

Posted

Oh yeah, been there quite a bit and reference the manual extensively. Arzoo helped me a couple times too. Money well spent.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...