LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 04-23-2004, 10:53 AM   #1
Adm Frosty
LQ Newbie
 
Registered: Apr 2004
Location: enclaved with computers
Posts: 3

Rep: Reputation: 0
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. hmmmm

Thanks for your time!

 
Old 04-23-2004, 11:42 AM   #2
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
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.
 
Old 04-23-2004, 12:39 PM   #3
Adm Frosty
LQ Newbie
 
Registered: Apr 2004
Location: enclaved with computers
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 04-23-2004, 03:57 PM   #4
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
you can just run

"md5sum filename"

and compare the output string to what its supposed to be.
 
Old 04-23-2004, 08:08 PM   #5
Adm Frosty
LQ Newbie
 
Registered: Apr 2004
Location: enclaved with computers
Posts: 3

Original Poster
Rep: Reputation: 0
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!



Thank you guys for getting me on the right track!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HLDS with CS extremebfn Linux - Games 1 09-20-2004 12:13 PM
Which distro for HLDS? floop Linux - Software 1 08-04-2004 07:35 PM
Hlds Linux !! Help fakfejs Linux - Games 1 03-30-2004 12:09 PM
HLDS help bgreenwo52 Linux - Newbie 1 08-09-2003 04:34 PM
Cs Hlds linuxsoundprob Linux - Software 0 06-05-2003 01:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 11:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration