RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Setting up Half-Life through RetroPie (A Guide)

    Scheduled Pinned Locked Moved General Discussion and Gaming
    half-lifexash3d
    147 Posts 30 Posters 47.0k 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.
    • R
      Retro Arcade Fan @ExarKunIv
      last edited by Retro Arcade Fan

      @ExarKunIv Definitely before. I went to the link but there seems to be conflicting postings. It's a long post. Is the following the best way to update an old install?

      cd ~/RetroPie-Extra
      git pull origin
      ./install-extras.sh

      or

      git reset --hard HEAD^
      git remote set-url origin https://github.com/Exarkuniv/RetroPie-Extra
      git pull origin

      ExarKunIvE 1 Reply Last reply Reply Quote 0
      • ExarKunIvE
        ExarKunIv @Retro Arcade Fan
        last edited by

        @Retro-Arcade-Fan said in Setting up Half-Life through RetroPie (A Guide):

        git reset --hard HEAD^
        git remote set-url origin https://github.com/Exarkuniv/RetroPie-Extra
        git pull origin

        i would say that since you have the same thing going on as who @sleve_mcdichael was helping

        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 .

        R 1 Reply Last reply Reply Quote 0
        • R
          Retro Arcade Fan @ExarKunIv
          last edited by

          @ExarKunIv Alright. Update finished. However, after 30 minutes, I got this error:

          Could not successfully build xash3d-fwgs - xash3d-fwgs - Half-Life Engine Port (/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/build/mainui/libmenu.so not found).
          /home/pi

          ExarKunIvE 1 Reply Last reply Reply Quote 0
          • ExarKunIvE
            ExarKunIv @Retro Arcade Fan
            last edited by

            @Retro-Arcade-Fan i think somehow it is still running the old script.

            i did a fresh download from my github it installs fine.
            but now what to do to fix it

            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 .

            R 1 Reply Last reply Reply Quote 0
            • R
              Retro Arcade Fan @ExarKunIv
              last edited by Retro Arcade Fan

              @ExarKunIv When/If you or someone else figures it out, please let me know. In the meantime, is there any way to just do the updated install for half life?

              p.s.: What does "clean source folder" mean under the install?

              @sleve_mcdichael any ideas?

              ExarKunIvE 2 Replies Last reply Reply Quote 0
              • ExarKunIvE
                ExarKunIv @Retro Arcade Fan
                last edited by

                @Retro-Arcade-Fan said in Setting up Half-Life through RetroPie (A Guide):

                clean source folder

                cleans the folder the install script uses to build the files that are needed for the port to work. cleaning it just deletes that folder.

                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 0
                • ExarKunIvE
                  ExarKunIv @Retro Arcade Fan
                  last edited by

                  @Retro-Arcade-Fan after you updated it did you run

                  cd RetroPie-Extra/
                  ./install-extras.sh
                  

                  you updating the script does not install or update any of the ones that are already installed to where the RetroPie menu sees them. you need to reinstall them.

                  i think that will overwrite them. not too sure @sleve_mcdichael would know better on what the install-extras does

                  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 .

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    Retro Arcade Fan @ExarKunIv
                    last edited by

                    @ExarKunIv Yes I did. It said it was up to date.

                    What about removing extras entirely and reinstalling it? Or too painstaking?

                    ExarKunIvE 1 Reply Last reply Reply Quote 0
                    • ExarKunIvE
                      ExarKunIv @Retro Arcade Fan
                      last edited by ExarKunIv

                      @Retro-Arcade-Fan it will say updated when it updated the main script.

                      That doesn't install any of the new scripts.to where RetroPie sees them
                      You have to do that with install-extras. This will open a GUI where you can remove and or install the new ones

                      Personally I would wipe out retropie extras completely and redownload because the fact is that I have gone through an updated and tested every single script and if yours is from that long past it's going to have script that don't work or don't work properly

                      If you use the GUI The remove function I think would wipe out even the old scripts also that you currently have

                      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 .

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        Retro Arcade Fan @ExarKunIv
                        last edited by Retro Arcade Fan

                        @ExarKunIv That seemed to work, thank you. I removed it all and reinstalled. Thought it would take longer, but was quick. Then installed xash3d-fwgs.

                        ExarKunIvE 1 Reply Last reply Reply Quote 0
                        • ExarKunIvE
                          ExarKunIv @Retro Arcade Fan
                          last edited by

                          @Retro-Arcade-Fan I'm glad that worked out.

                          Yeah it is a bit confusing from going from a old repo to a new version when we changed quite a bit on how things get installed.

                          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 .

                          R 1 Reply Last reply Reply Quote 0
                          • R
                            Retro Arcade Fan @ExarKunIv
                            last edited by

                            @ExarKunIv Thanks. The take-away seems to be it's best to remove and install from scratch! So excited to play Half Life again on my arcade cabinet. Thanks again for all of your help!! I appreciate all of your previous and future work on these ports.

                            1 Reply Last reply Reply Quote 1
                            • P
                              plimbs
                              last edited by

                              I'm seeing this thread now. I am not 100% sure this is your issue @Retro-Arcade-Fan, but it is what happened to me. I had the old/original version of the Extras scripts installed. They are mixed in with all the other normal Retropie setup scripts. The new install places the scripts in a better location, making them more manageable, but if you already had the prior version they will still be there and Retropie won't recognize the new ones.

                              My simple fix to this was to compare the cloned folder from git with the existing Retropie setup folders and remove any matching files. Then, you can "clean install" from install-extras.sh.

                              Here is a simple command for you:

                              diff -qrs RetroPie-Setup/scriptmodules/ RetroPie-Extra/scriptmodules/ | grep -v "Only" | cut -d " " -f2 | xargs rm
                              
                              R 1 Reply Last reply Reply Quote 1
                              • R
                                Retro Arcade Fan @plimbs
                                last edited by

                                @plimbs Thanks for chiming in here. Fortunately once I removed the old install and did the new install, it fixed the problem. It's playing perfectly now.

                                1 Reply Last reply Reply Quote 0
                                • P
                                  plimbs
                                  last edited by

                                  @ExarKunIv failing to build Half-Life again. Git location "DEPRECATED in favor of https://github.com/FWGS/xash3d-fwgs."

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

                                    @plimbs cant confirm.
                                    i just pulled my script from my github and built it just fine,

                                    give it a try again and if it is still not working, i would recommend removing that script and redownloading it from the github

                                    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 .

                                    P 1 Reply Last reply Reply Quote 0
                                    • P
                                      plimbs @ExarKunIv
                                      last edited by

                                      @ExarKunIv I apologize. I'm stupid. I didn't hunt down every last trace of the original scripts, and there was still a piece out there running instead of yours.

                                      1 Reply Last reply Reply Quote 1
                                      • ?
                                        A Former User
                                        last edited by A Former User

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • L
                                          LowpolyBros.
                                          last edited by

                                          Game crashes when i try to change bindings, any fixes? I have the newer version of xash3d installed

                                          N 1 Reply Last reply Reply Quote 0
                                          • N
                                            Nash @LowpolyBros.
                                            last edited by Nash

                                            @LowpolyBros Still crashing in 2025. You can edit keyboard.cfg in valve folder to bind keys.

                                            If you want to bind gamepad, you must find two files "gamepad.cfg" and "userconfig.cfg" to put in valve folder, and edit gamepad.cfg.

                                            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.