| Main > Software Forum |
| Vista vs. XP - Handling of USB |
| << < (2/2) |
| u_rebelscum:
--- Quote from: chemame on January 12, 2007, 08:30:06 am ---What's frustrating is, if MAME is run without my son remembering to reconnect the hub, it loses all joystick settings. I mean loses them GONE, so I have a backup default.cfg just in case this happens, which is generally does about once a week. :-) --- End quote --- I'd use a ctrlr file (but you could make it so the cfg file is read only). Mame doesn't change ctrlr files. If all you have is the default.cfg, just copy it to the ctrlr folder, and set (and uncomment) "ctrlr default" in mame.ini. |
| chemame:
--- Quote from: u_rebelscum on January 12, 2007, 12:36:35 pm ---I'd use a ctrlr file (but you could make it so the cfg file is read only). Mame doesn't change ctrlr files. If all you have is the default.cfg, just copy it to the ctrlr folder, and set (and uncomment) "ctrlr default" in mame.ini. --- End quote --- Wow, sounds very much like there's a whole area of Mame config I've never explored -- and should have! I have several (100+) game-specific cfg files tho. But it's only default.cfg that is hosed if Mame runs without the USB gamepads connected. So... given that I have lots of custom controls in default.cfg, AND I have many game-specific cfg files too, AND I expect my custom general settings to be inherited per game (when they're not overridden of course)... is there a solution that's right for me? Should I talk to my doctor about Zertec™? Che |
| u_rebelscum:
--- Quote from: chemame on January 12, 2007, 12:42:54 pm ---I have several (100+) game-specific cfg files tho. But it's only default.cfg that is hosed if Mame runs without the USB gamepads connected. So... given that I have lots of custom controls in default.cfg, AND I have many game-specific cfg files too, AND I expect my custom general settings to be inherited per game (when they're not overridden of course)... is there a solution that's right for me? --- End quote --- It will work great. And yes, the base is mame's hardcoded defaults, and the ctrlr file changes off of that, then cfg/default.cfg changes off those results, then the game driver coded inputs, then the game specific cfg/cfg file. Just a Q: don't the individual cfg of the game you run also "zero out" when the sticks are accidentally not plugged in? Also, you can put the game specific cfgs into the ctrlr file, but pasting 100+ individual by hand can be, shall we say, time consuming. ;) Especially since the order they are in the ctrlr file does make a difference. If you have common remappings, such as all geoneo games, ctrlr file can also have a driver (or parent) level remap. For example, since all neogeo games use the neogeo.c driver in mame, they can have a single remap shared by all in the ctrlr file (x-arcade, hotrod, etc have ctrlr their file to handle neogeo games). This could reduce the number of different remaps. As far as order goes, basically the default needs to be first, then drivers, and then games (with a parent before its clones). Check out the ctrlr files that come with mame for more detailed examples, and easyemu for an okay description. Again, you don't have to transfer the game specific cfgs. But if you do anyway and have questions that the above sources don't explain clearly (which can be a lot), please ask. Aside, hmm a utility that transfers the info in a cfg/cfg folder to a ctrlr file would be nice, but knowing the parent/clone relations would add to the complexity, and testing for full driver remaps even more. --- Quote ---Should I talk to my doctor about Zertec™? --- End quote --- :cheers: |
| chemame:
--- Quote from: u_rebelscum on January 12, 2007, 05:47:22 pm ---Just a Q: don't the individual cfg of the game you run also "zero out" when the sticks are accidentally not plugged in? --- End quote --- Yes, but luckily it's only the game that is run... and I notice the problem right away, and correct it before running any others. --- Quote from: u_rebelscum on January 12, 2007, 05:47:22 pm ---If you have common remappings, such as all geoneo games, ctrlr file can also have a driver (or parent) level remap. For example, since all neogeo games use the neogeo.c driver in mame, they can have a single remap shared by all in the ctrlr file --- End quote --- Wow, that's interesting and good to know. I'm wondering if that would help much... I can't really think of many families of games that I remap similarly. Mostly it's one offs like Asteroids, Defender, tank games, etc. Speaking of tank games, I finally sat down with a dang logic diagram last night and worked out how to map tank-style controls (ala Vindicators) to use single joysticks but still provide full tank movement. It turned out to be trickier than I thought, thus the logic diagram, but I finally got it! I think I'll post it in a separate thread, just in case it helps anyone. I don't have 4 sticks on my cab, so hadn't been able to play 2-player vindicators until now... |
| chemame:
Woohoo! Thanks, u_rebelscum! It worked PERFECTLY. My son was so excited, as I had banned him from unplugging the gamepads without seeking my permission every time. Life is better for everyone now! Yay! |
| Navigation |
| Message Index |
| Previous page |