[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Running Quake 2 under linux



You might have a problem with the End of Line carriage returns in the
config files.  I use a script that I picked up from one of the Linux
mods I've run on a Q2 server(LMCTF I think).  I'll include it here(it's
called 'stripcr':

#!/bin/sh
#Server dying?  Client dumping core?  These wild errors may be caused by
#mixing Windows config/ini files with your Unix programs.  DOS/Win
expects
#lines to end with a line-feed and a carrage return (^M).  Unix doesn't
#like the carrage return, and it causes some really wierd problems. The
#attached script strips out there extra CTRL-M's.  
#One more thing to look for in your config files:  Are you using the
right
#slash?  DOS uses '\' (backslash) in directory names.  Unix uses this
character
#as an escape character.  Even more wierd things.  Make sure you use '/'
#(fore-slashes) in your config files where needed.

cat $1 | tr -d '\015' > .stripcr
mv .stripcr $1
rm -f .stripcr

Just copy the above into a file called stripcr and make the file
executable.

js


-----Original Message-----
From: zappa inetnow net [mailto:zappa inetnow net]
Sent: Wednesday, September 30, 1998 11:48 AM
To: Redhat ML
Subject: Running Quake 2 under linux


Hi all,
Has anyone succesfully gotten Quake 2 to run under linux. I have
followed
The install instructions that came with the linux Quake 2 binaries and
read the linux Quake-HOWTO and still can't get Quake to run. Here is the
error I am getting:

Added packfile ./baseq2/pak0.pak (3307 files)
execing default.cfg
couldn't exec config.cfg
Console initialized.

------- sound initialization -------
sound sampling rate: 11025
------------------------------------
------- Loading ref_softx.so -------
setting mode 0: 320 240
MITSHM shared memory (id=1408, addr=0x402ea000)
MITSHM shared memory (id=1409, addr=0x40335000)
808k surface cache
ref_soft version: SOFT 0.01
------------------------------------
CD Audio Initialized
couldn't exec autoexec.cfg
------- Loading gamei386.so -------********************
ERROR: failed to load game DLL
********************
Error: Error during initialization
Couldn't write config.cfg.

I get this same error when I try to run the shareware or the full
version
as root. Any ideas?
Thanks,
- Mandarth



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]