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: Driving games: shifter hard coded to space bar???  (Read 1497 times)

0 Members and 1 Guest are viewing this topic.

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Driving games: shifter hard coded to space bar???
« on: August 10, 2008, 07:41:17 pm »
Controls.dat has "The shifter is hard-coded to the space-bar to avoid conflicts" in a bunch of driving games like spy hunter and outrun. I'm assuming this was true at one time, but it doesn't appear to be true in MAME 0.126. Am I correct in thinking this is obsolete information?

I'm getting ready to submit control information for spy hunter for inclusion in controls.dat (I'm amazed it's not already in there!!!) so while I'm at it I'm thinking of updating all the games to have this message removed. Just want to make sure I'm not misunderstanding something before I do.
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Driving games: shifter hard coded to space bar???
« Reply #1 on: August 10, 2008, 09:37:53 pm »
That comment is about why the ctrlr files (usually*) doesn't work*, and it's not unchangeable as "hardcoded" usually implies.  They are remapped in the source code (aka "hardcoded"), but can be changed in mame's UI menu just like normal.  However, since the source mapping (usually*) overrides ctrlr mapping, it feels hardcoded.*

It looks like mame still remaps in source spyhunter's shift (to enter, though), and outrun (to space).

Maybe the comments should be clarified, but not removed IMO.


*BTW, you can get the ctrlr file to work.  Remap the remaped in source input back to "default" by using the tab, "Input (this game)" remap, but do enter, esc, wait until mame shows "none", enter, esc, wait until mame shows the normal default.  The ctrlr file remaps work only if the input is mapped to "default" in the "Input (this game)" menu.  It's a pain, and the ctrlr file in general is there so you don't have to edit by hand the inputs through the tab menu, true, but it's possible.
Robin
Knowledge is Power

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: Driving games: shifter hard coded to space bar???
« Reply #2 on: August 10, 2008, 10:41:22 pm »
I guess I'll have to read up on ctrlr files, because your explanation made no sense to me! :dizzy: But thanks for it nevertheless because at least now I know it's not completely incorrect/obsolete.
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Driving games: shifter hard coded to space bar???
« Reply #3 on: August 11, 2008, 03:57:02 pm »
I guess I'll have to read up on ctrlr files, because your explanation made no sense to me! :dizzy:

Sorry, I know I go too far into the technical a lot of the time.  :-\  The wiki here has a terrible page on ctrlr files (I wrote it, so it's probably over technical, too).

The way to see if it's "hardcoded", aka remapped in the source, (besides checking the source, of course) is to start the game for the first time (IOW, reinstall mame in a new folder, or delete the cfg files in the cfg folder), tab, "Input (this game)" and if any of the input maps are highlighted, it was remapped in the source code, aka "hardcoded".  (Highlighted means "not default", or IOW remapped specifically for this game.)

If you have any questions, please ask.  And feel free too tell me if I go off the deep end. ;D


And I forgot to see earlier, glad to see someone contributing info the controls.dat. :applaud:


edit:  heh, just relooked at the wiki page, and there's even a section on hardcoded remaps.
« Last Edit: August 11, 2008, 04:00:59 pm by u_rebelscum »
Robin
Knowledge is Power