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 46.1k 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.
    • quicksilverQ
      quicksilver @kactius
      last edited by quicksilver

      @kactius the binaries I posted are for the pi 4 only. You'll need to manually build the newer version of xash3d if you want to use it with a pi 3. Or just skip that step and use the older one that is build by the script.

      Z 1 Reply Last reply Reply Quote 0
      • Z
        Zering @quicksilver
        last edited by

        Hi guys, I've tried to set this up this morning, following the guide in the first post. The pott compiled without any issues, I put my valve directory in the indicated place, tried to launch xash3d.sh and got booted back to ES.

        My log is pretty short :

        Parameters:
        Executing: /opt/retropie/ports/xash3d/Xash3d.sh
        /opt/retropie/ports/xash3d/Xash3d.sh: line1: /home/pi/RetroPie/roms/ports/Half-Life/xash3d: Permission denied

        I feel like this is probably a fairly easy problem to solve, but I don't know how to go about it.
        I'd appreciate any help.

        Thanks!

        A 1 Reply Last reply Reply Quote 0
        • A
          AdamBeGood @Zering
          last edited by AdamBeGood

          @zering said in Setting up Half-Life through RetroPie (A Guide):

          Hi guys, I've tried to set this up this morning, following the guide in the first post. The pott compiled without any issues, I put my valve directory in the indicated place, tried to launch xash3d.sh and got booted back to ES.

          My log is pretty short :

          Parameters:
          Executing: /opt/retropie/ports/xash3d/Xash3d.sh
          /opt/retropie/ports/xash3d/Xash3d.sh: line1: /home/pi/RetroPie/roms/ports/Half-Life/xash3d: Permission denied

          I feel like this is probably a fairly easy problem to solve, but I don't know how to go about it.
          I'd appreciate any help.

          Thanks!

          What are the permissions on the folder? Is it going to be linked to that?

          My folder is set to "0755".

          Z 1 Reply Last reply Reply Quote 0
          • Z
            Zering @AdamBeGood
            last edited by

            @adambegood That's also what I've got, so I don't imagine it is the issue.

            A 1 Reply Last reply Reply Quote 0
            • A
              AdamBeGood @Zering
              last edited by

              @zering said in Setting up Half-Life through RetroPie (A Guide):

              @adambegood That's also what I've got, so I don't imagine it is the issue.

              Cool, I am sure Quicksilver will be able to help. It just so explicitly says permission, that I thought it was worth checking.

              Z 1 Reply Last reply Reply Quote 0
              • Z
                Zering @AdamBeGood
                last edited by Zering

                I'm getting close.

                I tried the version of xash3d-fwgs on RetroPie-extra as I wasn't getting anywhere with this one.

                It almost boots but there's an issue.

                log

                I can see my mouse cursor in the corner for a few seconds before it boots me back to ES.
                I had a similar problem with iortcw and I'd solved it when I realized the logs indicated the .so files should be in the config folder. That did not work here.

                @zerojay @quicksilver @AdamBeGood Any ideas?

                1 Reply Last reply Reply Quote 0
                • soulrider911S
                  soulrider911
                  last edited by

                  @quicksilver Thank you so much for this amazing guide! When I read this I about jumped out of my seat with excitement!

                  So, I have followed the steps in your post. I have the Steam version of HL, and have copied over just the VALVE folder.

                  The game does run! However I am getting interesting logging information in the upper left corner as textures are being loaded?? Also how can I shut off the FPS indication in the upper right?
                  Cheers, and thank you!!

                  quicksilverQ 1 Reply Last reply Reply Quote 0
                  • C
                    Codafire @quicksilver
                    last edited by

                    @quicksilver im having problems, i make it works, all ok but gamepad only moves, i cant jump, or shoot and if i try to configure in main menu, game exits.

                    1 Reply Last reply Reply Quote 0
                    • quicksilverQ
                      quicksilver @soulrider911
                      last edited by quicksilver

                      @soulrider911 see step three in my original post. I cover how to turn off the console notifications. I believe the fps counter option is turned off in the config.cfg in the valve folder.

                      @Codafire try using the binary that I compiled in my original post. It is more recent and less buggy than the one included with the script.

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        Codafire @quicksilver
                        last edited by

                        @quicksilver can you send me a link? Thanks!!!

                        quicksilverQ 1 Reply Last reply Reply Quote 0
                        • quicksilverQ
                          quicksilver @Codafire
                          last edited by

                          @codafire said in Setting up Half-Life through RetroPie (A Guide):

                          @quicksilver can you send me a link? Thanks!!!

                          https://mega.nz/folder/xBpAgYYb#arEdY1Y2DVere_gGRqeFjw

                          1 Reply Last reply Reply Quote 0
                          • J
                            Johan_Liebert511
                            last edited by

                            I always get the message "permission denied" when I want to place the "valve" folder inside

                            quicksilverQ 1 Reply Last reply Reply Quote 0
                            • quicksilverQ
                              quicksilver @Johan_Liebert511
                              last edited by

                              @johan_liebert511 said in Setting up Half-Life through RetroPie (A Guide):

                              I always get the message "permission denied" when I want to place the "valve" folder inside

                              Sounds like a permissions or ownership issue. Check to make sure the half-life folder is owned by user pi and has proper permissions.

                              J 1 Reply Last reply Reply Quote 0
                              • J
                                Johan_Liebert511 @quicksilver
                                last edited by

                                @quicksilver
                                If you mean I didnt log in properly, I did it as pi user. But the files say in properties that they are from "root [0]". I also cant change them because of "permission denied"

                                1 Reply Last reply Reply Quote 0
                                • R
                                  Rafael
                                  last edited by

                                  Hi,

                                  I'm having difficulty in step 3:

                                  1. If you wish to use a controller to play this game edit the file /opt/retropie/ports/xash3d/Xash3D.sh and add -sdl_joy_old_api to the end of the line. You can also remove -console from that line if you don't want the constant console messages on screen.

                                  I can't find ports/xash3d, I only see ports/Half-Life. For some reason Xash3D.sh is inside ports.
                                  I tried to edit Xash3D.sh by adding -sdl_joy_old_api. It looked like this:

                                  #!/bin/bash
                                  "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 PORT "Xash3D" "" -sdl_joy_old_api

                                  But it did not work, the control still does not respond.

                                  Sorry for bad English, I'm using google translator =)

                                  quicksilverQ 1 Reply Last reply Reply Quote 0
                                  • quicksilverQ
                                    quicksilver @Rafael
                                    last edited by

                                    @rafael you're editing the wrong file. Make sure you're not editing the .sh file in the roms directory.

                                    R J 2 Replies Last reply Reply Quote 0
                                    • R
                                      Rafael @quicksilver
                                      last edited by

                                      @quicksilver thanks so much, I was looking in the wrong directory. It's working fine now.

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        Johan_Liebert511 @quicksilver
                                        last edited by

                                        @quicksilver I managed to run the game but the first 3 options of the game (New Game, Hazard Course and Load Game) can`t be used. I cant start a new game.

                                        quicksilverQ 1 Reply Last reply Reply Quote 0
                                        • quicksilverQ
                                          quicksilver @Johan_Liebert511
                                          last edited by

                                          @johan_liebert511 make sure you are using the steam version of the game otherwise you'll have issues. I have heard you can use a cd copy of the game but you'll need to patch it to a newer version in order for it to work properly with xash3d. You'll need to consult the xash3d documentation for further details as I can't remember off the top of my head which patch version is the minimum requirement.

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

                                            @quicksilver Dude, this is awesome info from you! Works perfect on my pi 4 with mouse and keyboard.

                                            On my 3b, I can seemingly compile the new FWGS version, but I get errors trying to use it. The game is very playable with original install script. Neither one recognizes my bluetooth controllers at all so I cannot play with a controller.

                                            Has anyone managed to compile FWGS and run successfully on the 3b?

                                            P 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.