LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   hlds (I tried, really) (https://www.linuxquestions.org/questions/linux-games-33/hlds-i-tried-really-173710/)

Adm Frosty 04-23-2004 10:53 AM

hlds (I tried, really)
 
Ok, Guys, I researched this, I really did...

How do I install hlds (non-steam) in linux? I have the latest .bin file (hlds_l_3111_full.bin), I did the mkdir hlds. I found a how-to at linux.com that said to do a sh hlds_l_3111_full.bin, however, I get a "cannot execute binary file" error. This was under both root and user.

I've also seen suggested that one should to a ./. Again, I get bash: ./: is a directory under both # and >(this appears to be the symbol for user in my suse box).

I've also seen a chmod +X (hlds file name) done as well. However, I get operation not permitted in user, however in root, I get nothing, just a new command prompt. But I still can't get it to run. :scratch: hmmmm

Thanks for your time!

:newbie:

Technoslave 04-23-2004 11:42 AM

md5sum the binary, compare it to what it should be...I believe hlds has a public md5sum when you dl it.

Root will have nothing to do with this, so long as you created the directory with the user you want to run the game as. So, try not to do anything with root, you're using sudo if you do, right?

Ok, with the bin file in the hlds directory. Make sure that you own both the directory and the bin file ( just because ). chmod 755 *.bin that'll make sure that it's executable. Then you can issue:

sh ./blah.full.bin ( that's an sh dot slash filename of bin file )

If you get the failure to execute binary again, make sure that whatever linux you're using is compatible with the bin file you have. If not, find the one that is.

Adm Frosty 04-23-2004 12:39 PM

:study: Hmmmm......check the md5.....hmmmmm

I found the md5 number here, how do I compare it with what I dl'ed?

I did your chmod 755, as root (under user it said "Operation not permitted") but I still can not execute (as a user this time).

I'm running SuSe 8.1 here, me beliveth that its compatible.

Genesee 04-23-2004 03:57 PM

you can just run

"md5sum filename"

and compare the output string to what its supposed to be.

Adm Frosty 04-23-2004 08:08 PM

:D Ahh, thank you all! I know what I did wrong! I first burned the file on a cd from a different computer, and when I copied the file from the disk,
I did it as root!

I really need to stop typing su so much!

:tisk:

Thank you guys for getting me on the right track!


All times are GMT -5. The time now is 02:08 AM.