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 buttons not saving after I change them  (Read 18221 times)

0 Members and 1 Guest are viewing this topic.

DeLuSioNal29

  • Global Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4779
  • Last login:July 11, 2025, 09:17:44 am
  • Build the impossible -"There is no Spoon"
    • DeLuSioNaL's YouTube Videos
MAME buttons not saving after I change them
« on: July 25, 2008, 12:16:39 am »
Hi all,

I began having this problem recently and it's driving me nuts.  I re-programmed my i-pac4 to non-default keys so that certain emulators would work with the new buttons.  (ie. alt or shift or ctrl was not recognized in the emu as a valid button).

It programmed fine and the emu's work great.  However, I'm not sure if it's related or not but for some reason if I use MAME and go into the tab menu and assign keys to buttons it does not retain the new button assignments when I exit the game.

For example:

In a MAME game, let's say Donkey Kong, I start the game, hit TAB to enter the control config.  I set "global" settings for player 1 and change the default player 1 button ( ctrl ) to my new key ( \ ).  I play the game and it works fine.  I exit the game.  I start the game again.  The newly assigned button reverts back to (ctrl).  This happens EVERY time.

Has anyone ever heard of this?

It's driving me nuts.  I am using MAME .119

Any help would be appreciated.

~ DeLuSioNaL
Stop by my Youtube channel and leave a comment:

protokatie

  • I DO try to be insulting and horrible to my fellow Terran
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1396
  • Last login:March 27, 2012, 09:36:43 pm
  • Is anyone here a member of team retard?
Re: MAME buttons not saving after I change them
« Reply #1 on: July 25, 2008, 01:17:04 am »
This prolly wont be of any help to you, as I am using MAME32/ui. But I have noticed that after changing any settings in MAME32, if I close the window via the x button, it will not save the changes.

Also, check you cfg directory, this is where the controls are stored for each game. If you are having too much trouble using tab, just edit the default.cfg file in the cfg directory.
--- Yes I AM doing this on purpose, and yes I DO realize it is pissing you off.

---If my computers were cats, my place would look like an old widows house, with half of the cats having obvious health problems

Dazz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1246
  • Last login:January 11, 2025, 07:43:39 am
  • HyperSpin Team
    • VPUniverse
Re: MAME buttons not saving after I change them
« Reply #2 on: July 25, 2008, 09:53:45 am »
Hey DeLuS,

Can you run the Ipac programmer in Notepad (www.ultimarc.com/interact.html) and copy/paste how you have programmed your IPac4?  I'll program mine to match and see if I have the same issue in MAME.  This will also help me because I too have been looking for a good mapping to run other emus with but the ALT key screws up some emulators.



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: MAME buttons not saving after I change them
« Reply #3 on: July 25, 2008, 12:37:26 pm »
Read only files in the cfg directory? NTFS permission problem? Sounds like you have read access only, no write. One cause could be copying files from a CD, which gives you read only files.
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

Dazz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1246
  • Last login:January 11, 2025, 07:43:39 am
  • HyperSpin Team
    • VPUniverse
Re: MAME buttons not saving after I change them
« Reply #4 on: July 25, 2008, 01:11:25 pm »
Yeah, I just re-programmed my IPAC4.  I went into MAME and was able to assign my new keys and they are remaining assigned.  Now I just need to compile MAME for TAB = Pause.



protokatie

  • I DO try to be insulting and horrible to my fellow Terran
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1396
  • Last login:March 27, 2012, 09:36:43 pm
  • Is anyone here a member of team retard?
Re: MAME buttons not saving after I change them
« Reply #5 on: July 25, 2008, 11:50:44 pm »
Quote
Read only files in the cfg directory? NTFS permission problem? Sounds like you have read access only, no write. One cause could be copying files from a CD, which gives you read only files.

Oh, that is something to put in the faq or a sticky thread. I had almost forgotten about the write-protect from CD files... (I planned to us a CDR to copy my whole MAME directory to the machine I intend to use as my arcade machine, now I will remember to undo the write-protect before I start bashing my head in)
--- Yes I AM doing this on purpose, and yes I DO realize it is pissing you off.

---If my computers were cats, my place would look like an old widows house, with half of the cats having obvious health problems

Dazz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1246
  • Last login:January 11, 2025, 07:43:39 am
  • HyperSpin Team
    • VPUniverse
Re: MAME buttons not saving after I change them
« Reply #6 on: July 26, 2008, 12:30:36 pm »
Hey Guys,

This appears does not appear to be a "read only" issue.  This appears to be a Maximus Arcade Front End issue...  I am having the same issue only when I use Maximus. 

I loaded up mame.exe directly and was able to configure my keys, exited MAME, re-launched MAME and the keys were there.  Loaded up Maximus, launched a game, went into TAB menu in MAME and my custom keys were gone.  It appears that Maximus is erasing the default.cfg when it launches.  I also tried this in HyperSpin and it keeps my key config, so I am positive that this is a Maximus Arcade bug.

BTW - I want to say this looks like it might be specific to 2.10b5.  I'm reverting back to 2.10b4 to see if this was just introduced in b5.

I just verified and 2.10b4 does not do this, so this is indeed a Maximus Arcade 2.10b5 issue.
« Last Edit: July 26, 2008, 12:49:32 pm by Dazz »



DeLuSioNal29

  • Global Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4779
  • Last login:July 11, 2025, 09:17:44 am
  • Build the impossible -"There is no Spoon"
    • DeLuSioNaL's YouTube Videos
Re: MAME buttons not saving after I change them
« Reply #7 on: July 27, 2008, 07:43:57 pm »
Dazz, you are correct.  It is indeed a Maximus Arcade issue.  When I reverted back to an older version of MA (beta 3) the problem ceased to exist and I was able to retain my settings.  I did this the day of the posting and didn't have a chance to post my results since.  Thanks for posting your results on your end as well.

Great news though, as a result of this bug (and other bugs) MA 2.10 beta 6 has been released which corrects this problem.

~ DeLuSioNaL
« Last Edit: July 27, 2008, 07:47:07 pm by DeLuSioNal29 »
Stop by my Youtube channel and leave a comment: