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 not saving key mappings...  (Read 2784 times)

0 Members and 1 Guest are viewing this topic.

IG-88

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2042
  • Last login:July 06, 2025, 09:21:45 am
  • Posts: 48,764
Mame not saving key mappings...
« on: July 23, 2013, 04:17:12 pm »
Anybody run into this issue before? I am running an older version (v75) of mame in XP and for the life of me I cannot get the pause button to stay remapped to a different key. It will work while I stay in the game but as soon as I exit and re-start it "defaults" back to the "P" button again.

I thought maybe it had something to do with the folders being read only but it saves high scores perfectly fine, so its allowing those files to be re-written.

When I try to change the Mame folder and un-set read only, it goes thru the whole process of changing itself and the files within, but when I check it's properties as soon as it's finished it still has the "read only" box checked. Very strange.

There should be an easy fix for this. Where does Mame save the changes to key mappings? Isn't it an .ini file somewhere?
"I know what a HAL 9000 is... I was wondering if HAL 7600 was his retarded cousin or something..."
-HarumaN

Endprodukt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 745
  • Last login:Today at 07:27:06 am
  • I want to build my own arcade controls!
Re: Mame not saving key mappings...
« Reply #1 on: July 23, 2013, 05:31:48 pm »
Why wouldn anyone use such an old version of mame?

drventure

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4152
  • Last login:April 23, 2024, 06:53:06 pm
  • Laser Death Ray Bargain Bin! Make me an offer!
Re: Mame not saving key mappings...
« Reply #2 on: July 23, 2013, 06:12:25 pm »
If you have an active controller file that your using, and it defines the pause button, it'll override what you define in the config ui, so even though you save it, when you go back and view it the value from the controller file will still be there.

Other than that, it could just be an issue with the older mame.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9272
  • Last login:Yesterday at 09:59:14 pm
  • ...
Re: Mame not saving key mappings...
« Reply #3 on: July 23, 2013, 06:31:05 pm »
Why wouldn anyone use such an old version of mame?

At least they stated they were using an old version.  :cheers:
Nothing worse than wasting time explaining features that aren't in their build.
Using MicroXP and not mentioning it is another one that gets me.

IG-88

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2042
  • Last login:July 06, 2025, 09:21:45 am
  • Posts: 48,764
Re: Mame not saving key mappings...
« Reply #4 on: July 23, 2013, 06:32:40 pm »
If you have an active controller file that your using, and it defines the pause button, it'll override what you define in the config ui, so even though you save it, when you go back and view it the value from the controller file will still be there.

Other than that, it could just be an issue with the older mame.

It's worked before. And on older versions of Mame. I don't have controller file that I set up. I went into the ctrlr folder in mame and changed the std.ini file to the keystroke that I wanted but that didn't do it either.

Do you know where Mame stores the keystroke changes? Is it an .ini file somewhere?

Why wouldn anyone use such an old version of mame?

 Because thats what I have and it runs the games perfectly on the older computer I'm using. Nothing has come out since then that worth a crap IMO anyways.
"I know what a HAL 9000 is... I was wondering if HAL 7600 was his retarded cousin or something..."
-HarumaN

IG-88

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2042
  • Last login:July 06, 2025, 09:21:45 am
  • Posts: 48,764
Re: Mame not saving key mappings...
« Reply #5 on: July 23, 2013, 06:37:32 pm »
Why wouldn anyone use such an old version of mame?

At least they stated they were using an old version.  :cheers:
Nothing worse than wasting time explaining features that aren't in their build.
Using MicroXP and not mentioning it is another one that gets me.

Ha! It just so happens that's the O/S. That my issue? 
"I know what a HAL 9000 is... I was wondering if HAL 7600 was his retarded cousin or something..."
-HarumaN

cack01

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 61
  • Last login:January 31, 2023, 11:49:55 pm
  • I'm a llama!
Re: Mame not saving key mappings...
« Reply #6 on: July 24, 2013, 07:41:49 pm »
Are you using a front-end or other 3rd party app?  AFAIK mame will not save unless you have a clean exit (i.e. you press esc and mame goes through its own exit routine). If you have a front end, pressing esc will sometimes cause the front-end to force close MAME and thus the exit routine is not ran.

IG-88

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2042
  • Last login:July 06, 2025, 09:21:45 am
  • Posts: 48,764
Re: Mame not saving key mappings...
« Reply #7 on: July 25, 2013, 01:44:13 pm »
Good idea. I'm running Mala. I will try that out later today.
Are you using a front-end or other 3rd party app?  AFAIK mame will not save unless you have a clean exit (i.e. you press esc and mame goes through its own exit routine). If you have a front end, pressing esc will sometimes cause the front-end to force close MAME and thus the exit routine is not ran.
"I know what a HAL 9000 is... I was wondering if HAL 7600 was his retarded cousin or something..."
-HarumaN

keilmillerjr

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1847
  • Last login:October 06, 2023, 10:20:39 pm
  • Web Developer.
Re: Mame not saving key mappings...
« Reply #8 on: July 25, 2013, 04:02:36 pm »
I'm not fully understanding what you are trying to do, so it's hard for me to understand what is happening. Shoot me a pm if you have a ichat/imessage or something.