Main > Main Forum
How do U360's work in MAME? Head-spinning n00b question!!
<< < (3/3)
ubiquityman:
Let me see if I can answer your questions one by one....


--- Quote ---However, I was under the impression that whatever game you threw at the U360, MAME (or the driver?) was able to work out which mapping to use itself and just use it (as in my last post, four way for Frogger or DK; eight way for Commando; two way horizontal for Space Invaders; analogue for Space Harrier; four way diag for Qbert etc).
--- End quote ---

Yes, that's essentially what MAME does.
You don't map the analog joystick.
MAME just reads the analog values and decides what to do with them.


--- Quote ---Assuming this is in fact NOT the case then, do you have to specify each non-standard setup individually?
--- End quote ---

In general, you shouldn't have to do this.  If for some reason you did, let me understand what the reason is.
For me, where I need to configure games individually is for button layout or spinner gain/sensitivity.


--- Quote ---And if so, where are the settings stored and is there a repository somewhere online to download them all? Also (and this is the bit I really don't get), how do you specify a game to use a REAL analogue input (eg Space Harrier or Star Wars or something, I know that the latter won't control right but it's just an example) if you can only specify digital directions in that dialogue?
--- End quote ---

MAME has different categories of inputs.
- Digital Inputs, Analog Inputs, Spinners, etc
If the game requires analog inputs, it picks up the inputs to use from the analog input selection.
If the game requires digital inputs, it picks up the inputs to use from the digital input selection.

What you want to do is to configure these inputs for the U360 under GENERAL use so that they apply to all games.

Try this:
Configure the [General Player 1 Controls] digital input for Pac Man (I think you've done this already).
Configure the [Analog Controls] analog joystick for Sinistar. (Although somewhat misleading during play, the arcade game uses a 49-way joystick, thus this is a good match for the analog joystick)
Configure the [Analog Controls] spinner for Tempest.
The "Analog Controls" settings will be different from Tempest and Sinistar, even though the heading is the same.

I suggested these 3 for example because they use completely different inputs.

Under each of those games, look at the individual, game specific configuration, to understand what the games uses, but configure the GENERAL settings for the ANALOG controls, for example.
I think this might give you a better idea of how it works.

Now you could configure PacMan to use the trackball, or you could configure Sinistar to use the digital joystick (and lose the analog control capability), or Tempest to use the digital joystick but that's not optimal for play.



--- Quote ---THIS is what I'm talking about: how do I tell MAME that I'm using an analogue joystick? Am I right in thinking that if I can get this sorted out that everything else will take care of itself?
--- End quote ---

So again, this is just to set expectations to make sure we're on the same page.
1. MAME does not "download" anything to the U360.  It uses the analog inputs and does the mapping internally in the program.
2. You tell MAME to use the analog joystick by configuring the general Player 1 settings (or individual game settings) for the analog joystick.  If you configure the general settings, you only need to do this once.
3. You tell MAME to use the analog joystick by configure the general Analog Controls settings for the analog joystick when you have a game loaded that uses the analog joystick.  You should only need to do this once.

Does that help?
Once again, I think we're talking past each other a bit, and once you "get it", you're going to realize that it's really quite simple.
Diewrecked:
GOT IT!!! GOT IT GOT IT GOT IT !!! And it only took putting it into really, really small words for it to get there!!! :)

Many thanks for your help Ubiquityman!  :cheers: :notworthy:

Right. My confusion was twofold. Firstly I was under the impression that "Analog controls" was going to be somewhere in the Default Game Options in the main MAMEUI32 front end - I thought setting various inputs to Mouse was doing it - of course it wasn't. Secondly I was under the impression that the menu you get when you hit the Tab key was universal - of course it isn't. When I hit Tab in Frogger there was no Analog Controls option because, of course, there are no analogue controls - when I hit it in Arkanoid, Tempest, Sinistar or Space Harrier of course it is there and tweakable.

This now leads me to an earlier question:

--- Quote from: Diewrecked on March 12, 2010, 05:59:20 pm ---[snip]
do you have to specify each non-standard setup individually? And if so, where are the settings stored and is there a repository somewhere online to download them all?

--- End quote ---

Now, I have discovered that each individual game's settings are stored in a CFG file in the CFG folder (even if they're unchanged a generic file is generated when the game is first launched). Assuming everyone must have to make the same changes to the same games that deviate from the norm, ie, sensitivity settings for Arkanoid and Tempest; four way diag for Qbert etc, is there somewhere online that these CFG files can be downloaded and simply dumped into my CFG folder or is each install/version different? I'm pretty much there now with the exception of 4-way diags on Qbert but I'm going to raise a new thread about that.

Thanks again for all your help Ubiquityman.  Nice one  :cheers:
ubiquityman:
I've not seen a set of config files, but that's a good bad idea.
Generally, they are not necessary, but I would say that qbert is one of the exceptions where an alternate config is necesssary.
Ideally, it'd be nice if MAME automatically mapped this properly when it sees an analog joystick.
Navigation
Message Index
Previous page

Go to full version