Jump to content
LaunchBox Community Forums

Dolphin UI issue


kiddanplay

Recommended Posts

 

Hey whats goin on! So i had to do a uninstall and reinstall of the Dolphin EMU today and i have everything up and running but i have an issue that i havent ran into before. When i start a rom through LB the game will start as normal but in the background and the UI stays in the foreground untill i click the background and bring the game to the front. Is there a setting or something that i am missing in the emulator settings that is causing this issue? Obviously on my cab i dont want to have to click to bring the emulator to the foreground all the time.

Link to comment
Share on other sites

I had the same issue as you and did a little bit of research in the past few days. The main program "dolphin" had some major changes to the interface and is causing some command-line issues. However, it seems to work fine with the "DolphinWx" version which is included. Try that one

  • Like 1
Link to comment
Share on other sites

On 5/4/2018 at 1:33 PM, TonyRamirez said:

Is there a script to launch Dolphin minimized on launch?  The games are playable when the emulator is minimized.

I dont know specifically but using dolphinWX in the pack solved my issue completely and i have had no problem since linking and making that the emulator path

Link to comment
Share on other sites

Just an FYI, it looks like if you select the check box next to "Keep Window on Top" in the config/interface in the Dolphin.exe it seems to resolve the issue as well.  Not sure what the difference is yet between the Dolphin.exe and DolphinWx.exe (if there are any that is), but in case you wanted to use the recommended Dolphin.exe this work-around seems to work (for me at least it does). Hope this helps.

  • Thanks 1
Link to comment
Share on other sites

Except my gamepad refuses to work and I have to force stop the program to close it.

A autohotkey script that minimizes the program on launch would fix this however I can't find one everywhere wants me to make one on my own and I know zero coding skills which is why I hate autohotkey.  This is like if you were looking for Firefox or Chrome extension to block pop ups for example and they just tell you to make your own. 

Just look at all this greek coding crap.

https://autohotkey.com/docs/commands/WinMinimize.htm

Horrible know it all community.

Edited by TonyRamirez
Link to comment
Share on other sites

I'm at work so I can't test this code, but the following might work.  The only part I'm not sure of, is what the title of the game emulation window is.  If it also begins with Dolphin 5.0 in its title, as the main program does, then this script may not work.  Breakdown of the below is set the winwait command to look for the text at the beginning of the title window. It waits 5 seconds to make sure Dolphin has time to load the main program/window.  Once those 5 seconds have elapsed, it will look for the window that has the word "Dolphin 5.0" it it's title name.  If it exists it will minimize that window.  Again, not being able to test it, I'm not even sure if this will work or not.  But, feel free to give it a try.  If it doesn't work just don't use it, if it does, then you're welcome :)  FYI, if your computer takes more than 5 seconds to launch the main dolphin program (not talking about loading the game, just launching dolphin), then you can adjust the time delay by changing the last 5 on the WinWait line to longer (eg. WinWait, Dolphin 5.0, , 10)

 

SetTitleMatchMode 1
SetTitleMatchMode Fast
WinWait, Dolphin 5.0, , 5
if ErrorLevel
{
    MsgBox, WinWait timed out.
    return
}
else
    WinMinimize  ; Minimize the window found by WinWait.

 

Edited by CDBlue
  • Thanks 1
Link to comment
Share on other sites

FYI, just got home and tested the above script and it worked fine for me.  I had to put it above any other scripts I had on my autohotkey tab though.  Hope it works for you as well :)  Here's my entire autohotkey script for Dolphin emulator in launchbox (the below will also close Dolphin when you press Esc on keyboard, or if you have controller automation setup to close the emulator as well).  If you don't want that functionality, just use the code above.

SetTitleMatchMode 1
SetTitleMatchMode Fast
WinWait, Dolphin 5.0, , 10
if ErrorLevel
{
    MsgBox, WinWait timed out.
    return
}
else
    WinMinimize  ; Minimize the window found by WinWait.

; This section closes emulator when pressing Escape
$Esc::
{
    Process, Close, {{{StartupEXE}}}
}

 

Edited by CDBlue
  • Thanks 1
Link to comment
Share on other sites

Thanks.  Really I could not find a script that did this for the life of me.  Using Google which is useless the autohotkey community gave some samples and told them to figure it out themselves.  I tried them and they did not even work.  Coding is annoying reminds me of math which I hated and nearly failed in school.  Just like math it has to be perfect and as soon as you learn how to solve the problem yet again it you have to learn a different way to solve it.  What a PITA it is like having to learn a new language every time.

Imagine if browser extensions were like that I would have just gave up on them.  Anyway thanks.

Edited by TonyRamirez
Link to comment
Share on other sites

2 hours ago, CDBlue said:

Yeah, I couldn't find one either, which is why I wrote that one.  You can find the parts needed on that website, just need to know how to put the parts together :)

Big deal.  It was like when all I wanted was to convert single files to zip or 7z (1.file, 2.file to 1.7z, 2z) to use in Launchbox instead all I found were confusing scripts that compressed all my files in a single file (1.file, 2.file to 1.7z).

Thanks anyway.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...