Jump to content
LaunchBox Community Forums

Recommended Posts

Hey Guys. Trying to figure why when im closing duckstation emulator the UI still remains. i used the exe duckstation-sdl-x64-ReleaseLTCG but the ui still stays open. my guess is that this emulator has two exes.

I Tried to made a .bat (I Put it in the additional apps section) to close the UI upon Exiting but its not closing it. Im Trying to get the proper name of the UI  .exe whatever it is because apparently its not duckstation-qt-x64-ReleaseLTCG or duckstation-sdl-x64-ReleaseLTCG. So its that or either a proper AHK script to close it successfully.

This is the .bat script line i used but i was unsuccessful

taskkill /im duckstation 0.1-3019-g3c2b11fc (Master).exe

This One Failed too...

taskkill /im duckstation-sdl-x64-ReleaseLTCG.exe

And This one...

taskkill /im duckstation-qt-x64-ReleaseLTCG.exe

Untitled.jpg

Untitled.jpg

Untitled.jpg

Edited by Cnells2000
added screenshot
Link to post
Share on other sites
49 minutes ago, Cnells2000 said:

Hey Guys. Trying to figure why when im closing duckstation emulator the UI still remains. i used the exe duckstation-sdl-x64-ReleaseLTCG but the ui still stays open. my guess is that this emulator has two exes.

I Tried to made a .bat (I Put it in the additional apps section) to close the UI upon Exiting but its not closing it. Im Trying to get the proper name of the UI  .exe whatever it is because apparently its not duckstation-qt-x64-ReleaseLTCG or duckstation-sdl-x64-ReleaseLTCG. So its that or either a proper AHK script to close it successfully.

This is the .bat script line i used but i was unsuccessful


taskkill /im duckstation 0.1-3019-g3c2b11fc (Master).exe

This One Failed too...

taskkill /im duckstation-sdl-x64-ReleaseLTCG.exe

And This one...

taskkill /im duckstation-qt-x64-ReleaseLTCG.exe

 

Untitled.jpg

Untitled.jpg

Untitled.jpg

This is already setup in the emulator in LB already.

I use qt version and it exits fine with the following:

Process, Close, {{{StartupEXE}}}

  • Like 1
Link to post
Share on other sites
6 minutes ago, zugswang said:

This is already setup in the emulator in LB already.

I use qt version and it exits fine with the following:

Process, Close, {{{StartupEXE}}}

I pasted this in the running and exit autoscript section each (Not both at once) just to test and it still same as video above. not even with qt.

Untitled.jpg

Link to post
Share on other sites
27 minutes ago, zugswang said:

Just put it in the exit tab

 

Didnt work in the exit tab, but i updated the program, used QT and used this script in the running autohotkey section and it worked. Exits smoothly now.

 

$Esc::
{
    Process, Close, {{{StartupEXE}}}
}

; Project64 has a messy exit process; this ensures that it exits cleanly
Process, Close, {{{StartupEXE}}}

 

Edited by Cnells2000
Link to post
Share on other sites
  • 3 weeks later...
1 hour ago, WhackyroadyIII said:

Doesn't work for me - The UI remains open

The easiest way to prevent this is to set the "duckstation-nogui-x64-ReleaseLTCG.exe" as the emulator executable.

638050476_Schermopname(72).thumb.jpg.afb51ef0a2cd992c056a9ffe5d14db25.jpg

Then in the "Running AutoHotKey Script" tab copy and past:

$Esc::
{
WinClose, ahk_exe {{{StartupEXE}}}
}

821818661_Schermopname(73).thumb.jpg.4c1faf828bda10345db9a702fb61bdba.jpg

Link to post
Share on other sites

I found another way to close Duckstation if you want to use the qt version (duckstation-qt-x64-ReleaseLTCG.exe) of DuckStation. Go to LaunchBox > Tools > Manage Emulators > DuckStation  and add " -batch " as a command-line parameter.

-batch: Enables batch mode (exits after powering off). This closes DuckStation with just the Escape key, no AutoHotKey script needed.

1071987486_Schermopname(74).thumb.jpg.1505b53147d40343826b867c3cfd5f4c.jpg

If you want to know more command-line parameters open DuckStation in a command window with the -help parameter.

Link to post
Share on other sites
1 hour ago, zugswang said:

Use the qt version of Duckstation

Can I ask why? I must admit I have no deep knowledge about DuckStation. I even installed it this morning. But other than the qt version using a Qt gui and the nogui version using no gui, what would be the difference? Why would you recommend the Qt version over the nogui version? 

Link to post
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
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...