desmume when exiting doesnt go back to mgalaxy main menu

Get answers to questions about using mGalaxy.
Post Reply
lucillez1
Newbie
Newbie
Posts: 4
Joined: Thu Feb 28, 2019 1:22 pm

i would like to ask if anyone knows how to configure desmume emulator to go back to main menu of games list in mgalaxy so i can choose another game again
jmd
Full Member
Full Member
Posts: 204
Joined: Mon Feb 05, 2007 2:33 pm

i would like to ask if anyone knows how to configure desmume emulator to go back to main menu of games list in mgalaxy so i can choose another game again
This is handled by mGalaxy itself!...so you mean that you don't get back to mGalaxy when pressing 'Esc' once in Desmume?
lucillez1
Newbie
Newbie
Posts: 4
Joined: Thu Feb 28, 2019 1:22 pm

yes thats correct jmd when you press escape it minimize to windows not back to mgalaxy
Aeliss
Hero Member
Hero Member
Posts: 900
Joined: Thu Apr 04, 2013 5:55 pm

Have you check the checkbox "use script if available" in mGalaxyRunway ?
lucillez1
Newbie
Newbie
Posts: 4
Joined: Thu Feb 28, 2019 1:22 pm

yes i have aeliss it just keeps minimizing to windows  any other suggestions anyone
Aeliss
Hero Member
Hero Member
Posts: 900
Joined: Thu Apr 04, 2013 5:55 pm

I have a new try with the last version and a clean setup.
I have just uncheck "show toolbar" in "view", and all is working.

Perhaps it's because I have an older mGalaxy version, but the script is still the same

Code: Select all

hotkeyset("{esc}", "Terminate")

;load application
local $PID = Run ( '"' & $app & '" ' & $command )
;wait for window to be active
WinWaitActive("DeSmuME")
;then set it fullscreen
Send("!{Enter}")

;waiting loop
While ProcessExists ( $PID )
   Sleep(500)
WEnd

;exit
exit 0

;*************************************
;functions
Func Terminate()
   Send("!+{F4}",0)
   Exit 0
EndFunc

The script send alt+F4 when you press escape, try to use alt+F4 yourself to see if it's work ?
Last edited by Aeliss on Sun Mar 03, 2019 1:43 pm, edited 1 time in total.
lucillez1
Newbie
Newbie
Posts: 4
Joined: Thu Feb 28, 2019 1:22 pm

thanks everyone for you help i tried retroarch with desnume and the exit worked perfectly
Post Reply