mGalaxy forum

General Discussions => Need Help? => Topic started by: lucillez1 on February 28, 2019, 07:27:04 AM

Title: desmume when exiting doesnt go back to mgalaxy main menu
Post by: lucillez1 on February 28, 2019, 07:27:04 AM
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
Title: Re: desmume when exiting doesnt go back to mgalaxy main menu
Post by: jmd on March 01, 2019, 12:38:52 AM
Quote
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?
Title: Re: desmume when exiting doesnt go back to mgalaxy main menu
Post by: lucillez1 on March 01, 2019, 02:59:33 AM
yes thats correct jmd when you press escape it minimize to windows not back to mgalaxy
Title: Re: desmume when exiting doesnt go back to mgalaxy main menu
Post by: Aeliss on March 01, 2019, 12:11:20 PM
Have you check the checkbox "use script if available" in mGalaxyRunway ?
Title: Re: desmume when exiting doesnt go back to mgalaxy main menu
Post by: lucillez1 on March 01, 2019, 11:54:00 PM
yes i have aeliss it just keeps minimizing to windows  any other suggestions anyone
Title: Re: desmume when exiting doesnt go back to mgalaxy main menu
Post by: Aeliss on March 03, 2019, 07:39:46 AM
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]
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 ?
Title: Re: desmume when exiting doesnt go back to mgalaxy main menu
Post by: lucillez1 on March 03, 2019, 07:54:09 AM
thanks everyone for you help i tried retroarch with desnume and the exit worked perfectly