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: unplugged everything and default mame controls are lost  (Read 2248 times)

0 Members and 1 Guest are viewing this topic.

knightrdrx

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 130
  • Last login:June 06, 2020, 10:45:36 pm
  • I want to build my own arcade controls!
unplugged everything and default mame controls are lost
« on: September 06, 2014, 10:13:36 pm »
I had changed the default keys in mame and now it's all gone! i was reading mame gets confused when you unplug some usb controllers.
Could I save the default.cfg file first if i'm going to unplug anything and then copy it back in when I am done?
I can't believe I have to do all that work again....I add the x arcade and 4 controllers to the mapping

knightrdrx

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 130
  • Last login:June 06, 2020, 10:45:36 pm
  • I want to build my own arcade controls!
Re: unplugged everything and default mame controls are lost
« Reply #1 on: September 06, 2014, 11:08:39 pm »
i had the file backed up from a month ago...so far so good it worked...don't know what happens if i want to add light guns though....if i plugged in 2 light guns will i lose all my settings?

dkersten

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1472
  • Last login:March 12, 2024, 11:47:30 am
  • If you are gonna do it, do it right..
Re: unplugged everything and default mame controls are lost
« Reply #2 on: September 07, 2014, 02:46:14 pm »
I have never had controls disappear from adding the light guns, but if you unplug one and plug it back in, windows will reassign both guns to different id's so the guns usually won't work.  There is a program here that will fix that, but it escapes me at the moment.

And for the mame config file, I found that opening it, even if you don't edit it or save it, resets all your controls to "stock".  not sure why but just don't touch the mame cfg file and it shouldn't be a problem. 

adder

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 640
  • Last login:February 04, 2021, 10:51:51 am
  • Location: Easy St.
Re: unplugged everything and default mame controls are lost
« Reply #3 on: September 07, 2014, 02:53:50 pm »
if you set your default.cfg file or any .cfg file to read only, then mame wont make any changes to it anymore (so perhaps make all the changes you wish with your config setup, then set your default.cfg to read only so mame no longer makes changes if you unplug/plug in new devices). also i think i read in the past about people using ctrlr files to overcome the problem you encountered (see the mame ctrlr folder in your main mame folder)

you can see some of the comments about this issue at the bottom of this link below:
http://mametesters.org/view.php?id=4479
« Last Edit: September 07, 2014, 02:59:31 pm by jadder »

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9677
  • Last login:Today at 01:53:55 pm
  • Designated spam hunter
Re: unplugged everything and default mame controls are lost
« Reply #4 on: September 07, 2014, 02:54:46 pm »
I have never had controls disappear from adding the light guns, but if you unplug one and plug it back in, windows will reassign both guns to different id's so the guns usually won't work.  There is a program here that will fix that, but it escapes me at the moment.

Drventure's ControllerRemap for Mame.   ;D


Scott
« Last Edit: September 07, 2014, 02:57:20 pm by PL1 »

SpatzST

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 229
  • Last login:April 18, 2021, 05:29:46 pm
  • I want to build my own arcade controls!
Re: unplugged everything and default mame controls are lost
« Reply #5 on: September 07, 2014, 08:34:38 pm »
not sure if anyone said this yet, but i had this problem too.  I believe you can unplug controllers as long as you do not run Mame.... once you run mame with controllers unplugged, it sets default controls because it can't find your controllers.

michelevit

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 412
  • Last login:December 25, 2024, 06:57:41 pm
Re: unplugged everything and default mame controls are lost
« Reply #6 on: September 08, 2014, 01:33:21 am »
I've had it happen to me. Its frustrating because all that time remapping keys in specific games can take some time and effort. Now that i know this can happen, I make sure to never tweak with the cab.