Build Your Own Arcade Controls Forum
Main => Main Forum => Topic started by: slik50 on September 10, 2009, 11:17:57 am
-
After talking with X-Arcade I did what they suggested by re-installing Mame132 from scratch again. The issue I am having is with Mame not recognizing my Player 2 controls/inputs. I have used the X-Arcade test utility and have tested via output to notepad and the player 2 controls are recognized yet when I open a game and review my mapping settings they are all accurate to the correct setting X-Arcade uses, however, "Player 2" is blackened or greyed out for some reason from within the gaming menu. I've also switched the Numlock back and forth to make sure that was not the issue. So, when attempting to play a 2 player game even though the game settings for the player 2 x-arcade are set to the defaults both the joystick and buttons have no response. For some reason when player 2 comes up it is playing through the Player 1 defaults or Player 1 joystick/buttons.
Is there a file i need to edit so that Player 2 controls/defaults are recognized?
Thanks,
Justin
-
addtl info:
Mame132 actually includes the X-Arcade.cfg file and had the options pre-populated under Controls in Mame.
-
Can you post a screenshot of where it is grayed out? I would like to see it, might help.
-
I am thinking it has something to do with editing a particular file so Mame can recognize?
-
Epyx, I will try and get a screenshot posted later tonight. It has all the other players listed in "white" text but Player 2 is "grayed or darkened" out. You can still select and edit the settings but Player 2 still remains darkened out.
example:
From using "TAB" and reviewing controls
Player 1
Player 2
Player 3
Player 4
Player 5
Player 6
-
I have the same setup and mine works. Maybe the screenshots will let us see something that is wrong. Show me your mame.ini file also.
-
kjbalto, I will post screenshots later tonight. Thanks for the help guys! I'm new to Mame and will soon be using MaLa once this little issue is out of the way. It seems to me that I might have a condition to change in one of my files (possibly the mame.ini) so that Player 2 controls are recognized. Hopefully I'll have screenshots posted around 830pm cst.
Justin
-
Slik50,
This may sound obvious...but have you tried turning off/on Numlock via your a keyboard?
-
Epyx, yes I've tried that several times. Still no output from Player 2 controls. I will provide screenshots later this evening. I think i might try swapping keyboards as well being I have a spare and its another quick test. Yet, I am using a standard.
Thx!
-
mame.ini saved as a text file attached. See other posting for valid mame.ini. Attachment didn't post
-
Below is the X-Arcade file thats part of Mame132.
<mameconfig version="10">
<system name="default">
<!-- X-Arcade Version 2.0 input configuration file -->
<input>
<remap origcode="KEYCODE_UP" newcode="KEYCODE_8PAD" />
<remap origcode="KEYCODE_DOWN" newcode="KEYCODE_2PAD" />
<remap origcode="KEYCODE_LEFT" newcode="KEYCODE_4PAD" />
<remap origcode="KEYCODE_RIGHT" newcode="KEYCODE_6PAD" />
<port type="UI_UP">
<newseq type="standard">KEYCODE_UP OR KEYCODE_8PAD</newseq>
</port>
<port type="UI_DOWN">
<newseq type="standard">KEYCODE_DOWN OR KEYCODE_2PAD</newseq>
</port>
<port type="UI_LEFT">
<newseq type="standard">KEYCODE_LEFT OR KEYCODE_4PAD</newseq>
</port>
<port type="UI_RIGHT">
<newseq type="standard">KEYCODE_RIGHT OR KEYCODE_6PAD</newseq>
</port>
<port type="UI_SELECT">
<newseq type="standard">KEYCODE_ENTER OR KEYCODE_LCONTROL</newseq>
</port>
<port type="UI_CONFIGURE">
<newseq type="standard">KEYCODE_TAB OR KEYCODE_1 KEYCODE_3</newseq>
</port>
<port type="UI_CANCEL">
<newseq type="standard">KEYCODE_ESC OR KEYCODE_2 KEYCODE_4</newseq>
</port>
<port type="START1">
<newseq type="standard">KEYCODE_1</newseq>
</port>
<port type="START2">
<newseq type="standard">KEYCODE_2</newseq>
</port>
<port type="COIN1">
<newseq type="standard">KEYCODE_3</newseq>
</port>
<port type="COIN2">
<newseq type="standard">KEYCODE_4</newseq>
</port>
<port type="START3">
<newseq type="standard">NONE</newseq>
</port>
<port type="START4">
<newseq type="standard">NONE</newseq>
</port>
<port type="P1_JOYSTICK_UP">
<newseq type="standard">KEYCODE_UP OR KEYCODE_8PAD</newseq>
</port>
<port type="P1_JOYSTICK_DOWN">
<newseq type="standard">KEYCODE_DOWN OR KEYCODE_2PAD</newseq>
</port>
<port type="P1_JOYSTICK_LEFT">
<newseq type="standard">KEYCODE_LEFT OR KEYCODE_4PAD</newseq>
</port>
<port type="P1_JOYSTICK_RIGHT">
<newseq type="standard">KEYCODE_RIGHT OR KEYCODE_6PAD</newseq>
</port>
<port type="P1_JOYSTICKRIGHT_UP">
<newseq type="standard">KEYCODE_R</newseq>
</port>
<port type="P1_JOYSTICKRIGHT_DOWN">
<newseq type="standard">KEYCODE_F</newseq>
</port>
<port type="P1_JOYSTICKRIGHT_LEFT">
<newseq type="standard">KEYCODE_D</newseq>
</port>
<port type="P1_JOYSTICKRIGHT_RIGHT">
<newseq type="standard">KEYCODE_G</newseq>
</port>
<port type="P1_JOYSTICKLEFT_UP">
<newseq type="standard">KEYCODE_8PAD</newseq>
</port>
<port type="P1_JOYSTICKLEFT_DOWN">
<newseq type="standard">KEYCODE_2PAD</newseq>
</port>
<port type="P1_JOYSTICKLEFT_LEFT">
<newseq type="standard">KEYCODE_4PAD</newseq>
</port>
<port type="P1_JOYSTICKLEFT_RIGHT">
<newseq type="standard">KEYCODE_6PAD</newseq>
</port>
<port type="P1_BUTTON1">
<newseq type="standard">KEYCODE_LCONTROL OR JOYCODE_1_BUTTON1 OR MOUSECODE_1_BUTTON1</newseq>
</port>
<port type="P1_BUTTON2">
<newseq type="standard">KEYCODE_LALT OR JOYCODE_1_BUTTON2 OR MOUSECODE_1_BUTTON3</newseq>
</port>
<port type="P1_BUTTON3">
<newseq type="standard">KEYCODE_SPACE OR JOYCODE_1_BUTTON3 OR MOUSECODE_1_BUTTON2</newseq>
</port>
<port type="P1_BUTTON4">
<newseq type="standard">KEYCODE_LSHIFT OR JOYCODE_1_BUTTON4</newseq>
</port>
<port type="P1_BUTTON5">
<newseq type="standard">KEYCODE_Z OR JOYCODE_1_BUTTON5</newseq>
</port>
<port type="P1_BUTTON6">
<newseq type="standard">KEYCODE_X OR JOYCODE_1_BUTTON6</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 OR JOYCODE_2_BUTTON2</newseq>
</port>
<port type="P2_BUTTON3">
<newseq type="standard">KEYCODE_Q OR JOYCODE_2_BUTTON3</newseq>
</port>
<port type="P2_BUTTON4">
<newseq type="standard">KEYCODE_W OR JOYCODE_2_BUTTON4</newseq>
</port>
<port type="P2_BUTTON5">
<newseq type="standard">KEYCODE_E OR JOYCODE_2_BUTTON5</newseq>
</port>
<port type="P2_BUTTON6">
<newseq type="standard">KEYCODE_OPENBRACE OR JOYCODE_2_BUTTON6</newseq>
</port>
<port type="P1_TRACKBALL_X">
<newseq type="standard">
MOUSECODE_1_ANALOG_X
</newseq>
</port>
<port type="P1_TRACKBALL_Y">
<newseq type="standard">
MOUSECODE_1_ANALOG_Y
</newseq>
</port>
<port type="P2_TRACKBALL_X">
<newseq type="standard">
MOUSECODE_2_ANALOG_X
</newseq>
</port>
<port type="P2_TRACKBALL_Y">
<newseq type="standard">
MOUSECODE_2_ANALOG_Y
</newseq>
</port>
</input>
</system>
<system name="neogeo">
<input>
<port type="P1_BUTTON1">
<newseq type="standard">KEYCODE_C OR JOYCODE_1_BUTTON1</newseq>
</port>
<port type="P1_BUTTON2">
<newseq type="standard">KEYCODE_LSHIFT OR JOYCODE_1_BUTTON2</newseq>
</port>
<port type="P1_BUTTON3">
<newseq type="standard">KEYCODE_Z OR JOYCODE_1_BUTTON3</newseq>
</port>
<port type="P1_BUTTON4">
<newseq type="standard">KEYCODE_X OR JOYCODE_1_BUTTON4</newseq>
</port>
<port type="P1_BUTTON5">
<newseq type="standard">NONE</newseq>
</port>
<port type="P1_BUTTON6">
<newseq type="standard">NONE</newseq>
</port>
<port type="P1_BUTTON7">
<newseq type="standard">NONE</newseq>
</port>
<port type="P1_BUTTON8">
<newseq type="standard">NONE</newseq>
</port>
<port type="P2_BUTTON1">
<newseq type="standard">KEYCODE_CLOSEBRACE OR JOYCODE_2_BUTTON1</newseq>
</port>
<port type="P2_BUTTON2">
<newseq type="standard">KEYCODE_W OR JOYCODE_2_BUTTON2</newseq>
</port>
<port type="P2_BUTTON3">
<newseq type="standard">KEYCODE_E OR JOYCODE_2_BUTTON3</newseq>
</port>
<port type="P2_BUTTON4">
<newseq type="standard">KEYCODE_OPENBRACE OR JOYCODE_2_BUTTON4</newseq>
</port>
<port type="P2_BUTTON5">
<newseq type="standard">NONE</newseq>
</port>
<port type="P2_BUTTON6">
<newseq type="standard">NONE</newseq>
</port>
<port type="P2_BUTTON7">
<newseq type="standard">NONE</newseq>
</port>
<port type="P2_BUTTON8">
<newseq type="standard">NONE</newseq>
</port>
</input>
</system>
</mameconfig>
-
Pulled from my mame.ini file.
#
# CORE CONFIGURATION OPTIONS
#
driver_config mame,plus,console
#
# CORE SEARCH PATH OPTIONS
#
rompath roms
hashpath hash
samplepath samples
artpath artwork
ctrlrpath ctrlr
inipath .;ini
fontpath .;lang
cheatpath cheat
crsshairpath crsshair
langpath lang
ipspath ips
#
# CORE OUTPUT DIRECTORY OPTIONS
#
cfg_directory cfg
nvram_directory nvram
memcard_directory memcard
input_directory inp
state_directory sta
snapshot_directory snap
diff_directory diff
comment_directory comments
hiscore_directory hi
#
# CORE FILENAME OPTIONS
#
command_file command.dat
hiscore_file hiscore.dat
#
# CORE STATE/PLAYBACK OPTIONS
#
state
autosave 0
playback
record
mngwrite
aviwrite
wavwrite
snapname %g/%i
snapsize auto
snapview internal
#
# CORE PERFORMANCE OPTIONS
#
autoframeskip 0
frameskip 0
seconds_to_run 0
throttle 1
sleep 1
speed 1.0
refreshspeed 0
#
# CORE ROTATION OPTIONS
#
rotate 1
ror 0
rol 0
autoror 0
autorol 0
flipx 0
flipy 0
#
# CORE ARTWORK OPTIONS
#
artwork_crop 0
use_backdrops 1
use_overlays 1
use_bezels 1
#
# CORE SCREEN OPTIONS
#
brightness 1.0
contrast 1.0
gamma 1.0
pause_brightness 0.65
scale_effect none
#
# CORE VECTOR OPTIONS
#
antialias 1
beam 1.0
flicker 0
#
# CORE SOUND OPTIONS
#
sound 1
samplerate 48000
samples 1
volume 0
volume_adjust 0
#
# CORE INPUT OPTIONS
#
coin_lockout 1
ctrlr X-Arcade
mouse 1
joystick 1
lightgun 0
multikeyboard 0
multimouse 0
steadykey 0
offscreen_reload 0
joystick_map auto
joystick_deadzone 0.3
joystick_saturation 0.85
#
# CORE INPUT AUTOMATIC ENABLE OPTIONS
#
paddle_device keyboard
adstick_device keyboard
pedal_device keyboard
dial_device keyboard
trackball_device keyboard
lightgun_device keyboard
positional_device keyboard
mouse_device mouse
#
# CORE DEBUGGING OPTIONS
#
log 0
verbose 0
update_in_pause 0
debug 0
debugscript
#
# CORE MISC OPTIONS
#
bios
cheat 0
skip_gameinfo 0
confirm_quit 1
ips
auto_pause 0
ui_transparency 224
#
# CORE PALETTE OPTIONS
#
main_background 16,16,48
cursor_sel_text 255,255,255
cursor_sel_background 60,120,240
cursor_hov_text 120,180,240
cursor_hov_background 32,32,0
button_red 255,64,64
button_yellow 255,238,0
button_green 0,255,64
button_blue 0,170,255
button_purple 170,0,255
button_pink 255,0,170
button_aqua 0,255,204
button_silver 255,0,255
button_navy 255,160,0
button_lime 190,190,190
#
# CORE LANGUAGE OPTIONS
#
use_lang_list 1
#
# WINDOWS DEBUGGING OPTIONS
#
oslog 0
watchdog 0
debugger_font "Lucida Console"
debugger_font_size 9
#
# WINDOWS PERFORMANCE OPTIONS
#
priority 0
multithreading 0
#
# WINDOWS VIDEO OPTIONS
#
video d3d
numscreens 1
window 0
maximize 1
keepaspect 1
prescale 1
effect none
waitvsync 0
syncrefresh 0
#
# DIRECTDRAW-SPECIFIC OPTIONS
#
hwstretch 1
#
# DIRECT3D-SPECIFIC OPTIONS
#
d3dversion 9
filter 1
#
# PER-WINDOW VIDEO OPTIONS
#
screen auto
aspect auto
resolution auto
view auto
screen0 auto
aspect0 auto
resolution0 auto
view0 auto
screen1 auto
aspect1 auto
resolution1 auto
view1 auto
screen2 auto
aspect2 auto
resolution2 auto
view2 auto
screen3 auto
aspect3 auto
resolution3 auto
view3 auto
#
# FULL SCREEN OPTIONS
#
triplebuffer 0
switchres 0
full_screen_brightness 1.0
full_screen_contrast 1.0
full_screen_gamma 1.0
#
# WINDOWS SOUND OPTIONS
#
audio_latency 2
audio_sync 0
#
# INPUT DEVICE OPTIONS
#
dual_lightgun 0
joyid1 0
joyid2 1
joyid3 2
joyid4 3
joyid5 4
joyid6 5
joyid7 6
joyid8 7
#
# MESS SPECIFIC OPTIONS
#
ramsize
writeconfig 0
skip_warnings 0
natural 0
#
# WINDOWS MESS SPECIFIC OPTIONS
#
newui 0
-
Player 2 General Input Screen.
-
General Input Player Selection Screen attached. This has the darkened out text for Player 2.
-
Are you playing games that in the arcade only had 1 joystick? For example, Frogger, Ms. Pacman etc had 2 player play but you had to share player 1 joystick. The X-arcade player 2 joystick by default will only work with games that had a "separate" player 2 joystick (Gauntlet, Raiden etc).
What happens when you play a game like Raiden in 2 player mode?
-
Ok, I was thinking that could be a possibility, however, my JAMMA cocktail table 37 game setup allows for a 2 player, 2 joystick, etc setup with my Pacman, Frogger, etc...so why would I not be able to do that via Mame?
I did just test Raiden and yes Player 2 does work.
So, am I stuck with this or can I modify a file so that it acts like my JAMMA cocktail table machine?
thx!
-
Hehe you should have mentioned that in the first place :)
Load the game and go Tab->Dip Switches-> change it to cocktail mode...
Presto you now have player 2 on player 2 joystick.
-
Perfect! I figured the cocktail option would flip the screen. Just tested with frogger and all good thanks!! Much appreciated.
1 other question with playing a game that requires the track ball such as Golden Tee are there any config changes I need to make?
-
Np.
As for your question most likely yes...it may be fine default or you may feel like tweaking it.
To tweak it same as before...Tab->but then go into Analogue controls and you will see settings like digital speed/sensitivity etc.
-
Thanks for the support!
You wouldn't happen to be MaLa knowledgable too would ya? :) I might have some questions down the road there too. I seen loadman is working on some new features and fixes.
I've been playing with MaLa105 for my front end thus far.
-
Don't use Mala (I will in the future though). I would suggest reading the Mala forum though...lots of questions have been answered there ;)
-
Thanks for all the help! Now I just need my Arcade Video VGA card. :)