Setting up Half-Life through RetroPie (A Guide)
-
@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?
-
Here is the runcommand: https://pastebin.com/Pmv4ubEW. Looks like I've messed something obvious up.
-
@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.
-
@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?
-
@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.
-
@quicksilver Pardon me, how do I check permissions on a folder?
-
@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.
-
Yep, WinScp. Here is the permissions tab.
-
@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.
-
This post is deleted! -
@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.
-
@AdamBeGood try using the newer version of xash3d and it should solve some of your issues. See step 4 in the original post.
-
@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.
-
@AdamBeGood if you can't get it to work, I can walk you through compiling it yourself.
-
@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.
-
@quicksilver All the issues appear to be resolved with the newer version of xash3d! Amazing. Thanks so much.
-
@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".
-
@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. -
@mitu Oh, for Pete's sake. Thanks. I'm an embarassment.
-
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.
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.