Main > Main Forum
Issue with Mame132 and X-Arcade Tankstick
<< < (3/5) > >>
slik50:
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>
slik50:
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
slik50:
Player 2 General Input Screen.
slik50:
General Input Player Selection Screen attached. This has the darkened out text for Player 2. 
Epyx:
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?

Navigation
Message Index
Next page
Previous page

Go to full version