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: Might be a stupid question...  (Read 2186 times)

0 Members and 1 Guest are viewing this topic.

postmortem

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:July 03, 2020, 10:58:40 am
Might be a stupid question...
« on: February 24, 2013, 02:08:41 pm »
I'm upgrading my mame from mameui64 144.u3 to mameui64 145.  I dont want to have to setup the button mapping on each game again so I copied my cfg folder from mame 144 and put it in 145 and it doesnt seem to work. Once I load a game the buttons are all default. I check the cfg file and it looks like it gets replaced with a default one. I tried setting the folder to read only to see if it would prevcent mame from replacing the file but it doesnt. Am I doing something wrong? If I have to set buttons for 200 games again im gonna lose my mind =) 
Cabs: Tron, MKII, MK4, KI2, Blitz99, TMNT, Pac-Mania, Defender, Mame Box.
PCBs: MK1, UMK3, Killer Instinct, Area51, Sunset Riders, Pit Fighter, Wargods.
Pins: Bride of PinBot, Attack from Mars, The Shadow

postmortem

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:July 03, 2020, 10:58:40 am
Re: Might be a stupid question...
« Reply #1 on: February 24, 2013, 02:36:39 pm »
after doing more testing it would appear that the cfg files from mame 144 are different than the ones created by 145. Here is the only difference I can see..

144
            <port tag="IN2" type="START1" mask="4" defvalue="4">

145
            <port tag=":IN2" type="START1" mask="4" defvalue="4">

so it looks like 145 needs a : for each input.... I guess im stuck redoing all the buttons again.. Im sure as hell not opening each cfg file and adding :'s all over the place
Cabs: Tron, MKII, MK4, KI2, Blitz99, TMNT, Pac-Mania, Defender, Mame Box.
PCBs: MK1, UMK3, Killer Instinct, Area51, Sunset Riders, Pit Fighter, Wargods.
Pins: Bride of PinBot, Attack from Mars, The Shadow

spoot

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 688
  • Last login:June 15, 2015, 10:36:18 am
  • Destroyer of electronics
Re: Might be a stupid question...
« Reply #2 on: February 24, 2013, 02:45:44 pm »
Looks like five minutes of work writing up a python program to add those.  7z/zip your cfg's and PM them to me if you want and you'll get updated ones back if I'm bored today.

PS: I'm bored.

CpCaveman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 110
  • Last login:January 06, 2018, 11:43:05 am
  • Contains 0% horsemeat , may contain BULL though :)
Re: Might be a stupid question...
« Reply #3 on: February 24, 2013, 03:07:44 pm »
going by the fact that it took 30mins from your own post to your own answer i`m going to say YES it was a stupid question :) wait til you go from 145 to 146 you have to do a happy disco dance before each colon (i`m just joking btw clicked on your "might be a stupid question" topic guess that why you made it like that :) )
Hit something hard enough it should work, if it dont the result can always be called art :)

postmortem

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 156
  • Last login:July 03, 2020, 10:58:40 am
Re: Might be a stupid question...
« Reply #4 on: February 24, 2013, 07:19:33 pm »
Looks like five minutes of work writing up a python program to add those.  7z/zip your cfg's and PM them to me if you want and you'll get updated ones back if I'm bored today.

PS: I'm bored.

damn I wish I would have checked this when I got home instead of just starting to add ":"s to the cfg files. Im just about done now lol... just my luck! thanks for the help though!
Cabs: Tron, MKII, MK4, KI2, Blitz99, TMNT, Pac-Mania, Defender, Mame Box.
PCBs: MK1, UMK3, Killer Instinct, Area51, Sunset Riders, Pit Fighter, Wargods.
Pins: Bride of PinBot, Attack from Mars, The Shadow

spoot

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 688
  • Last login:June 15, 2015, 10:36:18 am
  • Destroyer of electronics
Re: Might be a stupid question...
« Reply #5 on: February 24, 2013, 08:05:41 pm »
Heh, np.  :cheers: