Page 1 of 1

ESC exit shortcut for Duckstation

Posted: Fri Apr 28, 2023 3:20 pm
by Thelundsgaard
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?

Re: ESC exit shortcut for Duckstation

Posted: Fri Apr 28, 2023 4:06 pm
by mgalaxy
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 all

script="true"
in the Duckstation entry!

Re: ESC exit shortcut for Duckstation

Posted: Fri Apr 28, 2023 6:27 pm
by Thelundsgaard
Thanks for the prompt reply!!

Please see the file attached.

The Duckstation interface remains visible after I press Esc using this script.

Re: ESC exit shortcut for Duckstation

Posted: Fri Apr 28, 2023 7:50 pm
by mgalaxy
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 all

<Emulator name="DuckStation" hidden="false">
	<Systems>
		<System name="Sony PS1" option="" script="false" cmd="-fullscreen -batch "%path\%file%ext"" 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>

Re: ESC exit shortcut for Duckstation

Posted: Fri Apr 28, 2023 9:52 pm
by Thelundsgaard
Absolutely diabolically awesome. Works like a charm. Thank you!

Re: ESC exit shortcut for Duckstation

Posted: Mon Apr 08, 2024 5:49 am
by Thelundsgaard
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.