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 52.7k 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 @AdamBeGood
      last edited by

      @AdamBeGood if you can't get it to work, I can walk you through compiling it yourself.

      A 3 Replies Last reply Reply Quote 0
      • A
        AdamBeGood @quicksilver
        last edited by

        @quicksilver No, it won't be a problem. I find that Mega.NZ often doesn't work, but then at some point I will click on that link and see all your files. It is just a matter of waiting. Thanks for the offer though.

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

          @quicksilver All the issues appear to be resolved with the newer version of xash3d! Amazing. Thanks so much.

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

            @quicksilver I'm trying to sort out Blue Shift now.

            Trying to enter these lines:

            mkdir build && cd build
            cmake ../
            make
            

            I presume they are all individual lines in Terminal?

            I enter the second line and get:

            pi@retropie:~/hlsdk-cash3d/build $ cmake../
            -bash: cmake../: No such file or directory
            

            Everything worked fine to that point, the Terminal says it has switched to a new branch "bshift".

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

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

              -bash: cmake../: No such file or directory

              You need to have a space between the command - cmake - and it's parameters.

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

                @mitu Oh, for Pete's sake. Thanks. I'm an embarassment.

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

                  Okay, I compiled Blue Shift and then thought I could compile Opposing Force straight after, all seemed to work fine but then I see it is the same files that you move out of the hsldk-xash3d directory in both cases.

                  As Opposing Force was the second mod I did, so I moved the files into the gearbox folder.

                  I guess I need to recompile for Blue Shift?

                  Anyway, I can't see any mod when I run Half-Life. Everything seemed correct against the notes, apart from the cl_dll directory in gearbox being called cl_dlls. I presume that is the correct one.

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

                    @AdamBeGood yes you need to move the compiled files before compiling for the next mod otherwise it will overwrite the first ones.

                    When you click on "mods" in the half-life main menu you say nothing shows up? Are the bshift and gearbox folders in the /roms/ports/Half-Life/ folder? If so, can you double check the ownership of those two directories?

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

                      @quicksilver Okay, that is what I thought. Let's focus on Opposing Force first then. It was just the two files that I move wasn't it?

                      There is no "mods" option... They are both pi-pi-0777 in terms of ownership, and they are both in the /ports/Half-Life folder (after I initially put them within "valve").

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

                        @AdamBeGood correct, just those two files.

                        Sorry, the menu option is called "custom game". From there it should display the available mods.

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

                          @quicksilver Yep, all good now! I compiled again for Blue Shift and I've fired them both up and they look absolutely fine. Thanks for the advice and patience, as ever.

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

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

                            I compiled again for Blue Shift

                            You made sure to convert the maps for blueshift right?

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

                              @quicksilver I did the map fix yep, I only fired up the mod briefly but it seems fine! Thank you.

                              1 Reply Last reply Reply Quote 1
                              • C
                                chwilson1999
                                last edited by

                                Getting a little frustrated. I managed to add the script module to my pi, but I can't add the game files to the files created by xash3d. It keeps saying I don't have permission. When I try to use WinSCP, that program cannot locate my pi. I've been using the SSH function built-in to windows.

                                I named the folder made by the xash3d "HalfLife2" and the folder which contains the steamapp is called "Half-Life."

                                In the pi, it gives me a menu with noise and keyboard and mouse function, but when I try to choose a difficulty the game does nothing.

                                This game is eluding me! Sorry to be a bother. I'm new to this kind of stuff. Annotation 2020-08-16 194320.png

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

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

                                  I named the folder made by the xash3d "HalfLife2" and the folder which contains the steamapp is called "Half-Life."

                                  Well here is at least part of your problem. You can't just rename folders and expect things to work properly. Most programs look in very specific locations and if you rename them they won't be able to find them. First restore the original file structure that was created by the xash3d script. You then need to copy the "valve" folder from your Steam game files to the "Half-Life" folder on your pi (the one created by the xash3d script).

                                  1 Reply Last reply Reply Quote 2
                                  • C
                                    chwilson1999
                                    last edited by

                                    I've corrected the name trouble, but it still says I don't have permissions to add the "valve" folder to the "Half-Life" folder.

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

                                      @chwilson1999 Reset the ROMs folder permissions - see https://retropie.org.uk/docs/FAQ/#reset-ownershippermissions-of-homepiretropie-roms - and re-try.

                                      1 Reply Last reply Reply Quote 0
                                      • shavecatS
                                        shavecat
                                        last edited by shavecat

                                        @quicksilver
                                        Hey Amazing job !
                                        All works took me some time... but works great !

                                        P.S - Half-Life: Decay
                                        Runs great too ;)

                                        K 1 Reply Last reply Reply Quote 0
                                        • K
                                          kactius @shavecat
                                          last edited by kactius

                                          I need help with the step 4 to a pi3 or pi3b+ :
                                          ./waf configure -T release --prefix=/path/to/any/output/directory

                                          1 What is the correct output directory ?
                                          2 once compiled, which files should be copied to / home / pi / RetroPie / roms / ports / Half-Life?

                                          1 Reply Last reply Reply Quote 0
                                          • K
                                            kactius @quicksilver
                                            last edited by kactius

                                            @quicksilver
                                            Hello again: in pi3b + with the previous version point 1 (sergiopoverony / xash3d) it works, when it got to point 4 of the tutorial (link to the xash3d-fwgs repository) I can't understand if the repository is only for pi4 or if the binaries you uploaded to mega are only to pi4.
                                            In pi3b + I made several attempts to compile the repository, I compiled fine or so I think, but they were unsuccessful, after copying the necessary binaries, game files and assigning the permissions correctly, it starts black screen and returns to the emulationstation, can someone tell me if it works on pi3 or pi3b +?
                                            Any ideas?

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