Software Support > controls.dat
Unofficial Controls.xml Update - Preliminary Release
Endaar:
Keep up the work! Your efforts are really appreciated.
NOP:
hey garwil,
talking to someone offline about this, but it was noted that player 2's controls are not listed anywhere in the file.
(both yours and the original controls file do this)
For example:
--- Code: --- <game romname="88games" gamename="'88 Games" numPlayers="2" alternating="0" mirrored="1" usesService="0" tilt="0" cocktail="1">
<miscDetails>
This is a 4 player team type game where 2 players compete each time
</miscDetails>
<player number="1" numButtons="3">
<controls>
<control name="Just Buttons">
<constant name="button"/>
</control>
</controls>
<labels>
<label name="P1_BUTTON1" value="Run"/>
<label name="P1_BUTTON2" value="Jump"/>
<label name="P1_BUTTON3" value="Run"/>
</labels>
</player>
</game>
--- End code ---
Does it make sense to have a hunk of software do a final pass through your file and take:
numPlayers="2"
and then add
<label name="P2_BUTTON1" value="Run"/>
<label name="P2_BUTTON2" value="Jump"/>
<label name="P2_BUTTON3" value="Run"/>
into the labels section? It should be pretty easy to do, and that would complete labels for all the players.
This assumes that every player gets the same labels, which may be bad for a few games, but for the most part, I'd think that would be accurate. It personally doesn't effect me at all, as I don't use anything that uses the labels, but this was brought to my attention as a romlister query, so I thought I'd ask.
um3k:
I think that's what mirrored="1" is saying...
garwil:
Thanks for the input and support guys!
--- Quote from: um3k on October 05, 2009, 05:16:19 pm ---I think that's what mirrored="1" is saying...
--- End quote ---
I've always wondered what that one meant! If that's the case I'll just go through when I finish and check the checkbox where appropriate. Then all I have to do is slightly edit the ones for those games with different types of controls for player 2. Sweet!
Update: I'm about halfway through "S" at the moment and if I have to play another crappy ripoff of Space Invaders I'm going to shoot myself! :banghead:
u_rebelscum:
--- Quote from: garwil on October 05, 2009, 05:26:56 pm ---Update: I'm about halfway through "S" at the moment and if I have to play another crappy ripoff of Space Invaders I'm going to shoot myself! :banghead:
--- End quote ---
"S" is the most used letter. All those games starting with "Space", "Star", and "Super". Thanks garwil for doing the work!
--- Quote from: um3k on October 05, 2009, 05:16:19 pm ---I think that's what mirrored="1" is saying...
--- End quote ---
Yes. Mirrored=1 is for games that the players are the same. Games that had different controls for the players, or only one player, or only one player at a time, will have mirrored=0. For the latter two, there doesn't need player 2, etc. For the first, there already should be player 2 (& 3 & 4 if three or four player games).
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version