• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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.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.
  • A
    AdamBeGood @mitu
    last edited by 23 Jul 2020, 13:36

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

    1 Reply Last reply Reply Quote 0
    • A
      AdamBeGood
      last edited by 23 Jul 2020, 13:53

      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.

      Q 1 Reply Last reply 23 Jul 2020, 14:40 Reply Quote 0
      • Q
        quicksilver @AdamBeGood
        last edited by 23 Jul 2020, 14:40

        @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 23 Jul 2020, 14:49 Reply Quote 0
        • A
          AdamBeGood @quicksilver
          last edited by 23 Jul 2020, 14:49

          @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").

          Q 1 Reply Last reply 23 Jul 2020, 17:29 Reply Quote 0
          • Q
            quicksilver @AdamBeGood
            last edited by 23 Jul 2020, 17:29

            @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 23 Jul 2020, 22:25 Reply Quote 1
            • A
              AdamBeGood @quicksilver
              last edited by 23 Jul 2020, 22:25

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

              Q 1 Reply Last reply 23 Jul 2020, 23:18 Reply Quote 0
              • Q
                quicksilver @AdamBeGood
                last edited by 23 Jul 2020, 23:18

                @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 24 Jul 2020, 08:18 Reply Quote 1
                • A
                  AdamBeGood @quicksilver
                  last edited by 24 Jul 2020, 08:18

                  @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 16 Aug 2020, 23:44

                    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

                    Q 1 Reply Last reply 17 Aug 2020, 14:07 Reply Quote 0
                    • Q
                      quicksilver @chwilson1999
                      last edited by quicksilver 17 Aug 2020, 14:07

                      @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 17 Aug 2020, 18:23

                        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.

                        M 1 Reply Last reply 17 Aug 2020, 18:33 Reply Quote 0
                        • M
                          mitu Global Moderator @chwilson1999
                          last edited by 17 Aug 2020, 18:33

                          @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
                          • S
                            shavecat
                            last edited by shavecat 9 Sept 2020, 13:24 6 Sept 2020, 20:59

                            @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 9 Sept 2020, 23:01 Reply Quote 0
                            • K
                              kactius @shavecat
                              last edited by kactius 9 Oct 2020, 00:09 9 Sept 2020, 23:01

                              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 14 Sept 2020, 11:49

                                @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?

                                Q 1 Reply Last reply 14 Sept 2020, 14:27 Reply Quote 0
                                • Q
                                  quicksilver @kactius
                                  last edited by quicksilver 14 Sept 2020, 14:27

                                  @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 19 Nov 2020, 13:35 Reply Quote 0
                                  • Z
                                    Zering @quicksilver
                                    last edited by 19 Nov 2020, 13:35

                                    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 19 Nov 2020, 13:42 Reply Quote 0
                                    • A
                                      AdamBeGood @Zering
                                      last edited by AdamBeGood 19 Nov 2020, 13:42

                                      @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 19 Nov 2020, 13:45 Reply Quote 0
                                      • Z
                                        Zering @AdamBeGood
                                        last edited by 19 Nov 2020, 13:45

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

                                        A 1 Reply Last reply 19 Nov 2020, 13:51 Reply Quote 0
                                        • A
                                          AdamBeGood @Zering
                                          last edited by 19 Nov 2020, 13:51

                                          @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 27 Nov 2020, 15:08 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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received