Jump to content
LaunchBox Community Forums

Having issues with Mame controllers


64ozgames

Recommended Posts

So bought a pack of 4 controllers off from amazon and I'm of course running into the trouble that the computer does not register the devices in the same order everytime

So I need to set it up as a stable controller. 

Looking into it I've looked at my controllers from doing a verbose start

Input: Adding joystick #0: Generic   USB  Joystick   (device id: Generic   USB  Joystick   product_00060079-0000-0000-0000-504944564944 instance_27bd7f40-a85c-11eb-8001-444553540000)
Input: Adding joystick #1: Generic   USB  Joystick   (device id: Generic   USB  Joystick   product_00060079-0000-0000-0000-504944564944 instance_27bdcd60-a85c-11eb-8002-444553540000)
Input: Adding joystick #2: Generic   USB  Joystick   (device id: Generic   USB  Joystick   product_00060079-0000-0000-0000-504944564944 instance_27bdcd60-a85c-11eb-8003-444553540000)
Input: Adding joystick #3: Generic   USB  Joystick   (device id: Generic   USB  Joystick   product_00060079-0000-0000-0000-504944564944 instance_27c0daa0-a85c-11eb-8008-444553540000)

 

Which I gather would lead to this  CFG file...

"

<mameconfig version=”10”>
   <system name=”default”>
      <input>
         <mapdevice device=”Generic   USB  Joystick   product_00060079-0000-0000-0000-504944564944 instance_27bd7f40-a85c-11eb-8001-444553540000” controller=”JOYCODE_1” />
         <mapdevice device=”Generic   USB  Joystick   product_00060079-0000-0000-0000-504944564944 instance_27bdcd60-a85c-11eb-8002-444553540000” controller=”JOYCODE_2” />
         <mapdevice device=”Generic   USB  Joystick   product_00060079-0000-0000-0000-504944564944 instance_27bdcd60-a85c-11eb-8003-444553540000” controller=”JOYCODE_3” />
         <mapdevice device=”Generic   USB  Joystick   product_00060079-0000-0000-0000-504944564944 instance_27c0daa0-a85c-11eb-8008-444553540000” controller=”JOYCODE_4” />
      </input>
   </system>
</mameconfig>

"

Except I keep getting a fatal error whenever I try to run my new config file.

I'm totally lost here on what I should do. Any advice or idea why it is giving me a fatal error on this config file?

 

Link to comment
Share on other sites

Ok, so how does order of operations work with this?

 

That is to say, are the controllers remapped on boot or is it only when I actually start a ROM? I've been experimenting with changing the joystick numbers and it doesn't seem to have any effect but I haven't actually tried it with a rom running.

Link to comment
Share on other sites

14 minutes ago, 64ozgames said:

That is to say, are the controllers remapped on boot or is it only when I actually start a ROM? I've been experimenting with changing the joystick numbers and it doesn't seem to have any effect but I haven't actually tried it with a rom running.

It remaps on each launch of MAME only.

If you launch MAME using the -v option from a command prompt, you will see output for all devices and then any remapping it does, if any.

Link to comment
Share on other sites

I'm not seeing anything spit out by the verbose option when it runs... so for some reason it's ignoring that line of code. So is it ignoring it because somehow I have the controller names wrong or the syntax? Ugh.

At least it isn't crashing.

Link to comment
Share on other sites

You're a miracle worker! That was exactly it. It was odd because I found a person who got it working on a different forum and they had to put in the entire string, not just the interface part so I didn't think to try that.

I just reconfigured it and we're pretty much good to go I think for 90% of the games. 

  • Like 1
Link to comment
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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...