Hello.
I tried to install the Nintendo DS on Mgalaxy and I have two problems :
If I use the mGalaxy_Script.exe from the website, the emulator doesn't seem to load. There's the loading circle on Windows 7 which seems to run forever.
If I don't use the mGalaxy_Script file, then the emulator seems to load up fine but I just hear the sound, the window is not displayed.
The emulator version is the last, I guess : "DeSmuME_0.9.11_x64"
Thanks a lot.
Nintendo DS
Yeah, it works fine outside Mgalaxy.Aeliss wrote: I haven't probleme on my system with same version.
It works on standalone mode ?
Without the script, the emul works but it is still in windowed mode mode.
Wich one script are you using ?
I use the official script found here : http://www.mgalaxy.com/forum/index.php? ... ew;down=67
And use the official command line in the systems.xml file :
Code: Select all
<Cmd id="0" name="DeSmuME [Script]" value=""%path\%file%ext"" />
As I said, without the script, I heard the sound of the emu but the emu window is never displayed.
Can you check and post the command line in your own systems.xml file to see if it's the same?
If it was just a problem of script, I could have tried to recompile it myself but as long as it won't work without the script, it's pretty useless.
Last edited by davhuit on Fri May 13, 2016 3:27 pm, edited 1 time in total.
No, it's not, already tried (and if I remember right, I think I got the same problem with demul a while ago, but it was working fine with a script) and it still run in the background, without displaying the emulator window.
And the emulator works fine outside mGalaxy, I even check the emu command line and "emulator.exe nameoftherom.nds" works fine outside of mGalaxy.
And the emulator works fine outside mGalaxy, I even check the emu command line and "emulator.exe nameoftherom.nds" works fine outside of mGalaxy.
Ok, so I can't explain why, but I think the emul can't be active when you use it with mGalaxy.
Without script, you can listen to the sound, but the emul is hidden
With script, it's locked because it wait for the emul is active to continue >> WinWaitActive("DeSmuME") .
Have you try 'Alt+tab' to make the emul active ?
When I have this problem I m using this code
and use
just before WinWaitActive("DeSmuME") .
But after reading it, this code is just waiting too, it don't force the focus, IDK why it works.
Without script, you can listen to the sound, but the emul is hidden
With script, it's locked because it wait for the emul is active to continue >> WinWaitActive("DeSmuME") .
Have you try 'Alt+tab' to make the emul active ?
When I have this problem I m using this code
Code: Select all
;functions
Func Terminate()
While ProcessExists ( $PID )
ProcessClose ( $PID )
WEnd
Exit 0
EndFunc
Func _WinWaitActivePID($iPid)
While 1
Local $list = WinList()
For $i = 1 To $list[0][0]
If $list[$i][0] <> "" And IsVisible($list[$i][1]) Then
If WinGetProcess($list[$i][1]) = $iPid AND WinActive($list[$i][1]) Then Return $list[$i][0]
EndIf
Next
WEnd
EndFunc
Func IsVisible($handle)
If BitAND(WinGetState($handle), 2) Then
Return 1
Else
Return 0
EndIf
EndFunc
Code: Select all
while _WinWaitActivePID($PID)
sleep(500)
wend
But after reading it, this code is just waiting too, it don't force the focus, IDK why it works.
Last edited by Aeliss on Sat May 14, 2016 3:28 pm, edited 1 time in total.
Yeah I know, but I have realy no more ideas, if it works in command line, I can't understand why it not work with mGalaxy. I don't see how mGalaxy can block it.
Perhaps I haven't the same version than you, but I can't reproduce the bug in my system with same emul version.
Have you another mGalaxy version to test ?
Perhaps I haven't the same version than you, but I can't reproduce the bug in my system with same emul version.
Have you another mGalaxy version to test ?
I don't have the last version of mGalaxy but I don't think it would change something.
I'll try with another version of the emulator, for example, a 32-bits one and I will see what happens.
If it doesn't work, I'll just remove this system, not a big deal as I have a real 3DS.
I'll try with another version of the emulator, for example, a 32-bits one and I will see what happens.
If it doesn't work, I'll just remove this system, not a big deal as I have a real 3DS.
Last edited by davhuit on Tue Jun 07, 2016 4:01 pm, edited 1 time in total.