mGalaxy forum

General Discussions => Need Help? => Topic started by: Thelundsgaard on April 28, 2023, 10:20:14 AM

Title: ESC exit shortcut for Duckstation
Post by: Thelundsgaard on April 28, 2023, 10:20:14 AM
Hi forum,

Im using Duckstation but I cant exit it using Esc or any key for that matter when in mGalaxy.

John, could you cook up a script for me?
Title: Re: ESC exit shortcut for Duckstation
Post by: mgalaxy on April 28, 2023, 11:06:52 AM
From your message I understand that you have already created an entry in the 'Emulators.xml' file for 'Duckstation' and that you just need the script. In that case, here it is!
Dont forget to set
Code: [Select]
script="true" in the Duckstation entry!
Title: Re: ESC exit shortcut for Duckstation
Post by: Thelundsgaard on April 28, 2023, 01:27:38 PM
Thanks for the prompt reply!!

Please see the file attached.

The Duckstation interface remains visible after I press Esc using this script.
Title: Re: ESC exit shortcut for Duckstation
Post by: mgalaxy on April 28, 2023, 02:50:22 PM
OK! Forget about the script, you can simply delete it.
Open the Emulators.xml file and add this code block and suppress the one you entered (I suppose that you know how to do ;) )
Code: [Select]
<Emulator name="DuckStation" hidden="false">
<Systems>
<System name="Sony PS1" option="" script="false" cmd="-fullscreen -batch &quot;%path\%file%ext&quot;" extensions="bin|cue|img|chd|ecm|mds|mdf|pbp"/>
</Systems>
<Requirement>DuckStation comes in 2 versions, one with GUI, one without. Preferably choose the one without: duckstation-qt-x64-ReleaseLTCG.exe</Requirement>
</Emulator>
Title: Re: ESC exit shortcut for Duckstation
Post by: Thelundsgaard on April 28, 2023, 04:52:23 PM
Absolutely diabolically awesome. Works like a charm. Thank you!
Title: Re: ESC exit shortcut for Duckstation
Post by: Thelundsgaard on April 08, 2024, 12:49:57 AM
Just to let anyone know reading this thread> The duckstation script that the administrator attached down below ended up being totally necessary for this to work. So dont delete it. In any regard keep it just in case.