Jinxyface Posted December 22, 2020 Share Posted December 22, 2020 (edited) Hello, I've recently started setting up MAME (.226), and everything works fine if I launch MAME by itself. Controller works and everything. I've set the games to launch through Launchbox (Launchbox pointed to C:\Users\<USER>\LaunchBox\Emulators\MAME -> mame64.exe). The games will organize and launch fine, but when launching through Launchbox, my controller doesn't work and the game will only work using the default MAME controls. I can then close LB, and re-launch the games directly through MAME and the controller works fine again. Some extra info: 1) I only have one instance of MAME installed 2) I've set my default.cfg to read only for MAME to not wipe controls on exit 3) I don't have RetroArch installed/am not using RetroArch MAME 4) I am using the most recent stable LB 11.8 Anyone got any ideas? Edited December 22, 2020 by Jinxyface Quote Link to comment Share on other sites More sharing options...
JoeViking245 Posted December 22, 2020 Share Posted December 22, 2020 What does your "Default Command-Line Parameters:" look like? Something like this? Quote Link to comment Share on other sites More sharing options...
Jinxyface Posted December 23, 2020 Author Share Posted December 23, 2020 Hello, thank you for the reply. Everything is at the default of whatever Launchbox has it set as. This is what it shows for me. Quote Link to comment Share on other sites More sharing options...
JoeViking245 Posted December 23, 2020 Share Posted December 23, 2020 Maybe your controller (whatever it is) doesn't like to be dinput. Try removing that line from the Default Command-line Parameter. Quote Link to comment Share on other sites More sharing options...
Jinxyface Posted December 23, 2020 Author Share Posted December 23, 2020 Yeah I've already tried that one too. I'm using an Xbox controller. If I remove dinput and just leave -keyboardprovider, then launching the game through LB will just launch MAME and not the game itself. Quote Link to comment Share on other sites More sharing options...
JoeViking245 Posted December 23, 2020 Share Posted December 23, 2020 Hopefully someone with more insight on this will chime in as I'm just grasping at straws. ? Ya, simply leaving dinput off after -keyboardprovider will basically tell MAME to load the keyboardprovider that's called rom_name [whatever the name of the rom is (aka "File") you're trying to load]. I have an Xbox controller as well and (thankfully) haven't ran into this. (no offense) So the full "-keyboardprovider dinput" should not be an issue. My last thought is: in LaunchBox, click Tools, Options... scroll down to Game Controllers and make sure Enable Game Controllers is checked. By default it's not checked. Quote Link to comment Share on other sites More sharing options...
Jinxyface Posted December 31, 2020 Author Share Posted December 31, 2020 Sorry for the late update. I've enabled game controllers in Launchbox, but the issue is still here. Quote Link to comment Share on other sites More sharing options...
Tmeme Posted January 2, 2021 Share Posted January 2, 2021 I had this issue as well. My assumption was that Mame was not given the permission to save the config file upon closing the program. Here is what I did to fix it... I found the mame64.exe in regular windows file explorer (NOT IN LAUNCHBOX) RIGHT Click mame64.exe select "Properties" select "Compatibility" tab Under Settings make sure "Run this program as an Administrator" is checked. then Select "Apply" click "OK" to exit the Properties dialogue. Mame now saves my joystick configurations in Launchbox. I hope this works for you. Cheers Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.