RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Add support for xash3D

    Scheduled Pinned Locked Moved Ideas and Development
    xash3dhalflife
    63 Posts 13 Posters 11.4k 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.
    • retropieuser555R
      retropieuser555 @quicksilver
      last edited by

      @quicksilver ah fair, I'll probably stick with what's on there for now anyways then

      Pi 5 4GB

      Retroflag GPI with raspberry pi zero 2 w/ wifi

      Retroachievements:- lovelessrapture

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

        @retropieuser555 does the hazard course work for you on the old version?

        retropieuser555R 1 Reply Last reply Reply Quote 0
        • retropieuser555R
          retropieuser555 @quicksilver
          last edited by

          @quicksilver I played it right through just now, I can't remember what the original game on PC was like as I only ever played it a little bit. The flashlight drops the framerate to around 10-15FPS, and grenades freeze the game up briefly when they go to explode but honestly it's not bad at all and it works way better than I'd imagine the pi3 would handle it.

          Time to give the main game a bash and see how far I can get without the flashlight ha!

          Pi 5 4GB

          Retroflag GPI with raspberry pi zero 2 w/ wifi

          Retroachievements:- lovelessrapture

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

            @retropieuser555 I'm about halfway through the game right now. Fps drops on my pi 4 aren't as bad as what you describe, which is to be expected. For being a 20 year old game it's still really good. :)

            retropieuser555R 2 Replies Last reply Reply Quote 0
            • retropieuser555R
              retropieuser555 @quicksilver
              last edited by

              @quicksilver It's easily the best looking 3d game I've played on the pi tbh. It looks slightly above a PSX game, but then I guess xash3d has been built purely to play this game and had a lot of the gunk written out of it. I'll probably be getting a pi4 soon anyway so it'll be nice to see what the jump is for these games that "nearly" run on the pi3.

              Pi 5 4GB

              Retroflag GPI with raspberry pi zero 2 w/ wifi

              Retroachievements:- lovelessrapture

              1 Reply Last reply Reply Quote 0
              • retropieuser555R
                retropieuser555 @quicksilver
                last edited by

                @quicksilver Okay I'm barely through the first 10 mins in the facility at the start and anytime there's some lights, explosions or any kinda graphics to process the game freezes up. I wouldn't say it's playable on pi3 based on that. I think it's a file under pi4 game :)

                Pi 5 4GB

                Retroflag GPI with raspberry pi zero 2 w/ wifi

                Retroachievements:- lovelessrapture

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

                  @retropieuser555 Try changing to these settings in your config.cfg

                  r_vbo 0
                  r_vbo_dlightmode 1
                  cl_lw 0
                  

                  Is the original soundtrack playing for you? I have not heard any music yet...

                  ExarKunIvE retropieuser555R 2 Replies Last reply Reply Quote 2
                  • ExarKunIvE
                    ExarKunIv @quicksilver
                    last edited by

                    @quicksilver the soundtrack is working for me, just its very very quite.

                    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 .

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

                      @quicksilver Wow whatever those settings are it has helped a lot. I also dropped the resolution down to 800 x 600 (I think the game by default went to something much higher). Still getting some dips in frame rates but it's a lot better, more like 30-40FPS when stuff happens on screen, which is liveable. I'll play a bit further into the game and see what happens later on.

                      Pi 5 4GB

                      Retroflag GPI with raspberry pi zero 2 w/ wifi

                      Retroachievements:- lovelessrapture

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

                        @ExarKunIv Found my game files were incomplete. Got that fixed and have music now.

                        1 Reply Last reply Reply Quote 1
                        • quicksilverQ
                          quicksilver
                          last edited by

                          Tried running blue shift and opposing force mods but they both crash xash3d. Have you guys tried running any of the mods?

                          ExarKunIvE 1 Reply Last reply Reply Quote 0
                          • ExarKunIvE
                            ExarKunIv @quicksilver
                            last edited by

                            @quicksilver nope
                            but funny you did that, i was just thinking about if it could run that or not this morning my self

                            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 .

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

                              @ExarKunIv Got them working! Obviously you will need the Steam game files for Blue Shift and Opposing Force and then:

                              Edit:
                              See here for launching Bshift and Op Force
                              https://retropie.org.uk/forum/topic/26486/setting-up-half-life-through-retropie-a-guide?_=1594608040809

                              Each mod has its own config.cfg so you will to copy the one in the valve folder to the bshift and gearbox directories as well if you made any changes that you want to use.

                              I also noticed in the config.cfg there is an option for MP3 volume, that might help if your music is playing to softly.

                              1 Reply Last reply Reply Quote 2
                              • R
                                RussellB
                                last edited by

                                I've got almost everything working except I notice the segmentation fault when I try to cancel the keyboard config. Is this just how it is and I should ignore it to configure by hand?

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

                                  @RussellB if you compile the latest xash3d you won't have that issue. See my thread here https://retropie.org.uk/forum/topic/26486/setting-up-half-life-through-retropie-a-guide?_=1594608040809

                                  1 Reply Last reply Reply Quote 1
                                  • R
                                    RussellB
                                    last edited by

                                    Ahh, that's why I was having a different configuration than people were describing. I used "hl" instead of "xash3d". Trying that now.

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

                                      I got it installed following the instructions, however 'New Game', 'Training Room' and 'Load Game' are disabled on the main screen. The crash issue is gone. I had permission issues getting it to run where the owner of the valve folder was root. I changed it and everything under it to 'pi' and it runs with the issue I identified. What could I be missing?

                                      Followup:

                                      [13:28:54] Sys_Warn: Could not load client library:
                                      valve/cl_dlls/client.so: cannot open shared object file: No such file or directory
                                      Failed to find library client.so
                                      client.so: cannot open shared object file: No such file or directory

                                      But client.so is there and is owned by pi user and is executable.

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

                                        @RussellB did you accidentally replace the client.so that was compiled by the script module with the one that was included with the original game files?

                                        1 Reply Last reply Reply Quote 1
                                        • R
                                          RussellB
                                          last edited by

                                          Never mind... I wiped out everything, removed anything left and reinstalled and it worked. I'm using an sdcard/usb drive so that may have been causing me problems with files not getting recognized.

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

                                            @quicksilver joy_axis_binding "sflpyr" works for the xBox controller, do you know what the binding for a Playstation 3 controller should be?

                                            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.