Main > Software Forum
Ctrlr File Issues
<< < (2/3) > >>
sc1103:
Minwah, I changed the system name to default, and now the ctrlr file is accepted by mame, but when I loaded marvel vs capcom, the buttons were Lctrl, Rshift, Space, LShift, Z, and X.  It seems that mame ignored the cps2 entry.  I changed teh CPS1 to cps1 and the same for CPS2, but neither the upper nor lowercase changed anyting.  Could it be the duplicate default entry at the end overwrites the cps1/cps2 changes?
Buddabing:

--- Quote from: sc1103 on October 13, 2005, 11:26:17 am ---Could it be the duplicate default entry at the end overwrites the cps1/cps2 changes?

--- End quote ---

That would do it. The systems are loaded in order and if you have two systems with the same name it'll overwrite the first one with the second.
u_rebelscum:

--- Quote from: sc1103 on October 13, 2005, 11:26:17 am ---... Could it be the duplicate default entry at the end overwrites the cps1/cps2 changes?

--- End quote ---

Yes.  Mame (now) reads the ctrlr file from front to end, "system" by "system".  If the system applies to the game, that system settings are used.  Since the default system is last, it overrides everything.

That means put the default at the front of the file, the groupies (cps1, cps2, neogeo, etc) next, then the parents, and last the individual games.  (If you go that deep).
sc1103:

--- Quote from: Buddabing on October 13, 2005, 01:39:17 pm ---
--- Quote from: sc1103 on October 13, 2005, 11:26:17 am ---Could it be the duplicate default entry at the end overwrites the cps1/cps2 changes?

--- End quote ---

That would do it. The systems are loaded in order and if you have two systems with the same name it'll overwrite the first one with the second.


--- End quote ---

--- Quote from: u_rebelscum on October 13, 2005, 01:39:35 pm ---
--- Quote from: sc1103 on October 13, 2005, 11:26:17 am ---... Could it be the duplicate default entry at the end overwrites the cps1/cps2 changes?

--- End quote ---

Yes. Mame (now) reads the ctrlr file from front to end, "system" by "system". If the system applies to the game, that system settings are used. Since the default system is last, it overrides everything.

That means put the default at the front of the file, the groupies (cps1, cps2, neogeo, etc) next, then the parents, and last the individual games. (If you go that deep).

--- End quote ---

Thanks for teh clarifications
Howard_Casto:
Btw this seems dumb to me.  It used to be default, monitor, driver, clone, game.  Now it just reads from top to bottom.  This makes it rather compliacted to write ctrlr files and probably needs to be fixed in the mame code. 
Navigation
Message Index
Next page
Previous page

Go to full version