Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: MAME Custom Controls Asteroids...  (Read 1504 times)

0 Members and 1 Guest are viewing this topic.

TwicK

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:November 04, 2004, 12:20:42 am
  • I am Spoonman!
MAME Custom Controls Asteroids...
« on: November 04, 2004, 12:28:27 am »
Well I previoulsy had MAME .78 installed and everything was good, but I decided to get the .87 ROM set and upgrade to MAME .87/.88. So first I find out that the old cfg and ctrlr files are no longer any good and xml files are used, so I delete all of the old files. I use a custom controller file because one input on my keyboard encoder is shorted out so JOYSTICK RIGHT is actually connected to KEY M. Everything has always worked fine like this. I write the new XML file to make RIGHT be M and load everything up, ALMOST everything works fine. Every game I have tried has been fine except for Asteroids and Asteroids Deluxe, on both of these games when I hit RIGHT (M) the ROM freezes then resets. Any clue why these are the only games that don't work with my ctrlr file??? It's not a hardware problem as the same thing happens on my standard PC with the same configuration file and just using the keyboard.

mamepp -ctrlr tom asteroid

tom.cfg:
<mameconfig version="10">
   <system name="default">
      <input>
         <port type="UI_RIGHT">
            <newseq type="standard">KEYCODE_M OR JOYCODE_1_RIGHT</newseq>
         </port>
         <port type="P1_JOYSTICK_RIGHT">
            <newseq type="standard">KEYCODE_M OR JOYCODE_1_RIGHT</newseq>
         </port>
         <port type="P1_JOYSTICKLEFT_RIGHT">
            <newseq type="standard">KEYCODE_M OR JOYCODE_1_RIGHT</newseq>
         </port>
         <port type="P1_PADDLE_EXT">
            <newseq type="standard">KEYCODE_M OR JOYCODE_1_RIGHT</newseq>
         </port>
         <port type="P1_DIAL_EXT">
            <newseq type="standard">KEYCODE_M OR JOYCODE_1_RIGHT</newseq>
         </port>
         <port type="P1_TRACKBALL_X_EXT">
            <newseq type="standard">KEYCODE_M OR JOYCODE_1_RIGHT</newseq>
         </port>
         <port type="P1_AD_STICK_X_EXT">
            <newseq type="standard">KEYCODE_M OR JOYCODE_1_RIGHT</newseq>
         </port>
      </input>
   </system>
</mameconfig>