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: Mame32 losing Configs when Swapping Control Panels  (Read 999 times)

0 Members and 1 Guest are viewing this topic.

markrvp

  • ARGHHHHHHHHHHHHH!!!!!!!!!! True Genius!
  • Wiki Contributor
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3353
  • Last login:September 14, 2020, 10:19:57 am
  • NFL Expert
Mame32 losing Configs when Swapping Control Panels
« on: July 01, 2005, 06:17:38 pm »
I have multiple control panels.  On one panel, I am using a GP-Wiz 49 as the encoder - READ GAMEPAD ENCODER.  On another panel I have a Minipac - READ KEYBOARD ENCODER.  I need to use both types of encoders when swapping so I went into Mame32 and altered the default config so that . . .

. . . Pause = P or J1 Button 15
      ESC =  Escape or J1 Button 16
      Enter = Enter or J1 Button 17
      P1 Coin = 5 or J1 Button 18
      P1 Start = 1 or J1 Button 19

This works fine as long as the panel with the GP-Wiz 49 is installed.  When I disconnect this panel and connect the MINIPAC panel then the J1 Button options disappear.  I can re-connect the GP-Wiz 49 panel and they are still gone.  By tabbing into the controls you would see this:

Pause = P or
      ESC =  Escape or
      Enter = Enter or
      P1 Coin = 5 or
      P1 Start = 1 or

The word OR is till there but the "or what" is missing.  I can understand why the Joystick1 Button X code wouldn't show up if a GAMEPAD Encoder is not connected, but shouldn't they reappear when the GAMEPAD encoder is reconnected?  Why is the Default.cfg file being altered when the GP-Wiz 49 is disconnected?

Surely this doesn't mean that I will have to remap controls everytime I swap panels does it?

Timoe

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1662
  • Last login:July 14, 2009, 09:50:12 am
  • Team-Oh-tAy-Oh
    • Rattlin' Trash
Re: Mame32 losing Configs when Swapping Control Panels
« Reply #1 on: July 01, 2005, 06:33:27 pm »
I'll prolly have to see pictures of both the panels in question  ;D

markrvp

  • ARGHHHHHHHHHHHHH!!!!!!!!!! True Genius!
  • Wiki Contributor
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3353
  • Last login:September 14, 2020, 10:19:57 am
  • NFL Expert
Re: Mame32 losing Configs when Swapping Control Panels
« Reply #2 on: July 05, 2005, 12:36:32 pm »
bump

Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
Re: Mame32 losing Configs when Swapping Control Panels
« Reply #3 on: July 05, 2005, 05:05:42 pm »
mame32 probably shouldn't be used.  At least a frontend has the ability to have seperate settings for mame... or force settings...  But mame32 isn't really designed for that. 

its not all that cab friendly in general, let alone hot swappable control panel friendly.

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: Mame32 losing Configs when Swapping Control Panels
« Reply #4 on: July 06, 2005, 02:19:03 pm »
I can understand why the Joystick1 Button X code wouldn't show up if a GAMEPAD Encoder is not connected, but shouldn't they reappear when the GAMEPAD encoder is reconnected?  Why is the Default.cfg file being altered when the GP-Wiz 49 is disconnected?

Surely this doesn't mean that I will have to remap controls everytime I swap panels does it?

The problem is that mame & mame32 aren't setup for hot-swapping joysticks.  Most PC software is like this; directX directInput can workaround it with extra coding, but the normal, MS suggested directInput way doesn't.

Try completely exiting mame/mame32 before swapping and see if that helps.  You also might try the same hot-swaps as you did before, but exit mame/mame32 and restart before opening TAB and see if the joystick is still there.  These are where a seperate FE might be better than the fused GUI of mame32: you can hot-swap inside the FE (without mame running), but you might have simular joystick problems within the FE.

FWIW, IMO you should use the ctrlr cfg to store general "permanent" hand changed inputs.  Mame/mame32 doesn't change them, and they transfer to newer mame's just as quitely as the cfg/default.cfg.
Robin
Knowledge is Power

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19428
  • Last login:Today at 11:06:50 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Mame32 losing Configs when Swapping Control Panels
« Reply #5 on: July 06, 2005, 11:36:42 pm »
what he said....


:)

markrvp

  • ARGHHHHHHHHHHHHH!!!!!!!!!! True Genius!
  • Wiki Contributor
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3353
  • Last login:September 14, 2020, 10:19:57 am
  • NFL Expert
Re: Mame32 losing Configs when Swapping Control Panels
« Reply #6 on: July 07, 2005, 10:51:43 am »
Thanks for the replies.  I will get to work on this right away.