Jump to content
LaunchBox Community Forums

Recommended Posts

Posted

LaunchBox Controls

View File

About

This will display the controls for the selected game on a secondary monitor (will work on 2+ monitor setups).

It will either read the controls from the required xml file or display the control image from: LaunchBox > Images > [System] > Arcade - Controls Information

It includes an xml control file for MAME and a default configuration for LaunchBox and Windows.

Game controls can be manually added copying the existing format.

 

Installing

Extract the zip into your LaunchBox plugins folder and ensure that all files remain in the LaunchBoxControls folder

ie. Launchbox\Plugins\LaunchBoxControls\

Edit the settings.xml file as required. The screen number to display the controls on being the most important, currently set to 2. You can get this number from computer Display Settings.

 

 


 

  • Unusual Gem 1
  • 2 years later...
Posted

I have had a heck of a time with this trying to get anything outside of MAME to show instructions using an XML file.  I've tried adding the ROM name to the Arcade file, making a new file for the system name, a new file for the program name, and nothing seems to work.  When I hit play I get the image/logo for the game at the top of the third monitor and no instructions.  I know the instructions I wrote are good because I pasted them over an arcade game and launched that game and they were all there and correct, so it seems I just don't know what file it's looking for when it's not a MAME game.  For example purposes let's say I'm working with Super C for the NES.  I put the below into the Arcade XML, a "Nintendo Entertainment System" XML, and a "Retroarch" XML and none of them work.  I've put underscores where the spaces are, just nothing will show up.  The concept for the plugin is great, I just can't figure out how to do other systems.  Instructions of "Game controls can be manually added copying the existing format" doesn't seem to be working and the author hasn't been on in almost 2 years.  Other similar plugins rely on images, I feel like the XML is good enough without having to create control panel images for all my games.

  <Game RomName="Super C (USA)" GameName="Super C" NumPlayers="2" Alternating="0" Mirrored="0" UsesService="0" Tilt="0" Cocktail="0">
    <Status Verified="1" />
    <MiscDetails />
    <Player Number="1" NumButtons="6">
      <Controls>
        <Control Name="Player 1 Joystick">
          <Constant Name="joy8way" />
        </Control>
      </Controls>
      <Labels>
        <Label Name="P1_BUTTON1" Value="Turbo B" Color="Blue" />
        <Label Name="P1_BUTTON2" Value="Turbo A" Color="Black" />
        <Label Name="P1_BUTTON4" Value="B" Color="Blue" />
        <Label Name="P1_BUTTON5" Value="A" Color="Black" />
        <Label Name="P1_BUTTON7" Value="Select" Color="White" />
        <Label Name="P1_BUTTON8" Value="Start" Color="White" />
      </Labels>
    </Player>
    <Player Number="2" NumButtons="6">
      <Controls>
        <Control Name="Player 2 Joystick">
          <Constant Name="doublejoy8way" />
        </Control>
      </Controls>
      <Labels>
        <Label Name="P1_BUTTON1" Value="Turbo B" Color="Red" />
        <Label Name="P1_BUTTON2" Value="Turbo A" Color="Black" />
        <Label Name="P1_BUTTON4" Value="B" Color="Red" />
        <Label Name="P1_BUTTON5" Value="A" Color="Black" />
        <Label Name="P1_BUTTON7" Value="Select" Color="White" />
        <Label Name="P1_BUTTON8" Value="Start" Color="White" />
      </Labels>
    </Player>
  </Game>

Posted

Oh also I'm not sure how I could incorporate a default set of values as a placeholder while I researched what every single button does.  I realize the button labels above can be more accurate for the game, and I will change them when I get it working to things like A is shoot and B is jump.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...