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: ctrlr .ini in MAME...simple problem  (Read 1417 times)

0 Members and 1 Guest are viewing this topic.

slider2732

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 65
  • Last login:December 11, 2010, 06:56:26 pm
    • MND Coin-Op
ctrlr .ini in MAME...simple problem
« on: July 03, 2007, 12:59:43 pm »
HI all...

I have a simple problem, one that I worked out the other day and now can't figure out again!
 :banghead:

The summary is that a key change for "TILDE" results in both the key function I want AND the settings bar appearing at the bottom of the screen. There's no reference to the TILDE being for the settings bar now, it was changed to 'O' as the calling key, yet it still comes up.


Here's the rather bizarre situation that lead to the change. I was happily playing a game of Asteroids on my MAME'd Asteroids cab when 'thrust' stopped working. Checked over all the wiring and the keyboard controller hack. Nothing seemed out of place and all other controls worked. So I ran through other combinations on the connector strip i'd made on the side of the controller and  found that 'TILDE' was spare. Worked through a few how to's online for the ctrlr section of MAME and got the key changed. All was great.
Then the CF card I was running from died (no idea how, but I had been swapping out graphics cards and even though the mobo was off, the current was still going around it and maybe shorted something).
Anyway, put another card in and loaded it with the backup of the games I have on the Asteroids cab. Except of course the key change wasn't implemented yet.
I altered std.ini again in the ctrlr directory, saved it as ast.ini and then called ast from MAME.cfg...just as I had done the other time.
And now I have the problem, both 'thrust' and the settings menu work off the 'thrust' button.

Any help greatly appreciated.

slider2732

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 65
  • Last login:December 11, 2010, 06:56:26 pm
    • MND Coin-Op
Re: ctrlr .ini in MAME...simple problem
« Reply #1 on: July 03, 2007, 05:24:35 pm »
Truly bizarre now.
Changing mame.cfg to point to another directory entirely for the ctrlr doesn't change anything.
Renaming ast.ini, my changed file, to something else, doesn't make any change either !

It resolutley gives the Volume bar at the bottom and the thrust operation of Asteroids when tilde is pressed.

 :dunno

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: ctrlr .ini in MAME...simple problem
« Reply #2 on: July 03, 2007, 05:38:55 pm »
The default for KEYCODE_TILDE is for UI_ON_SCREEN_DISPLAY, so you will have to assign that to something else in your cfg file I believe.

slider2732

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 65
  • Last login:December 11, 2010, 06:56:26 pm
    • MND Coin-Op
Re: ctrlr .ini in MAME...simple problem
« Reply #3 on: July 03, 2007, 10:12:04 pm »
Ta headkaze...
Yeah, I did that too lol
First of all I tried UI_ON_SCREEN_DISPLAY "KEYCODE_O" and then "CODE_NONE" (or very similar, the same as some other entries have).
Still the same. It does the tilde for thrust, but also still brings up the volume bar at the bottom.

slider2732

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 65
  • Last login:December 11, 2010, 06:56:26 pm
    • MND Coin-Op
Re: ctrlr .ini in MAME...simple problem
« Reply #4 on: July 03, 2007, 10:21:13 pm »
oh, while I remember. When you press TAB you get the edit options. Can those be saved permanently ?
It seems that these just alter things temporarily, on reboot they're lost.

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: ctrlr .ini in MAME...simple problem
« Reply #5 on: July 05, 2007, 12:01:25 pm »
oh, while I remember. When you press TAB you get the edit options. Can those be saved permanently ?
It seems that these just alter things temporarily, on reboot they're lost.

Cfg files (these are edited through tab) override the ctrlr file.  Try deleting (or moving/renaming) the cfg/default.cfg file (tab - "Inputs (general)"), and maybe the cfg/gamename.cfg (individual tab - "Input (this game)").  (You can hand edit the cfg files, too)
Robin
Knowledge is Power