Forum Archive

Go Back   3D Realms Forums > 3D Realms Topics > Other Apogee/3D Realms Games > Shadow Warrior Source Code
Blogs FAQ Community Calendar

Notices

 
 
Thread Tools
Old 04-04-2005, 02:49 PM   #1
clayasaurus

clayasaurus's Avatar
problem running SW under linux (jfsw port)
Hello, I've downloaded the build and SW sources, downloaded FMOD and NASM, and got SW and build to compile.

I've also used wine and winsetup.exe to copy the game files to my comp.
I've moved the SW binaries into the game folder and here is what i get when i try to run SW.

Code:
  
./sw
SHADOW WARRIOR(tm) Version 1.2
Copyright (c) 1997 3D Realms Entertainment



Type 'SW -?' for command line options.

Initialising mouse
Initialising SDL system interface (compiled with SDL version 1.2.8, DLL version 1.2.8)
Loading /usr/lib/libGL.so.1
Using "x11" video driver
Video device information:
  Can create hardware surfaces?          No
  Window manager available?              Yes
  Accelerated hardware blits?            No
  Accelerated hardware colourkey blits?  No
  Accelerated hardware alpha blits?      No
  Accelerated software blits?            No
  Accelerated software colourkey blits?  No
  Accelerated software alpha blits?      No
  Accelerated colour fills?              No
  Total video memory:                    0KB
ERROR: Failed to load TABLES.DAT!
I've tried changing the GL driver name and, I don't know what tables.dat is. I was wondering if anyone else has gotten it to run under linux or can help with the error messages?

I'm using the nvidia-glx driver under MEPIS linux.

edit: and yes, the nvidia driver works, i can play tuxracer at some blazing FPS
clayasaurus is offline  
Old 04-04-2005, 03:04 PM   #2
Jim Bentler
Re: problem running SW under linux (jfsw port)
I think that sw.grp is not being found. If it is in caps (SW.GRP), rename it to sw.grp.
Jim Bentler is offline  
Old 04-04-2005, 03:58 PM   #3
clayasaurus

clayasaurus's Avatar
Re: problem running SW under linux (jfsw port)
Ah yes, that worked. I had to rename Sw.cfg to sw.cfg.

Now, I just have to get the screen to be 800x600, get sound working, and have it not crash/freeze after I load the first level.
clayasaurus is offline  
Old 04-04-2005, 03:59 PM   #4
TerminX

TerminX's Avatar
Re: problem running SW under linux (jfsw port)
Sound won't be working for you.
TerminX is offline  
Old 04-04-2005, 04:04 PM   #5
clayasaurus

clayasaurus's Avatar
Re: problem running SW under linux (jfsw port)
:'( I thought FMOD was x-platform. Oh well, how hard can it be to get sound to work, or what needs to be done?
clayasaurus is offline  
Old 04-04-2005, 04:48 PM   #6
TerminX

TerminX's Avatar
Re: problem running SW under linux (jfsw port)
Quote:
clayasaurus said:
:'( I thought FMOD was x-platform. Oh well, how hard can it be to get sound to work, or what needs to be done?
The new sound system (JFAud) works under Linux. When the implementation into the games is complete, you will have sound. Alternatively, you could look at the icculus port's source and hack in the sound code from that if you want sound badly enough.
TerminX is offline  
Old 05-09-2005, 11:50 AM   #7
Mephisto
Re: problem running SW under linux (jfsw port)
Until the version with JFAud comes out, you can use this patch to get sound working:
http://www.mephisto.ma.cx/mephisto/j...02-sound.patch
its based on the sound patch for jfduke3d, and it probably only works on the 02/04/05 release (the only release now, but i'll mention it anyway, in case it gets updated soon).
__________________
"Fatal Error: Windows not found: (C)heer (P)arty (D)ance ?"
Mephisto is offline  
Old 06-01-2005, 04:28 PM   #8
Mephisto
Re: problem running SW under linux (jfsw port)
New version for new release:

http://www.mephisto.ma.cx/mephisto/p...31-sound.patch

And i forgot to tell with last patch that Ambience needs to be OFF, or the game will hang when launching a game, filling up all your memory until you kill it or it gets killed itself.
__________________
"Fatal Error: Windows not found: (C)heer (P)arty (D)ance ?"
Mephisto is offline  
 

Bookmarks


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 On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 06:34 PM.

Page generated in 0.09094310 seconds (100.00% PHP - 0% MySQL) with 18 queries

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

Website is ©1987-2014 Apogee Software, Ltd.
Ideas and messages posted here become property of Apogee Software Ltd.