Main > Main Forum

Mame analog joystick mapping vs. u360 firmware mapping?

<< < (11/12) > >>

arzoo:

--- Quote from: LLUncoolJ on November 25, 2009, 11:03:55 am ---Well, I tried the controller dialog. Of the games I tried, only Pacman was registering wrong. It was using an 8 way map. I got into the MAME control ini and Pacman wasn't there. I copied Ms PAc and changed the name, then tested and it played right. So I guess I am up and running again.

The object of the controller and FE change was to idiotproof the cabinet for kids and guests...and wife, and...well everybody but me. So hopefully mission accomplished.

--- End quote ---

pacman is a clone of puckman which should be in the controls.ini listed as 4-way - so I'm surprised that blinky didn't set it right. I did a test on my system and it worked fine. But you've got it working so no worries.

By the way - just for future reference; rather than modify the controls.ini file you can import the games into the LEDBlinky Controls Editor and make the changes there. The advantage to this method is if there's ever a new version of the controls.ini file released then you won't have lost your custom mods.

Blanka:
I really like the discussion here, but now a very concrete question:

What do I do to map a U360 correct for Pac-Man and Q-bert?

I put the U360 to analog with the utility.
I made a file qbert.ini in the INI folder consisting of this code:

--- Code: ----joystick_map 888555666...555555555...444555222
--- End code ---

Is that correct? If not, how should I do it?

u_rebelscum:

--- Quote from: Blanka on December 28, 2009, 09:12:07 am ---What do I do to map a U360 correct for Pac-Man and Q-bert?

--- End quote ---

Qbert:
-joystick_map 4444s8888..444458888.444555888.ss5.222555666.222256666.2222s6666.2222s6666 (what mame used to automatically do.  Also, see below)

Pacman:  (should do it automatically but)
-joystick_map s8.4s8.44s8.4445


FWIW, your example is the right idea, but is rotated the wrong for qbert, and has very big "dead zones".  The one I posted above is unused code in mame's source; it's not used because it "killed" rotated 4-way joysticks.  The one I like, below, will work with rotated 4-way, normal 8-ways, u360 and analog joysticks.

-joystick_map 444488888..444458888.444555888.445555566.222555666.222256666.222226666.222226666

Blanka:
I hear people talking about control.ini and mame.ini. I have never seen these files in any of the Mames for the Mac. SDLMame has an ini folder, but it is empty by default. Does anyone have or can anyone point me to some proper basic inifiles?

Bobulus:
Mame.ini is generated by Mame. You make it by executing the command "mame.exe -cc" at the command line.

Controls.ini (Usually Controls.dat) can be read about here.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version