RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    lr-Duckstation disappear !!!????!!!

    Scheduled Pinned Locked Moved Help and Support
    emulator
    24 Posts 14 Posters 4.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DarksaviorD
      Darksavior @pi2user
      last edited by Darksavior

      @pi2user @mitu
      I altered the retropie lr-duckstation installer to point to batocera's github that's hosting the binaries. Delete if it's not allowed.

      #!/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"
      rp_module_desc="PlayStation emulator - Duckstation for libretro"
      rp_module_help="ROM Extensions: .exe .cue .bin .chd .psf .m3u .pbp\n\nCopy your PlayStation roms to $romdir/psx\n\nCopy compatible BIOS files to $biosdir"
      rp_module_licence="PROP https://creativecommons.org/licenses/by-nc-nd/4.0"
      rp_module_section="exp"
      rp_module_flags="!all arm !armv6 aarch64 64bit"
      
      function __binary_url_lr-duckstation() {
          local url="https://github.com/batocera-linux/lr-duckstation/raw/master/duckstation_libretro_linux_"
          isPlatform "aarch64" && echo "${url}aarch64.zip"
          isPlatform "arm" && echo "${url}armv7.zip"
          isPlatform "x86" && isPlatform "64bit" && echo "${url}x64.zip"
      }
      
      function install_bin_lr-duckstation() {
          downloadAndExtract "$(__binary_url_lr-duckstation)" "$md_inst"
      }
      
      function configure_lr-duckstation() {
          mkRomDir "psx"
          ensureSystemretroconfig "psx"
      
          if isPlatform "gles" && ! isPlatform "gles3"; then
              # Hardware renderer not supported on GLES2 devices
              setRetroArchCoreOption "duckstation_GPU.Renderer" "Software"
          fi
      
          # Pi 4 has occasional slowdown with hardware rendering
          # e.g. Gran Turismo 2 (Arcade) race start
          isPlatform "rpi4" && setRetroArchCoreOption "duckstation_GPU.Renderer" "Software"
      
          # Configure the memory card 1 saves through the libretro API
          setRetroArchCoreOption "duckstation_MemoryCards.Card1Type" "NonPersistent"
      
          # dynarec segfaults without redirecting stdin from </dev/null
          addEmulator 0 "$md_id" "psx" "$md_inst/duckstation_libretro.so </dev/null"
          addSystem "psx"
      }
      
      
      mituM G 2 Replies Last reply Reply Quote 1
      • mituM
        mitu Global Moderator @Darksavior
        last edited by

        @Darksavior said in lr-Duckstation disappear !!!????!!!:

        Delete if it's not allowed.

        It's ok, not sure why people keep asking that ? It's not like it's malware or copyrighted material (ROMS/BIOS).

        DarksaviorD 1 Reply Last reply Reply Quote 1
        • DarksaviorD
          Darksavior @mitu
          last edited by

          @mitu The decision was made to remove the installer so I wasn't sure if it was allowed.

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @Darksavior
            last edited by mitu

            @Darksavior Even if it's not part of RetroPie-Setup, it's just another user contributed script - like RetroPie-Extras. We don't have a monopoly on what the user is able to install on their own system, though the This file is part of .. is now a bit misleading :).

            DarksaviorD 1 Reply Last reply Reply Quote 0
            • DarksaviorD
              Darksavior @mitu
              last edited by

              @mitu I just altered the location to the binaries and nothing else so I didn't want to look like I'm taking credit for creating it. I can remove that whole section if you want.

              1 Reply Last reply Reply Quote 0
              • ExarKunIvE
                ExarKunIv
                last edited by

                lr-Duckstation is part of RetroPie-Extras.
                it pulls batocera's github. just letting people know

                RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                Maintainer of RetroPie-Extra .

                1 Reply Last reply Reply Quote 3
                • windgW
                  windg
                  last edited by windg

                  Good news, Duckstation updated recently,maybe the developer it's back to the project.

                  My English isn't at a good level.

                  ClydeC 1 Reply Last reply Reply Quote 1
                  • ClydeC
                    Clyde @windg
                    last edited by Clyde

                    @windg Well, that's interesting. There were several merged pull requests and commits to the repo.

                    Does anyone know more of this resumed activity by stenzek?

                    edit: People on Reddit don't have a clue either, the best guess that I read there was, while stenzek himself said that he won't work on DS anymore, he may still accept others' contributions.

                    B 1 Reply Last reply Reply Quote 0
                    • B
                      barbudreadmon @Clyde
                      last edited by

                      @Clyde said in lr-Duckstation disappear !!!????!!!:

                      stenzek himself said that he won't work on DS anymore, he may still accept others' contributions.

                      Some of the recent commits are his though.

                      FBNeo developer - github - forum

                      1 Reply Last reply Reply Quote 0
                      • windgW windg referenced this topic on
                      • windgW windg referenced this topic on
                      • windgW windg referenced this topic on
                      • G
                        gzuz @Darksavior
                        last edited by

                        @Darksavior I'm sorry i tried it myself but i just cant get my head around it. I'm having a lot o trouble with psx games on retropie and i am looking for an alternative emulator. I read a lot of duckstation and found your post. How can i Install duckstation on my retropie (Pi4) with that code? I have no clue what to do with it... :(

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          sleve_mcdichael @gzuz
                          last edited by sleve_mcdichael

                          @gzuz said in lr-Duckstation disappear !!!????!!!:

                          How can i Install duckstation on my retropie (Pi4) with that code? I have no clue what to do with it... :(

                          Copy that code into a file called:

                          ~/RetroPie-Setup/scriptmodules/libretrocores/lr-duckstation.sh
                          

                          ...then you can install the lr-duckstation package through the RetroPie-Setup utility under "manage experimental packages."

                          **OR**

                          You can install the RetroPie-Extra packages, where that script is included verbatim. Drop into a terminal and use the following commands to clone and install RP-Extra:

                          cd ~
                          git clone https://github.com/Exarkuniv/RetroPie-Extra.git
                          cd RetroPie-Extra
                          ./install.sh
                          

                          This will copy a number of additional install scripts, including lr-duckstation.sh, to your RP Setup directory where, again, they may be installed through the RetroPie-Setup utility.

                          G 1 Reply Last reply Reply Quote 0
                          • G
                            geese howard @sleve_mcdichael
                            last edited by

                            @sleve_mcdichael said in lr-Duckstation disappear !!!????!!!:

                            ~/RetroPie-Setup/scriptmodules/libretrocores/lr-duckstation.sh

                            i did the whole process, however this "extras" didnt appeared in Retropie Setup.

                            I´'m using RPI3

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post

                            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.