Main > Software Forum
New ControllerRemap utility, 7/11/13 update available (Version 0.0.11)
bsong:
okay so after a lot of tinkering i got to this point
hyperspin is loading the file and i see the controllerremap is saving the right cfg according to the log
2014-11-29T16:51:54
ControllerRemap Utility v0.0.11.0 - For Mame
(c) 2011 drventure Enterprises
2014-11-29T16:51:54 Scanning and processing files in C:\Hyperspin\emulators\Mame\ctrlr\myConfig.cfg
2014-11-29T16:51:54 Processing file C:\Hyperspin\emulators\Mame\ctrlr\myConfig.cfg
2014-11-29T16:51:54 Treating as a Mame cfg file...
2014-11-29T16:51:54 No changes.
the UI controls do work and i able to navigate around and start a game
now the only problem lies in actually getting the game controls to work it seems like none of the buttons are mapped within the game
here is my XML file
--- Code: ---<!--
Configuration Remap file
-->
<mameconfig version="10">
<!--
############################################################
Define controller aliases, This just makes the controller names
a little easier to deal with for the rest of the file.
############################################################
-->
<controlleralias>
<id>ATRAK Device #1</id>
<alias>"Lightgun_Player1_joystickbuttons"</alias>
</controlleralias>
<controlleralias>
<id>ATRAK Device #2</id>
<alias>"Lightgun_Player2_joystickbuttons"</alias>
</controlleralias>
<controlleralias>
<id>HID#VID_D209_PID_1601_MI_02#9_375eebb1_0_0000#</id>
<alias>Lightgun_Player2</alias>
</controlleralias>
<controlleralias>
<id>HID#VID_D209_PID_1602_MI_02#9_2f312172_0_0000#</id>
<alias>Lightgun_Player1</alias>
</controlleralias>
<!--
############################################################
This is the System Default section
It generally should be the FIRST system section in the cfg file
############################################################
-->
<system name="default">
<controller id="keyboard">
<input>
<port type="UI_UP">
<newseq type="standard">
KEYCODE_8PAD OR KEYCODE_UP
</newseq>
</port>
<port type="UI_DOWN">
<newseq type="standard">
KEYCODE_2PAD OR KEYCODE_DOWN
</newseq>
</port>
<port type="UI_LEFT">
<newseq type="standard">
KEYCODE_4PAD OR KEYCODE_LEFT
</newseq>
</port>
<port type="UI_RIGHT">
<newseq type="standard">
KEYCODE_6PAD OR KEYCODE_RIGHT
</newseq>
</port>
<port type="UI_SELECT">
<newseq type="standard">
KEYCODE_ENTER
</newseq>
</port>
<port type="UI_CONFIGURE">
<newseq type="standard">
KEYCODE_TAB
</newseq>
</port>
<port type="UI_CANCEL">
<newseq type="standard">
KEYCODE_ESC
</newseq>
</port>
<port type="UI_START1">
<newseq type="standard">
KEYCODE_1
</newseq>
</port>
<port type="UI_START2">
<newseq type="standard">
KEYCODE_2
</newseq>
</port>
<port type="UI_COIN1">
<newseq type="standard">
KEYCODE_5
</newseq>
</port>
<port type="UI_COIN2">
<newseq type="standard">
KEYCODE_6
</newseq>
</port>
<port type="P1_JOYSTICK_UP">
<newseq type="standard">
KEYCODE_8PAD
</newseq>
</port>
<port type="P1_JOYSTICK_DOWN">
<newseq type="standard">
KEYCODE_2PAD
</newseq>
</port>
<port type="P1_JOYSTICK_LEFT">
<newseq type="standard">
KEYCODE_4PAD
</newseq>
</port>
<port type="P1_JOYSTICK_RIGHT">
<newseq type="standard">
KEYCODE_6PAD
</newseq>
</port>
<port type="P1_JOYSTICKRIGHT_UP">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="P1_JOYSTICKRIGHT_DOWN">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="P1_JOYSTICKRIGHT_LEFT">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="P1_JOYSTICKRIGHT_RIGHT">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="P1_JOYSTICKLEFT_UP">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="P1_JOYSTICKLEFT_DOWN">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="P1_JOYSTICKLEFT_LEFT">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="P1_JOYSTICKLEFT_RIGHT">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="P1_BUTTON1">
<newseq type="standard">
KEYCODE_Q
</newseq>
</port>
<port type="P1_BUTTON2">
<newseq type="standard">
KEYCODE_W
</newseq>
</port>
<port type="P1_BUTTON3">
<newseq type="standard">
KEYCODE_E
</newseq>
</port>
<port type="P1_BUTTON4">
<newseq type="standard">
KEYCODE_R
</newseq>
</port>
<port type="P1_BUTTON5">
<newseq type="standard">
KEYCODE_T
</newseq>
</port>
<port type="P1_BUTTON6">
<newseq type="standard">
KEYCODE_Y
</newseq>
</port>
<port type="P1_START">
<newseq type="standard">
KEYCODE_1
</newseq>
</port>
<port type="P2_JOYSTICK_UP">
<newseq type="standard">
KEYCODE_UP
</newseq>
</port>
<port type="P2_JOYSTICK_DOWN">
<newseq type="standard">
KEYCODE_DOWN
</newseq>
</port>
<port type="P2_JOYSTICK_LEFT">
<newseq type="standard">
KEYCODE_LEFT
</newseq>
</port>
<port type="P2_JOYSTICK_RIGHT">
<newseq type="standard">
KEYCODE_RIGHT
</newseq>
</port>
<port type="P2_BUTTON1">
<newseq type="standard">
KEYCODE_A
</newseq>
</port>
<port type="P2_BUTTON2">
<newseq type="standard">
KEYCODE_S
</newseq>
</port>
<port type="P2_BUTTON3">
<newseq type="standard">
KEYCODE_D
</newseq>
</port>
<port type="P2_BUTTON4">
<newseq type="standard">
KEYCODE_F
</newseq>
</port>
<port type="P2_BUTTON5">
<newseq type="standard">
KEYCODE_G
</newseq>
</port>
<port type="P2_BUTTON6">
<newseq type="standard">
KEYCODE_H
</newseq>
</port>
<port type="P2_START">
<newseq type="standard">
KEYCODE_2
</newseq>
</port>
</input>
</controller>
<controller id="Lightgun_Player1">
<input>
<port type="P1_BUTTON1">
<newseq type="standard">
JOYCODE_2_BUTTON0
</newseq>
</port>
<port type="P1_LIGHTGUN_X">
<newseq type="standard">
GUNCODE_2_XAXIS
</newseq>
</port>
<port type="P1_LIGHTGUN_Y">
<newseq type="standard">
GUNCODE_2_YAXIS
</newseq>
</port>
<port type="P1_AD_STICK_X">
<newseq type="standard">
GUNCODE_2_XAXIS
</newseq>
</port>
<port type="P1_AD_STICK_Y">
<newseq type="standard">
GUNCODE_2_YAXIS
</newseq>
</port>
</input>
</controller>
<controller id="Lightgun_Player2">
<input>
<port type="P2_BUTTON1">
<newseq type="standard">
JOYCODE_1_BUTTON1
</newseq>
</port>
<port type="P2_LIGHTGUN_X">
<newseq type="standard">
GUNCODE_1_XAXIS
</newseq>
</port>
<port type="P2_LIGHTGUN_Y">
<newseq type="standard">
GUNCODE_1_YAXIS
</newseq>
</port>
<port type="P2_AD_STICK_X">
<newseq type="standard">
GUNCODE_1_XAXIS
</newseq>
</port>
<port type="P2_AD_STICK_Y">
<newseq type="standard">
GUNCODE_1_YAXIS
</newseq>
</port>
</input>
</controller>
<!--
###################################################
ACTUAL INPUT MAPPING STARTS HERE
DO NOT actually put anything in this section.
It is completely cleared and regenerated!
###################################################
-->
<input>
<port type="UI_UP">
<newseq type="standard">
KEYCODE_8PAD OR KEYCODE_UP
</newseq>
</port>
<port type="UI_DOWN">
<newseq type="standard">
KEYCODE_2PAD OR KEYCODE_DOWN
</newseq>
</port>
<port type="UI_LEFT">
<newseq type="standard">
KEYCODE_4PAD OR KEYCODE_LEFT
</newseq>
</port>
<port type="UI_RIGHT">
<newseq type="standard">
KEYCODE_6PAD OR KEYCODE_RIGHT
</newseq>
</port>
<port type="UI_SELECT">
<newseq type="standard">
KEYCODE_ENTER
</newseq>
</port>
<port type="UI_CONFIGURE">
<newseq type="standard">
KEYCODE_TAB
</newseq>
</port>
<port type="UI_CANCEL">
<newseq type="standard">
KEYCODE_ESC
</newseq>
</port>
<port type="UI_START1">
<newseq type="standard">
KEYCODE_1
</newseq>
</port>
<port type="UI_START2">
<newseq type="standard">
KEYCODE_2
</newseq>
</port>
<port type="UI_COIN1">
<newseq type="standard">
KEYCODE_5
</newseq>
</port>
<port type="UI_COIN2">
<newseq type="standard">
KEYCODE_6
</newseq>
</port>
<port type="P1_JOYSTICK_UP">
<newseq type="standard">
KEYCODE_8PAD
</newseq>
</port>
<port type="P1_JOYSTICK_DOWN">
<newseq type="standard">
KEYCODE_2PAD
</newseq>
</port>
<port type="P1_JOYSTICK_LEFT">
<newseq type="standard">
KEYCODE_4PAD
</newseq>
</port>
<port type="P1_JOYSTICK_RIGHT">
<newseq type="standard">
KEYCODE_6PAD
</newseq>
</port>
<port type="P1_JOYSTICKRIGHT_UP">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="P1_JOYSTICKRIGHT_DOWN">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="P1_JOYSTICKRIGHT_LEFT">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="P1_JOYSTICKRIGHT_RIGHT">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="P1_JOYSTICKLEFT_UP">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="P1_JOYSTICKLEFT_DOWN">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="P1_JOYSTICKLEFT_LEFT">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="P1_JOYSTICKLEFT_RIGHT">
<newseq type="standard">
NONE
</newseq>
</port>
<port type="P1_BUTTON1">
<newseq type="standard">
KEYCODE_Q
OR
JOYCODE_1_BUTTON0
</newseq>
</port>
<port type="P1_BUTTON2">
<newseq type="standard">
KEYCODE_W
</newseq>
</port>
<port type="P1_BUTTON3">
<newseq type="standard">
KEYCODE_E
</newseq>
</port>
<port type="P1_BUTTON4">
<newseq type="standard">
KEYCODE_R
</newseq>
</port>
<port type="P1_BUTTON5">
<newseq type="standard">
KEYCODE_T
</newseq>
</port>
<port type="P1_BUTTON6">
<newseq type="standard">
KEYCODE_Y
</newseq>
</port>
<port type="P1_START">
<newseq type="standard">
KEYCODE_1
</newseq>
</port>
<port type="P2_JOYSTICK_UP">
<newseq type="standard">
KEYCODE_UP
</newseq>
</port>
<port type="P2_JOYSTICK_DOWN">
<newseq type="standard">
KEYCODE_DOWN
</newseq>
</port>
<port type="P2_JOYSTICK_LEFT">
<newseq type="standard">
KEYCODE_LEFT
</newseq>
</port>
<port type="P2_JOYSTICK_RIGHT">
<newseq type="standard">
KEYCODE_RIGHT
</newseq>
</port>
<port type="P2_BUTTON1">
<newseq type="standard">
KEYCODE_A
OR
JOYCODE_2_BUTTON1
</newseq>
</port>
<port type="P2_BUTTON2">
<newseq type="standard">
KEYCODE_S
</newseq>
</port>
<port type="P2_BUTTON3">
<newseq type="standard">
KEYCODE_D
</newseq>
</port>
<port type="P2_BUTTON4">
<newseq type="standard">
KEYCODE_F
</newseq>
</port>
<port type="P2_BUTTON5">
<newseq type="standard">
KEYCODE_G
</newseq>
</port>
<port type="P2_BUTTON6">
<newseq type="standard">
KEYCODE_H
</newseq>
</port>
<port type="P2_START">
<newseq type="standard">
KEYCODE_2
</newseq>
</port>
<port type="P1_LIGHTGUN_X">
<newseq type="standard">
GUNCODE_1_XAXIS
</newseq>
</port>
<port type="P1_LIGHTGUN_Y">
<newseq type="standard">
GUNCODE_1_YAXIS
</newseq>
</port>
<port type="P1_AD_STICK_X">
<newseq type="standard">
GUNCODE_1_XAXIS
</newseq>
</port>
<port type="P1_AD_STICK_Y">
<newseq type="standard">
GUNCODE_1_YAXIS
</newseq>
</port>
<port type="P2_LIGHTGUN_X">
<newseq type="standard">
GUNCODE_2_XAXIS
</newseq>
</port>
<port type="P2_LIGHTGUN_Y">
<newseq type="standard">
GUNCODE_2_YAXIS
</newseq>
</port>
<port type="P2_AD_STICK_X">
<newseq type="standard">
GUNCODE_2_XAXIS
</newseq>
</port>
<port type="P2_AD_STICK_Y">
<newseq type="standard">
GUNCODE_2_YAXIS
</newseq>
</port>
</input>
</system>
<!--
###################################################
This is a GAME specific section
Add additional <controller> sections here
to define how those controllers should map for this
particular game
###################################################
-->
</mameconfig>
--- End code ---
thanks for the help in advance
bsong:
anyone have any ideas?
drventure:
Can you run controllerremap /list and post the results here?
I might be able to figure what's wrong from that and your remap file.
bsong:
ControllerRemap Utility v0.0.11.0 - For Mame
(c) 2011 drventure Enterprises
Joystick Device List (Devices are in enumeration order) ...
1. 'ATRAK Device #2', ID=1
2. 'ATRAK Device #1', ID=0
Mouse Device List (Devices are in enumeration order) ...
1. 'HID#VID_D209_PID_1602_MI_02#9_2f312172_0_0000#'
2. 'HID#VID_D209_PID_1601_MI_02#9_375eebb1_0_0000#'
3. 'HID#VID_046D_PID_C52B_MI_01_Col01#7_9ffb40b_0_0000#'
End of list
drventure:
I apologize. I mispoke.
I need you to run
ControllerRemap.exe /save
This will create a controllerremap.map file in the current dir.
If you can post THAT file, I should be able to tell what's up.
Thanks
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version