Main > Main Forum
SW Yoke question in MAME - Dualstrike Hack....
ZEN:
I hacked the dualstrike, just was not sure how to set it up in mame. I changed the mouse in the .ini file to "1", this woke up the yoke and it will now track, I was able to map it as you suggested Bobulus, I had no idea that keystrokes were digital, nor the essence of analog multiple values , that now makes sense, now I have to get the analog settings correct in mame. I found a few archived posts about it, if anyone has a good settings list, let me know or post it, I would be glad to document the whole thing in laymans terms and post it.........
u_rebelscum:
--- Quote from: ZEN on January 05, 2010, 10:29:33 pm ---... now I have to get the analog settings correct in mame.
--- End quote ---
No, you shouldn't. Calibrate the yoke in windows, and play the game; that's all you need. (Assuming you're using the default mame values.)
The original game self calibrates quickly*, and any adjustments you make to have it "centered" at the start of the game will mess up the game's internal calibration. This is exactly what happens on the original arcade cabinet; the yoke self calibrates shortly after the cab is turned on.
*It takes a couple full range movements of the yoke. To speed up calibration even more, just do full left ful right full up full down twice in the select level screen imediately after first loading the game.
bkenobi:
He may need to adjust the recenter speed and axis inversion which are MAME settings though, right?
u_rebelscum:
--- Quote from: bkenobi on January 06, 2010, 12:39:01 pm ---He may need to adjust the recenter speed and axis inversion which are MAME settings though, right?
--- End quote ---
Ahh, you're right, there are a couple things that should/could be changed, but recenter is not one. Recenter is for digital controllers faking as analog inputs, and he has real analog controllers, so no faking wanted. IOW, if changing recenter does something, something else is wrong.
Invert axes is possible, but only 50-50 chance it needs to be changed (depending if the the hack was done correctly and what the player likes). The other one is setting the joystick deadzone to almost zero (such as "joystick_deadzone 0.01"). 0.0 is the best if the hack was done well, but 1%-3% (0.01-0.03) isn't too bad.
The default of 0.3 (or 30%) is way too big for starwars, and if left at 30%, the recenter setting will have effects the game in that middle part