Sasquatch5 Posted January 3, 2019 Share Posted January 3, 2019 When I exit a MAME game (after pressing escape) it just goes black and sits there. If I click the mouse it seems to fully exit. I don't have the same issue with SNES/NES. It also works fine in Desktop mode. Quote Link to comment Share on other sites More sharing options...
CDBlue Posted January 3, 2019 Share Posted January 3, 2019 (edited) Note 100% sure if this will fix your issue or not (after I re-read your symptoms, it might not be related to this). But, there are two ways to exit MAME from within LB/BB, one is by adding the following to the Autohotkey Script tab in LB while editing the emulator: $Esc:: { Process, Close, {{{StartupEXE}}} } Or another way is to leave that area empty in LB, and then in MAME you can re-map the Cancel UI buttons assigned in MAME itself to same controls that you normally use in LB/BB to exit emulators. The reason this is preferred is that if you use the AHK script, MAME doesn't close properly, saving changes you might have made (to artwork, video settings etc.). But, if you re-map the Cancel UI (it might be called Exit UI, can't remember for sure) in MAME, then MAME exits properly when you press those keys, saving any changes you might have made, etc. If making changes in MAME and saving them is not imortant, then the easier of the two solutions is the fist one I mentioned above. Hope this helps, CDBlue Edited January 3, 2019 by CDBlue 1 Quote Link to comment Share on other sites More sharing options...
Sasquatch5 Posted January 3, 2019 Author Share Posted January 3, 2019 12 minutes ago, CDBlue said: Note 100% sure if this will fix your issue or not (after I re-read your symptoms, it might not be related to this). But, there are two ways to exit MAME from within LB/BB, one is by adding the following to the Autohotkey Script tab in LB while editing the emulator: Thanks, I'll give both of those a shot. I'm not sure if that is the issue, because of what's happening when it exits. I'm currently not using a controller (waiting on an X-Arcade Tankstick to get delivered) so I'm just testing still at this point. Quote Link to comment Share on other sites More sharing options...
CDBlue Posted January 3, 2019 Share Posted January 3, 2019 Yeah, makes sense. If you're using the ESC key, which is the default in Mame to exit the emulator though, just make sure that you also do not have any Autohotkey Script setup on the appropriate tab on the Emulator setup in LB. That script will take precedence if you launch MAME via LB/BB, and using the built-in exit in MAME is preferred, I guess that's what I was trying to explain lol Quote Link to comment Share on other sites More sharing options...
Sasquatch5 Posted January 4, 2019 Author Share Posted January 4, 2019 5 hours ago, CDBlue said: Yeah, makes sense. If you're using the ESC key, which is the default in Mame to exit the emulator though, just make sure that you also do not have any Autohotkey Script setup on the appropriate tab on the Emulator setup in LB. That script will take precedence if you launch MAME via LB/BB, and using the built-in exit in MAME is preferred, I guess that's what I was trying to explain lol I just checked and I am not using any Autohotkey script. I'm using this command to launch the game. mame64.exe -skip_gameinfo "FULL\PATH\TO\ROM\FILE" Then I'm just pressing Escape to exit. Quote Link to comment Share on other sites More sharing options...
Sasquatch5 Posted January 4, 2019 Author Share Posted January 4, 2019 I just checked the "Attempt to hide console window on startup/shutdown" and now it is exiting properly. I'm not sure if this is related. 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.