Jump to content
rcdude

Xin Mo to Mame Issues

Recommended Posts

hey guys quick question not sure if im posting this correctly.

so im working on my arcade and i bought a button setup from gameroomsolutions which came with a xin mo

i have everything configured as far as hypserspin and hyperlaunch.

 

now my issue is xin mo to mame.

only real issue is the player start and player select/coin
 

ive gone and edited all within mame and such but no success.

 

 

heres what im doing (which works but its a longggggg process)

 

basically i go within each game, edit the control for "this machine" then exit the game; this creates the cfg file, then i go to the cfg file and make it "read only". the cfg file shows all my edits such as "joy somthing somthing 6 _ player select". if i do not make this file a read only... upon next load it erases the info.

i so far have done about 20 games.... but i have 2,000 more to go -__- i tried editing the default but to no avail

 

Share this post


Link to post
Share on other sites

good luck mapping 2K games LOL

your best bet is to make a custom controller file for the Xin Mo,   and setting ALL  your games to use your custom controller file.

first thing you should do is identify all your button numbers

Gamepad-in-control-panel.jpg

 

second

you need to create a custom MAME controller CFG file

Name it -->  Xin Mo.Cfg

and save it to 

\Mame\Arcade64\ctrlr\Xin Mo.Cfg

(you might be able to copy and past one of the Cfg files you made for one of your games

copy it from

Mame\Arcade64\cfg

to the controller folder and rename it)

you can copy and past this default template if you are making a new one from scratch

<mameconfig version="10">
	<system name="default">

		<!-- HotRod SE 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">KEYCODE_5</newseq>
			</port>
			<port type="START4">
				<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">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>
		</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>

 

 

using your button ID numbers 

EXAMPLE

the code states that either  key 1 or joystick 1 button 8 calls the P1 start button

            <port type="START1">
                <newseq type="standard">KEYCODE_1   OR JOYCODE_1_BUTTON8</newseq>
            </port>

JOYCODE_1_BUTTON8 -->  match the Joy button on your controller

if your start button for player 1 is  not button 8   but button 3

<newseq type="standard">KEYCODE_1   OR JOYCODE_1_BUTTON3</newseq>

 

 

you can find more info on this site about  custom MAME controller files

http://easyemu.mameworld.info/mameguide/mameguide-controlini.htm

 

Share this post


Link to post
Share on other sites

will do! i just saw some videos and noticed that in mame settings.. there's another option for "other controls" and i see the 1p start and coin. no sure if i configured these!! will update :) thanks for the help on the code

Share this post


Link to post
Share on other sites

You can change the MAME "Other Controls" option once like you mention. In there you can set the coin and player I/II start buttons and it will work for all your MAME games. There is no need to set them up one by one. This is the easiest way to fix your issue.

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
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.


  • Similar Content

    • By Psynaptik
      I updated my MAME roms to 215 from 0170 recently, since there are 1/2 more games I'm interested in available now and due to increases in accuracy etc. Just thought it was a good idea, but...
      The latest AHK/module file from the downloads section (labelled for 212) seems to not work with 215, but it worked with 0170.
      What do I do? Is there a AHK file that works with MAME0215 that I'm missing, or do I need to wait. If so, how long?
      (I'm getting the .ahk error that means the .ahk file is out of date. I had this problem with 0170 and sorted it with the 212 .ahk file.)

×
×
  • Create New...