Main > Software Forum
u360s and mame32? (Problem solved) well not quite.
Herk:
Helpers,
I have done a bunch of trial and error and have come up with this so far. No matter what id any game controller has, mame32 is defaulting to use the madcatz controllers. The JoyID program shows the real windows assigned IDs and this is how I came to this conclusion so far. I am now after an answer that will explain why mame32 defaults to a specific controller if it has nothing to do with IDs. It has nothing to do with IDs because JoyID allows me to change the IDs and I have had them in all different positions.
Herk
u_rebelscum:
--- Quote from: Herk on October 19, 2007, 12:13:42 am ---I am now after an answer that will explain why mame32 defaults to a specific controller if it has nothing to do with IDs.
--- End quote ---
Mame and mame32 take the joysticks in the order windows "enumerates" them. Quote from link: "Note The order in which devices are enumerated by DirectInput is not guaranteed."
OTOH, it seems like there are a few "rules" on the order windows enumerates joysticks, but it's not consistent. The order the sticks' drivers are installed has a high influence in my testing. However, somehow some manufactures seem to sometimes come before or after others. I think it has to do with the directInput instance ID (not JoyID) can be assigned by the driver, and that this instance ID effects the device list. But none of this seems to be solid. :-\
Anyway, AFAICT mame32 uses only the first two joysticks in the UI. Try this: with all joysticks plugged in, run any game (that you haven't remapped yet) and assign each joystick to a different input port. It doesn't matter what to what but note which joystick to which input; I like using a game with lots of buttons and assigning the sticks to p1b1, p1b2, etc for simplicity. Exit the game and open the cfg/gamename.cfg file. What is the order? Now unplug joysticks, start a different game, remap again, exit and open that cfg file.
If I'm right, there aren't much you can do but edit the source to make mame32 use more of the joysticks. I might be able to help if you want, but I haven't looked at mame32 UI code in a long time, so no promises.
Herk:
u_rebelscum,
Check this out. I ran Simpsons 4player and I can map all 4 controllers, ruling out the possibility of any sort of hardware conflict. But... Guess which controller comes up as the default (move joystick left then right screen)? The Madcatz. I don't think the time spent on customising a version just for me is necessary although I think it is great that you would even consider this as an option. My final setup will include Mala, not Mame32, but that may be a while yet. For now I can manually plug and unplug controllers, or even install a switch to ease things. My kids and I only use the madcatz controllers for specific games such as NHL games. I still think that windows is assigning IDs alphabetically, and a hardware name change is the answer. I did read somewhere that hardware IDs are numeric as well and there is no standard for assigning them. Maybe this is a question for Ultimarc?
Herk
Navigation
[0] Message Index
[*] Previous page
Go to full version