Jump to content
HyperSync, HyperList and FTP are now back online ×

Archived

This topic is now archived and is closed to further replies.

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

  • Similar Content

    • By capnclaw
      This is my ICade mod using USB encoder for the joystick and buttons with a Dell micro PC in the back end with USB volume knob. Powered by Windows 10, Hyper-Spin, and Rocket-Launcher with Atari 2600, MAME, Nintendo Entertainment System, and Sega Genesis emulators and roms set up. The display is a 4:3 8 inch Neewar monitor which I purchased off of Amazon. I have acrylic glass behind my wooden bezel which I drilled out holes for monitor buttons in both the bezel and glass. All artwork was created by me in Photoshop and printed on adhesive vinyl. The marquee was made with the same acrylic glass and has an 8 inch LED glass enclosure with remote made for small fish aquariums I purchased off of Amazon as well. All wood paneling is MDF material and was cut and drilled via a Black and Decker drill with spade bits and a small Dremel band saw. I mostly used gorilla glue to piece everything together. I used Behr Marquee 2 in 1 primer and paint to paint the MDF material. The Hyper-Spin intro video was created by me using open source and free program Open Shot Video Editing. It took me roughly 2 months to complete from start to finish in between work and my family lol. I am so glad I did it though I am so pleased and happy with the outcome. A match made in Heaven! MY favorite band KISS (original members) and my favorite hobby retro arcade. I absolutely love it!
      Link to Videos
      KISS Arcade Boot UP (Short)
      KISS Arcade Boot Up (Long)
      KISS Arcade In Action (Wrestle-Fest by Technos)
       
       
       
       








×
×
  • Create New...