• 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.
  • E
    ExarKunIv @quicksilver
    last edited by 14 Jul 2020, 15:01

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

    "They Hunger"

    LOL
    i loved that mod. im so going to mess around with this. once i finish up my pi3 build.
    I really dont want to leave 2 builds half complete

    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 1
    • R
      RussellB @quicksilver
      last edited by 14 Jul 2020, 17:04

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

      @RussellB this website may be of interest to you https://www.moddb.com/engines/xash3d-engine/features/list-of-tested-half-life-singleplayer-mods

      Has a huge list of mods that should work with xash3d engine

      You just fed my OCD a huge bone!

      1 Reply Last reply Reply Quote 0
      • A
        AdamBeGood
        last edited by AdamBeGood 21 Jul 2020, 10:43

        @quicksilver I am going to try this later so prepare yourself for questions.... (I will try to just get it done though).

        Edit: Okay, I can see Xash3D as an option under Ports, but I am immediately thrown back to the ES Menu after RunCommand.

        I've done:

        Copy Half-Life folder from Steamapps:

        ../steam/steamapps/common/Half-Life in ../rom/ports folder

        for example you can see ../rom/ports/Half-Life/ and more files from game

        Next: In console go to Retropie-Setup folder

        cd RetroPie-Setup

        cd scriptmodules

        cd ports

        wget --no-check-certificate https://github.com/sergiopoverony/xash3d/raw/master/xash3d.sh

        After it in Emulationstation settings RetroPie - you can run Retropie Setup -> Manage packages -> exp (experemental) -> xash3d

        Installed Xash3d from Source

        "The above script will add Xash3d engine files to /home/pi/RetroPie/roms/ports/Half-Life/ add the valve folder from your Steam Half-Life game files to that same directory." I already had the valve folder from when I moved Half-Life over in the previous step, but I re-wrote it as that seemed to be what you were asking.

        That is where I've got to...

        Q 1 Reply Last reply 21 Jul 2020, 15:21 Reply Quote 1
        • Q
          quicksilver @AdamBeGood
          last edited by 21 Jul 2020, 15:21

          @AdamBeGood can you show me a picture of the contents of /home/pi/RetroPie/ROMs/ports/Half-Life/ ? Also, after the game fails to run can you check the contents of /dev/shm/runcommand.log/ and post the contents of that file here?

          A 1 Reply Last reply 21 Jul 2020, 15:50 Reply Quote 0
          • A
            AdamBeGood @quicksilver
            last edited by AdamBeGood 21 Jul 2020, 15:50

            Here is the runcommand: https://pastebin.com/Pmv4ubEW. Looks like I've messed something obvious up.

            Halflife.jpg

            Halflife2.jpg

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

              @AdamBeGood you should only need the "valve" folder in /roms/ports/Half-Life/ directory and the xash3d engine files. Try deleting the entire contents of the half-life directory. Then just copy the valve folder over. Then try reinstalling xash3d. For some reason it's saying it can't locate your valve folder.

              If you want to use the hd textures then create a folder named "custom" in the valve folder and copy the contents of your "valve_hd" folder into it.

              A 1 Reply Last reply 21 Jul 2020, 19:50 Reply Quote 0
              • A
                AdamBeGood @quicksilver
                last edited by AdamBeGood 21 Jul 2020, 19:50

                @quicksilver I am still getting the same error. Now I just have the valve folder within /Half-Life/ and three files in addition; which were created when I tried to run xash3d I think - libxash.so, libxashmenu.so and xash3d

                After I moved the valve folder over, I just went into Retropie-Setup and reinstalled xash3d. I didn't need to run Sergio's script again did I?

                Once I do get this sorted, would you recommend the HD textures? Does Half-Life run well enough to use them?

                Q 1 Reply Last reply 21 Jul 2020, 20:38 Reply Quote 0
                • Q
                  quicksilver @AdamBeGood
                  last edited by 21 Jul 2020, 20:38

                  @AdamBeGood the HD textures work just fine. It's a matter of preference really. You can look up the difference online to find which you prefer.

                  I can't see why xash3d can't locate the valve folder...it's right where its supposed to be. Can you check the permissions on the valve folder? Perhaps it's denying permission to access it or something.

                  A 1 Reply Last reply 21 Jul 2020, 20:40 Reply Quote 1
                  • A
                    AdamBeGood @quicksilver
                    last edited by 21 Jul 2020, 20:40

                    @quicksilver Pardon me, how do I check permissions on a folder?

                    Q 1 Reply Last reply 21 Jul 2020, 20:43 Reply Quote 0
                    • Q
                      quicksilver @AdamBeGood
                      last edited by 21 Jul 2020, 20:43

                      @AdamBeGood what software are you using to remote access your pi file system? Winscp or something similar? If so, you should be able right click on the valve folder and select properties (or something similar) and view the folders owner and permissions.

                      1 Reply Last reply Reply Quote 0
                      • A
                        AdamBeGood
                        last edited by 21 Jul 2020, 20:47

                        Yep, WinScp. Here is the permissions tab.Halflife.jpg

                        Q 1 Reply Last reply 21 Jul 2020, 20:51 Reply Quote 0
                        • Q
                          quicksilver @AdamBeGood
                          last edited by quicksilver 21 Jul 2020, 20:51

                          @AdamBeGood ah, you must have transfered the folder as user "root". Change the group/owner to "pi" and type "0777" in the "octal" box. Then check the box to set permissions recursively. Then click ok. Also double check the other three files to make sure the owner/permission is the same.

                          1 Reply Last reply Reply Quote 0
                          • ?
                            A Former User
                            last edited by 22 Jul 2020, 07:45

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • A
                              AdamBeGood
                              last edited by AdamBeGood 22 Jul 2020, 08:42

                              @quicksilver Okay, that worked!

                              I've got a few problems though - at the start the console says "Found walker1, but can't play!" and the same for "walker2". I presume these are models.

                              I've got no sound currently.

                              I've been kicked out a few times, once when I was changing key configuration, and consistently when I try to reverse the up/down on the mouse.

                              Edit: I copied the HD directory over to see what that was like. The walker1/2 issue occured before and after I did that.

                              Sound is resolved, it was me being a dolt.

                              Mouse issue is fine, if I press Esc and don't click Done

                              Walker1/Walker2 issue is still there but that is all. Playing a bit now.

                              If I click the right mouse button to configure that as Jump, I get kicked out. Actually, configuring at all via the game is a minefield (I can't seem to set anything as Jump). Should I be doing that via the file route?

                              On the Joypad point, I don't have "/opt/retropie/ports/xash3d/Xash3D.sh". I only have the .sh file in the /ports/ directory. I have no xash3d directory.

                              Final edit: some keys are okay to configure, I have C and V as Jump and Duck now - perfectly playable at this point.

                              Q 1 Reply Last reply 22 Jul 2020, 13:07 Reply Quote 0
                              • Q
                                quicksilver @AdamBeGood
                                last edited by 22 Jul 2020, 13:07

                                @AdamBeGood try using the newer version of xash3d and it should solve some of your issues. See step 4 in the original post.

                                A 1 Reply Last reply 22 Jul 2020, 14:31 Reply Quote 0
                                • A
                                  AdamBeGood @quicksilver
                                  last edited by 22 Jul 2020, 14:31

                                  @quicksilver Lovely, I'll do that when I can. I've got the usual Mega.NZ issues at the moment, just see the M but nothing occurs. It will work shortly, I'm sure.

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

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

                                    A 3 Replies Last reply 22 Jul 2020, 15:03 Reply Quote 0
                                    • A
                                      AdamBeGood @quicksilver
                                      last edited by 22 Jul 2020, 15:03

                                      @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 23 Jul 2020, 10:02

                                        @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 23 Jul 2020, 13:22

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

                                          M 1 Reply Last reply 23 Jul 2020, 13:34 Reply Quote 0
                                          25 out of 147
                                          • First post
                                            25/147
                                            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