Author Topic: Nintendo DS  (Read 7242 times)

Aeliss

  • Hero Member
  • *****
  • Posts: 900
Re: Nintendo DS
« Reply #10 on: May 18, 2016, 11:19:53 AM »
Yep but I prefer play on emul, more option (like the save state) and I can use better display.
Another point is if you have the bug, someone else can have it too, even on other emul, it mean there is something missing on mGalaxy.

davhuit

  • Full Member
  • ***
  • Posts: 173
Re: Nintendo DS
« Reply #9 on: May 17, 2016, 11:16:07 AM »
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.
« Last Edit: June 07, 2016, 11:01:22 AM by davhuit »

Aeliss

  • Hero Member
  • *****
  • Posts: 900
Re: Nintendo DS
« Reply #8 on: May 15, 2016, 03:40:08 AM »
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 ?

davhuit

  • Full Member
  • ***
  • Posts: 173
Re: Nintendo DS
« Reply #7 on: May 14, 2016, 02:35:17 PM »
When I say "hidden", it really mean "hidden". Even with a ALT-TAB, you can't find any window of the emulator (you can only hear the sound) and you have to kill the process manually.

But I'll try your script anyway.

Aeliss

  • Hero Member
  • *****
  • Posts: 900
Re: Nintendo DS
« Reply #6 on: May 14, 2016, 10:26:17 AM »
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
Code: (autoit) [Select]
;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

and use
Code: (autoit) [Select]
while _WinWaitActivePID($PID)
   sleep(500)
wend

just before WinWaitActive("DeSmuME") .

But after reading it, this code is just waiting too, it don't force the focus, IDK why it works.
« Last Edit: May 14, 2016, 10:28:12 AM by Aeliss »

davhuit

  • Full Member
  • ***
  • Posts: 173
Re: Nintendo DS
« Reply #5 on: May 14, 2016, 08:18:50 AM »
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.


Aeliss

  • Hero Member
  • *****
  • Posts: 900
Re: Nintendo DS
« Reply #4 on: May 13, 2016, 12:45:06 PM »
Same command line here.
Try to delete the "desmume.ini" file, to check if it's not a configuration problem.

davhuit

  • Full Member
  • ***
  • Posts: 173
Re: Nintendo DS
« Reply #3 on: May 13, 2016, 10:24:37 AM »
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 ?

Yeah, it works fine outside Mgalaxy.

I use the official script found here : http://www.mgalaxy.com/forum/index.php?action=downloads;sa=view;down=67

And use the official command line in the systems.xml file :

Code: [Select]
      <Cmd id="0" name="DeSmuME [Script]" value="&quot;%path\%file%ext&quot;" />

What I find weird is that it should work without the script, as the script is just here to force the fullscreen and add a combo key to close it, but it's not.

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 Edit: May 13, 2016, 10:27:25 AM by davhuit »

Aeliss

  • Hero Member
  • *****
  • Posts: 900
Re: Nintendo DS
« Reply #2 on: May 13, 2016, 03:30:55 AM »
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 ?

davhuit

  • Full Member
  • ***
  • Posts: 173
Nintendo DS
« Reply #1 on: May 12, 2016, 10:45:40 AM »
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.