• 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.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.
  • 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
                          • Z
                            Zering @AdamBeGood
                            last edited by Zering 27 Nov 2020, 15:08

                            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 20 Dec 2020, 00:15

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

                              Q 1 Reply Last reply 26 Jan 2021, 14:38 Reply Quote 0
                              • C
                                Codafire @quicksilver
                                last edited by 26 Jan 2021, 12:48

                                @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
                                • Q
                                  quicksilver @soulrider911
                                  last edited by quicksilver 26 Jan 2021, 14:38

                                  @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 18 Feb 2021, 16:19 Reply Quote 0
                                  • C
                                    Codafire @quicksilver
                                    last edited by 18 Feb 2021, 16:19

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

                                    Q 1 Reply Last reply 18 Feb 2021, 16:38 Reply Quote 0
                                    • Q
                                      quicksilver @Codafire
                                      last edited by 18 Feb 2021, 16:38

                                      @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 27 Feb 2021, 19:52

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

                                        Q 1 Reply Last reply 27 Feb 2021, 20:19 Reply Quote 0
                                        • Q
                                          quicksilver @Johan_Liebert511
                                          last edited by 27 Feb 2021, 20:19

                                          @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 27 Feb 2021, 21:24 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