Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Andreas Johansson <ajo@wopr.campus.luth.se>
To: axp-list@redhat.com
Subject: Re: Quake/Doom
Date: Wed, 29 Jul 1998 12:57:48 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.3.96.980729123345.2060A-100000@ymer.campus.luth.se> (raw)
In-Reply-To: <002301bdbab6$9ebde060$0201a8c0@bart.orangeriver.org>

On Wed, 29 Jul 1998, Its the Dude wrote:

> "RTFM"???  "/Unix for the Impatient/"
> Gee... thanks for your help Chris?!?

Hmm.. Maybe we aren't used to unix beginners on this list (and a mailing
list might not be the best way to learn either).

> --------------------
> I have several Unix books and verified that I'm using the gunzip command
> correctly.

Well, if you really read the manual, you should know that only one file
can be extracted from a .gz archive. gzip is only a compressor, to store
several files, tar is often used in the unix world.

> The only documentation I've found on the web for the Quake/Alpha/Linux
> version states that all I need to do
> is unpack this .gz file into my /quake directory and bring over the .pak
> files (from the DOS version of the game) into
> my /quake/id1 folder.

Yep, this is correct as to needed files.

> I did that, but I still have to ask,
> what am I doing wrong because I am obviously missing some files which I
> suspect
> are inside the .gz file but aren't being unpacked/extracted correctly??

Nope, only one file, the binary, is in the .gz file. gunzip by default
sets the unpacked name to the same as the archive minus the '.gz'
extention, but you may call it what you wish.

There are four possible problems I can see here.
1. The binary is not executable. Make it so using:
	chmod 755 xquake-whatever-its-name-is

2. You don't have current dir or the quake dir in your path and try to
   execute it just like
	xquake-whatever-its-name-is
   To execute a binary in the current directory but not in the path:
	./xquake-whatever-its-name-is

3. Your current dir is not set to your quake directory. I think the 'id1'
   directory must be in your current dir, not necessary in the quake dir.
   If this is the problem, just cd to your quake directory.

4. Your binary is of the binary format a.out (as opposed to ELF which is
   the usual binary format in linux nowadays). Many of the xquake binaries
   out there are so old that they were made when another binary format was
   ruling.
   If this is the case you need support for these a.out binaries in the
   kernel, but I think this comes by default with Red Hat kernels.
   If you miss it, you may need to recompile the kernel or make a module
   for a.out support. You can check the file format of the binary using:
	file xquake-whatever-its-name-is
   If this is your problem, it may be easier to find an ELF binary, there
   are a bunch out there.

It's a little difficult do guess what the problem is when you don't say
what's happening when you're trying, except that is doesn't work.

> Hopefully, someone that's done this and got it working can shed some light
> on the situation.

I have tried quake and it works. There are no more files in the .gz
archive.

> Thanks in advance for any help,
> -km

I hope you can find some help in this message, I'm not really sure how
much you know, so I send it with the risk of being too instructive..

Good luck!

/Andreas


  reply	other threads:[~1998-07-29 10:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-29  6:03 Quake/Doom Its the Dude
1998-07-29 10:57 ` Andreas Johansson [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-07-29 12:17 Quake/Doom Its the Dude
1998-07-29  4:37 Quake/Doom Its the Dude
1998-07-28 21:08 Quake/Doom Warren Davies
1998-07-28 21:35 ` Quake/Doom scorpio
1998-07-29 15:26   ` Quake/Doom Warren Davies
1998-07-29 20:22     ` Quake/Doom Keith Baker
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox