Request: add Duckstation PSX emulator
-
@george-spiggott
Looks like you have done pretty good then. 👍 -
duckstation now supports PBP, fyi
-
@dankcushions .pbp file not show all games in list.
Linux mint 20.4 x64.
Edit: Dont run any game in .pbp file... -
Hello, does anyone know how to tell me how to compile the source code of the version for Linux?
I've tried, but I don't have the necessary knowledge. -
@wmarcio said in Request: add Duckstation PSX emulator:
@dankcushions .pbp file not show all games in list.
Linux mint 20.4 x64.
Edit: Dont run any game in .pbp file...i'm not sure what you're asking me. it was just added upstream but you'll have to manually build it yourself if you want to test the feature, but it is working for others. it is not part of retropie yet and we don't support it.
-
@wmarcio create a file lr-duckstation-psx.sh inside your RetroPie-Setup installation:
~/RetroPie-Setup/scriptmodules/libretrocores/And paste this inside:
#!/usr/bin/env bash # This file is part of The RetroPie Project # # The RetroPie Project is the legal property of its developers, whose names are # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. # # See the LICENSE.md file at the top-level directory of this distribution and # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md # rp_module_id="lr-duckstation-psx" rp_module_desc="PlayStation emulator - Duckstation PSX for libretro" rp_module_help="ROM Extensions: .bin .cue .cbn .img .iso .m3u .mdf .pbp .toc .z .znx\n\nCopy your PlayStation roms to $romdir/psx\n\nCopy the required BIOS files\n\nscph5500.bin and\nscph5501.bin and\nscph5502.bin to\n\n$biosdir" rp_module_licence="GPL3 https://raw.githubusercontent.com/libretro/duckstation/master/LICENSE" rp_module_repo="git https://github.com/libretro/duckstation.git master" rp_module_section="exp" rp_module_flags="!all 64bit" function depends_lr-duckstation-psx() { local depends=(libvulkan-dev libgl1-mesa-dev ) getDepends "${depends[@]}" } function sources_lr-duckstation-psx() { gitPullOrClone } function build_lr-duckstation-psx() { mkdir build cd build cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_LIBRETRO_CORE=ON .. ninja -t clean ninja md_ret_require="$md_build/build/duckstation_libretro.so" } function install_lr-duckstation-psx() { md_ret_files=( 'build/duckstation_libretro.so' ) } function configure_lr-duckstation-psx() { mkRomDir "psx" ensureSystemretroconfig "psx" addEmulator 0 "$md_id" "psx" "$md_inst/duckstation_libretro.so" addSystem "psx" }
Now run retropie-setup.sh and navigate to "Manage packages -> exp"
Scroll down and you should see "lr-duckstation-psx", go inside and "Install from source" like any other package.To set duckstation as your default psx emulator, run any psx game from RetroPie interface
When this window appears, press any key, then you will be able to select duckstation.
Don't forget to save any state/memory card before switching just in case.
-
@ericus858 said in Request: add Duckstation PSX emulator:
rp_module_flags="!all 64bit"
it runs on ARM, not just aarch64. in any case, i think this will suffer the same retroarch GLES bug as i fixed, but isn't in the retroarch version used in retropie (we're waiting for the next retroarch release).
i really would suggest people just wait for this to be added properly.
-
@dankcushions I agree, I just helped @wmarcio compiling duckstation code, as he's using Mint x64
My script is just a temporary solution :) -
@ericus858 Thank you very much for your help.
In fact, I am interested in compiling the Github source code and using the emulator outside of Retropie.I want to compile from this link: https://github.com/stenzek/duckstation
Anyway, thank you very much for being willing to help.
-
@wmarcio the github has both build instructions and
pre-built binaries. if you're running linux mint then you're sorted - just get the linux binary.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.