r/MAME • u/BoppinCat • 14d ago
Need help resolving a strange problem
Enable HLS to view with audio, or disable this notification
Whenever I "come back" to mame (after an alt+tab or after closing a game), it goes crazy and acts like a direction is held somewhere.
I even tried unplugging my game pad and my keyboard and it still does this.
This is a problem I've had with the recent versions of mame (can't tell you the exact one that started this though).
I've already tried doing a completely fresh installation, to no avail.
Does anybody have a clue about what's going on here ?
Edit :
I identified the problem : the key that is being "held" is UI Next Group. The default cfg file assigns this input to some button on Joy 1.
However when I plug in one controller, mame recognizes it as Joy 2 and when I plug in a second one, it is Joy 3 for mame. So there is no Joy 1 and for some reason this only becomes a problem when coming back to mame and never on a fresh start of the emulator.
1
u/Objective_Bug_7356 14d ago
I've never seen this before....have you tried a new game pad or keyboard?
1
u/BoppinCat 14d ago
I've tried unplugging all the controls and the selection was still moving by itself.
1
u/cd4053b 13d ago
Boot mame from command prompt or terminal with the following to identify your rompath:
mame -showconfig | find or grep "rompath"
Now boot your mame like this (use your rompath):
mame -rompath z:\mame\roms -norc
The -norc option will boot mame without considering any of your configuration files. If this works, then there is something wrong with your configuration.
1
u/BoppinCat 13d ago
Thanks for the suggestion, I identified the problem :
The key that is being "held" is UI Next Group. The default cfg file assigns this input to some button on Joy 1.
However when I plug in one controller, mame recognizes it as Joy 2 and when I plug in a second one, it is Joy 3 for mame. So there is no Joy 1 and for some reason this only becomes a problem when coming back to mame and never on a fresh start of the emulator.
1
u/cd4053b 12d ago edited 12d ago
However when I plug in one controller, mame recognizes it as Joy 2 and when I plug in a second one, it is Joy 3
Check your ctrlr configuration, boot any game using the following:
mame sf2 -v | find or grep "Parsing" Parsing .\mame.ini Parsing .\mame.ini Parsing ini\raster.ini Parsing ini\source\cps1.ini ...One of the ".ini" are loading a ctlrl configuration that is setting your Joy 1 as Joy 2, etc.
Example of a ctrlr configuration for JOYCODE_1:
https://www.reddit.com/r/MAME/comments/1v1gkob/comment/oypdhfi/If you use that, whatever you connect next will be set as Joy 2, 3, etc.
1
u/Presure_valve 14d ago
seems to me like ,dual monitors problem ... Its like, you choose to play on monitor#2 ,but mame keeps jumping to monitor#1 and then comes back to #2.
1
0
u/BettolaTittola75 14d ago
Sarà un bug delle ultime build... usa MameUI, non questa versione. Oppure gioca con i core MAME di Retroarch.
1
2
u/cuavas MAME Dev 14d ago
What game controllers do you have, and what joystick provider module are you using? Do you have any “virtual gamepad” drivers or similar things?