Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: shateredsoul1979 on December 04, 2011, 06:41:10 pm

Title: xbox 360 Mame controller file and some questions
Post by: shateredsoul1979 on December 04, 2011, 06:41:10 pm
So I'm currently working on my HTPC setup, the first thing I want to setup with hyperspin is having mame accessible. Sometimes when I setup controls through mame (the command line version) they reset to the default controllers, and I've only had luck with editing the controller file and mame.ini directly.

I thought I'd take a moment and share what I have so far. I have it setup for 4 xbox 360 controllers. I'd love feedback and haven't been able to test controller 3 through 4.

Controller 1 and 2 are setup for 6 buttons
Controller 3 and 4 are setup for 4 buttons

The general setup for the controllers is

Quote
back = coin
start = start

x = button 1
y = button 2
A = button 3
B = button 4
LB = button5
RB = button 6

The setup for capcom fighting games (cps1, cps2, and cps3) and killer instinct

is

Quote
x=medium p
y=fierce p
a=medium k
b=fierce k
lb=weak p
rb= weak k

neo geo is also setup, the setup is as follows

Quote
x=weak punch
y=weak kick
a = strong punch
b = strong kick

to try it out just copy and paste the files bellow into your mame folder, make sure to save a copy of your original files. Oh, and delete the horizontal.ini if you don't want horizontal games stretched horizontally.

http://www.megaupload.com/?d=5904YEAX (http://"http://www.megaupload.com/?d=5904YEAX")

this controller file builds on the work in this thread (just giving credit)http://forum.arcadecontrols.com/index.php?topic=100079.0 (http://"http://forum.arcadecontrols.com/index.php?topic=100079.0")

The difference is that I'm trying to format it for more systems, and I'm trying to use a button layout more familiar to me in the fighting games (I'm also trying to avoid having main buttons on the should buttons), and eventually I might add the option of key presses if I can find a good default key setup that people use (sorry the mame one sucks).

My questions

I tried to setup player choice games, a small chane, I wanted the Enter key and Game Selet keey setup as a joypad button. By default they were both blank or set to f2. I tried setting up the one of the games and copying and pasting the settings for the player choice driver... no dice. After some further research I found out that some keys are hard coded.. meaning you can't change them using a controller file. You have to go in and change them for each game.

I was wondering if anyone knew any way to get around this? I read that there's a way to take off hard coded keys by editing the source.. might anyone know how to do that?

Also, if anyone else is interested, are there any other systems that you'd like to see edited? I'm used to playing fighting games (capcom games to be exact) on consoles with the light punch and light kick on the shoulder buttons