Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Getting U360 to work with Mame?  (Read 1516 times)

0 Members and 1 Guest are viewing this topic.

LeedsFan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1042
  • Last login:January 17, 2021, 06:14:23 am
Getting U360 to work with Mame?
« on: December 30, 2007, 10:51:44 am »
I'm currently using Mame with MaLa frontend and I just want to test my U360s to get an idea of which restrictors/springs to go with in my CP. But I just cannot get the stick to work with any games. Because I'm just testing the "feel" of the stick for now I've been trying to get Pac-Man to work first (no buttons installed as yet).

I've gone into the MaLa options and I can see the U360 is installed fine. I have it set to a 4-way map and in MaLa I can test it and see that it's working. I can go into Mame/Config through MaLa and enable joystick there too.... but this never seems to get saved. If I come out of it and then go straight back in the check box for joystick is still empty. Is this a bug?

I've tried looking at my Mame.ini file in my main Mame folder as well.... but I see no controller settings there. Because the U360 is technically an analog stick I'm assuming I just need to enable joystick input somehow and then let the U360 mapping software do the rest for the actual behavior in any given game. Is this correct?  :dunno

DeLuSioNal29

  • Global Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4779
  • Last login:July 11, 2025, 09:17:44 am
  • Build the impossible -"There is no Spoon"
    • DeLuSioNaL's YouTube Videos
Re: Getting U360 to work with Mame?
« Reply #1 on: December 30, 2007, 11:13:13 am »
I've tried looking at my Mame.ini file in my main Mame folder as well.... but I see no controller settings there. Because the U360 is technically an analog stick I'm assuming I just need to enable joystick input somehow and then let the U360 mapping software do the rest for the actual behavior in any given game. Is this correct?  :dunno
I don't have a U360 joystick, but I figured I'd try to help.  Did you try going into the options menu in mame by pressing tab and manually setting the joystick there for the Pacman game?  If all else fails, the mame.ini file that you can try to alter is in the mame root folder.  Try looking under the # core input options section.  Perhaps try fiddling with the # ctrlr option?  I think it defaults to <null> (not set).  This should work fine, but  you can point to what  ctrlr file you want (located in the ctrlr folder respectively).  I would troubleshoot it by substituting the slikstik controlller or xarcade, etc. to see what happens.  You could always change it back to null if it still doesn't work.  This will hopefully tell you if the joy is working or not.

Just throwing out ideas... not sure if they will help or not.

~ DeLuSioNaL
Stop by my Youtube channel and leave a comment:

DaveMMR

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3244
  • Last login:April 28, 2025, 11:33:13 am
Re: Getting U360 to work with Mame?
« Reply #2 on: December 30, 2007, 11:29:47 am »
You don't have this section:

Code: [Select]
#
# INPUT DEVICE OPTIONS
#
mouse                   1
joystick                1
lightgun                0
dual_lightgun           0
offscreen_reload        1
steadykey               0
joy_deadzone              0.3
joy_saturation            0.85
digital                 none
in your Mame.ini files?   I got this from .116 BTW.

LeedsFan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1042
  • Last login:January 17, 2021, 06:14:23 am
Re: Getting U360 to work with Mame?
« Reply #3 on: December 30, 2007, 11:33:06 am »
I've tried pressing TAB when the game is running to alter the controls. It doesn't work... the joystick is simply not being registered when Mame is running.

I've tried looking in my Mame.ini file too but there is no "core input options" listed. I've tried searching for this problem on Google and I keep seeing people saying go into Options > Default Game Options > Enable Joystick. Is this Mame32 they are talking about because I can't find this anywhere.

I just want to globally enable the U360 to all games as default. Then I just have to upload the correct map for whatever game I'm playing.  :dizzy:

EDIT:  We posted at the same time DaveMMr.... I'm using Mame v.88 if that makes a difference. I copied and pasted what you have there into my mame.ini file and it made no difference.

Am I looking in the right place? It's a text file I open in Notebook just called "Mame" in my main Mame folder.

LeedsFan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1042
  • Last login:January 17, 2021, 06:14:23 am
Re: Getting U360 to work with Mame?
« Reply #4 on: December 30, 2007, 12:07:17 pm »
Hmmm... this is starting to annoy me now. I found this thread searching thru the site:

http://forum.arcadecontrols.com/index.php?topic=73187.0

The guy had exactly the same problem I have but his fix won't work for me. When I check the same "enable joystick" box it doesn't get saved. I can exit immediately and go back in and it's unchecked again.  :banghead:

LeedsFan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1042
  • Last login:January 17, 2021, 06:14:23 am
Re: Getting U360 to work with Mame?
« Reply #5 on: December 30, 2007, 02:03:22 pm »
OK I've got a bit further forward now... but still a problem. I managed to create a new Mame.ini file. This is different to what I had before so it can't have been a proper .ini file. This new file has all the controller options. I changed the Joystick from 0 to 1 and that has enable the U360 in Mame... sorta.  :P

I can't move UP at all. I can move left right and down in Pacman.... but not up. I even tried my Sony Playstation gamepad and that is exactly the same. But when I check both devices in Windows they operate perfectly.  :dunno

fatfingers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 966
  • Last login:April 17, 2025, 05:26:08 pm
  • Got UltraStiks?™
Re: Getting U360 to work with Mame?
« Reply #6 on: December 30, 2007, 03:05:25 pm »

This last issue seems like it must be a mame mapping issue?  Try modifying the input controls in mame again now that the stick is registering and make sure everything is set up correctly for the up action.
My DK low scores
-------------------
1) 180700
2) 165000
3) 162900
4) 162600
5) 158500


W.W.P.M.D.?                                       I'm here to help ... I just don't do it. ™

LeedsFan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1042
  • Last login:January 17, 2021, 06:14:23 am
Re: Getting U360 to work with Mame?
« Reply #7 on: December 30, 2007, 03:05:36 pm »
Finally found the problem!  I was tearing my hair out because even when creating a new mame.ini file certain control options in the Mame TAB menu were not being changed. I could see that UP for example was just set to "Up Arrow" on the keyboard while the other movements were set to arrow "or" Joystick axis. I had to delete the default.cfg file and then make a new mame.ini to recreate everything from scratch.

That default.cfg file is what really threw me a curved one. That's taken me bloody hours to sort out.  :dizzy:

DeLuSioNal29

  • Global Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4779
  • Last login:July 11, 2025, 09:17:44 am
  • Build the impossible -"There is no Spoon"
    • DeLuSioNaL's YouTube Videos
Re: Getting U360 to work with Mame?
« Reply #8 on: December 30, 2007, 03:11:52 pm »
Did you try a more recent version of MAME, just to see if it works with that?  If it doesn't then the problem is not with MAME.  If it does, then it's a config file somewhere.

Install the newer version of MAME in a new directory and copy over the pacman rom to the rom folder (don't point the new version of Mame to the old rom directory, as it may overwrite file settings.)

Also, did you try running the command line version of Mame?  (without the Front end) and see if the joystick works.  i.e.  MAME PUCKMAN

~ DeLuSioNaL
Stop by my Youtube channel and leave a comment:

DeLuSioNal29

  • Global Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4779
  • Last login:July 11, 2025, 09:17:44 am
  • Build the impossible -"There is no Spoon"
    • DeLuSioNaL's YouTube Videos
Re: Getting U360 to work with Mame?
« Reply #9 on: December 30, 2007, 03:13:32 pm »
Glad to hear that you solved the problem!

~ D
Stop by my Youtube channel and leave a comment: