Build Your Own Arcade Controls Forum
Main => Lightguns => Topic started by: Jayinem on December 05, 2025, 09:15:23 pm
-
I've had this problem before I seem to remember being able to somewhat fix it I know I had to go into the cfg files but I don't remember what I did. I just set all the lightgun controls and it had assigned them to gun 4, every game I tried working fine well without even rebooting about an hour later I just tried a game that I just added to Launchbox and it didn't work. Sure enough I go to check the input and it switched them to gun 3. I am hoping for a permanent fix to this to where I'm not constantly having to switch the gun settings back and forth.
thanks
-
I should have looked first before asking because I remember now I'll go ahead and say what I did in case someone also needs a fix for this. Just go into cfg folder and open default.cfg, go to edit > replace, let's say the last number your gun was in MAME was gun 3 you want to replace anything that says CODE_1 or CODE_2 or CODE_4 with CODE_3 so you put in find what the code that the cfg says and in the replace box replace it with CODE_3.
But it'll probably change the gun number again so what you want to do after you've saved and closed the default.cfg is right click on it go to properties and click the box that says read-only and hit ok. This should prevent it from changing the numbers on you, I believe so anyway, hopefully.
-
Yeah nevermind I'm not good I thought I was but then it switched back from 3 to 4, so it's gone from 4 to 3 no reboot and back to 4 even after making the default.cfg read only. So still seeing if someone knows a permanent fix.