sirleirbag Posted August 9, 2019 Share Posted August 9, 2019 (edited) Hi, i've an issue with this Demul Version, i use this one cos i'm trying to use it in a DX10 PC, so newer versions can exit normally, but not this version or previous to this one. I tried using: 1- No AHK 2- $Esc:: { Process, Close, {{{StartupEXE}}} } With this script if i press Esc it exits, but not with Control Automation (i need control automation) 3- $Esc:: { WinClose, ahk_exe demul.exe } 4- From the Pause Menu i tried also, if i go to Exit, it just goes back to the game. I cant make it work... and i tried on more than this PC, the one i have to make it work just launches 3 games that i want with Demul, the rest i make them work with Retroarch with Flycast, but Metal Slug 6, Dolphin Blue and Kings of Valour 7 dont work for me with Retroarch, so i launch them with Demul, they work fine, but i cant Exit Emulator... running out of options... PLEASE HELP! EDIT: I Figured one way to do it, with Xpadder i MAP the Automation buttons for exit to some keys, in my case 8 and 9, then i put this AHK with Demul: 8 & 9:: { Process, Close, {{{StartupEXE}}} } Only way it works for me, but it's not ideal... i have to launch Xpadder with the games i want to use with Demul ONLY, cos if not, it interfere with my other emulators. Edited August 9, 2019 by sirleirbag Quote Link to comment Share on other sites More sharing options...
CDBlue Posted August 10, 2019 Share Posted August 10, 2019 (edited) I believe the KB shortcut to exit Demul from within Demul (all versions) was alt-F4. Try this one to see if it works. $Esc:: { Send !{F4} Return } This should force-close Demul, and should work with pressing ESC and controller automation. I also found this script in the AHK post in the forums here, not sure if it still works or not through. If the above one doesn't you can try this to see if it still works: $Esc:: { WinClose, ahk_class window ahk_exe demul.exe } Hope this helps, CDBlue Edit: Here's a direct link to the thread in these forums where people have been posting AHK scripts and questions relating to emulators and LB/BB - Edited August 10, 2019 by CDBlue Quote Link to comment Share on other sites More sharing options...
sirleirbag Posted August 10, 2019 Author Share Posted August 10, 2019 4 hours ago, CDBlue said: I believe the KB shortcut to exit Demul from within Demul (all versions) was alt-F4. Try this one to see if it works. $Esc:: { Send !{F4} Return } This should force-close Demul, and should work with pressing ESC and controller automation. I also found this script in the AHK post in the forums here, not sure if it still works or not through. If the above one doesn't you can try this to see if it still works: $Esc:: { WinClose, ahk_class window ahk_exe demul.exe } Hope this helps, CDBlue Edit: Here's a direct link to the thread in these forums where people have been posting AHK scripts and questions relating to emulators and LB/BB - Hey thanks for reply, i already tried the first, and now i tried the 2nd... they didnt work, dont know why... controller automation IS WORKING, i can Pause, i can increase and decrease volume... but no exit... dont know why... Meanwhile i add a side app (xpadder), and then i had to add a line to close xpadder when it closes the emulator, it end up being like this: Launch Xpadder before emulator as side app, then in xpadder i mapped buttons "coin & start" "select & start" or the buttons that i used to exit, one for HOLD and one for EXIT, and mapped them to number 8 and number 9... Then in the AHK i put this (first command to close demul and second to close Xpadder) it works just fine and i think i'll leave it like this cos they are only 3 games with demul and it doesnt worth the hussle. 8 & 9:: { Process, Close, {{{StartupEXE}}} Process, Close, Xpadder [5.7].exe } 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.