View Full Version : duke and linux yet again
Mr.Fibbles
11-13-2005, 03:03 PM
I got JFDuke to compile and what not on Linux (Fecora 4 not that it matters for my question) but when i try to start it it is asking for the game.con.
I have the duke.grp inthe directory and i have the HRP installed so shouldnt that be enough? do i have to go and grab the game.con from an installatoin of duke on a windows computer or my cd?
Mr.Fibbles
11-13-2005, 03:22 PM
i copied stuff form my duke cd and it worked but 32bit polymost wont and neither will full screen, the full screen i cna live with but not the other.
as for logs:
Compiling: GAME.CON (151133 bytes)
Including: DEFS.CON (35992 bytes)
Including: USER.CON (45449 bytes)
Looks like Atomic Edition CON files.
* WARNING!(L476 GAME.CON) Expected a 'action' label but found a 'define' label
instead.
Code Size: 64832 bytes (1794 labels).
Initialising SDL system interface (compiled with SDL version 1.2.9, DLL version
1.2.9)
Loading libGL.so
Using "x11" video driver
this is the beginningm then it basically complains about models not being found and errors in def files. mostly md3 but also some md2. there seems to be no real pattern in which ones it doesnt like.
RTS Manager Started.
Adding DUKE.RTS.
Using .RTS file:DUKE.RTS
Loading palette/lookups.
Failure setting video mode 640x480x8 fullscreen! Attempting safer mode...Setting video mode 320x240 (8-bpp windowed)
Checking music inits.
Checking sound inits.
Audio write: Invalid argument
Setting video mode 800x600 (32-bpp fullscreen)
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
this is obviously the end and when i try to load up 32b polymost with full screeen.
Cipher
11-13-2005, 07:33 PM
Mr.Fibbles said:
this is the beginningm then it basically complains about models not being found and errors in def files. mostly md3 but also some md2. there seems to be no real pattern in which ones it doesnt like.
When I was experimenting with Duke3d in Linux, I had a similar problem. Maybe the cause is Linux's case-sensitivity. Sometimes the defs are not in the same case as the filenames.
eyceguy
11-14-2005, 10:01 AM
yeah the big problem is the case sensitivity. in fact duke3d looks for GAME.CON not game.con so all one has to do is rename the con files to all upper case and that will go away
and chances are that the case is the same with the models also
Mr.Fibbles
11-18-2005, 05:28 PM
I fixed all the def files, but i still cant get polymost to work at all.
Here is my log from my last attempt.
Duke Nukem 3D v1.999
Copyright (c) 1996 3D Realms Entertainment
Compiling: GAME.CON (151133 bytes)
Including: DEFS.CON (35992 bytes)
Including: USER.CON (45449 bytes)
Looks like Atomic Edition CON files.
* WARNING!(L476 GAME.CON) Expected a 'action' label but found a 'define' label instead.
Code Size: 64832 bytes (1794 labels).
Initialising SDL system interface (compiled with SDL version 1.2.9, DLL version 1.2.9)
Loading libGL.so
Using "x11" video driver
Detecting video modes:
- 1024x768 32-bit fullscreen
- 848x480 32-bit fullscreen
- 832x624 32-bit fullscreen
- 800x600 32-bit fullscreen
- 720x400 32-bit fullscreen
- 640x512 32-bit fullscreen
- 640x480 32-bit fullscreen
- 640x400 32-bit fullscreen
- 640x384 32-bit fullscreen
- 640x360 32-bit fullscreen
- 640x350 32-bit fullscreen
- 576x432 32-bit fullscreen
- 512x384 32-bit fullscreen
- 424x240 32-bit fullscreen
- 416x312 32-bit fullscreen
- 400x300 32-bit fullscreen
- 320x240 32-bit fullscreen
- 320x200 32-bit fullscreen
- 320x175 32-bit fullscreen
- 800x600 8-bit windowed
- 640x480 8-bit windowed
- 640x400 8-bit windowed
- 512x384 8-bit windowed
- 480x360 8-bit windowed
- 400x300 8-bit windowed
- 320x240 8-bit windowed
- 320x200 8-bit windowed
- 800x600 32-bit windowed
- 640x480 32-bit windowed
- 640x400 32-bit windowed
- 512x384 32-bit windowed
- 480x360 32-bit windowed
- 400x300 32-bit windowed
- 320x240 32-bit windowed
- 320x200 32-bit windowed
0 joystick(s) found
Initialising mouse
CONTROL_Startup: Mouse Present
Initialising timer
Loading art header.
initcache(): Initialised with 33554416 bytes
mmulti: This machine's IP is 127.0.0.1
Definitions file loaded.
RTS Manager Started.
Adding DUKE.RTS.
Using .RTS file:DUKE.RTS
Loading palette/lookups.
Setting video mode 800x600 (8-bpp windowed)
Checking music inits.
Checking sound inits.
Setting video mode 800x600 (32-bpp fullscreen)
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
thething im most concerned about is the warning from the game.con in the beginning, here is what the con has at that line (476):
[474]state burningbarrelcode
[475] fall
[476] ifcount 32
[477] {
[478] resetcount
[479] ifp palive ifpdistl 1480 ifp phigher
[480] {
[481] addphealth -1
[482] palfrom 16 16
[483] ifrnd 96 sound DUKE_LONGTERM_PAIN
[484] }
[485] }
very confused at this.
Parkar
11-20-2005, 08:50 AM
The thing to be most concered about is this.
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
Mr.Fibbles
11-20-2005, 09:19 PM
Yeah, I know, but i dont understand why the game.con would have problems, and there it makes no sense. that particular area of code doesnt seem the have anythign to do with what they say it is.
the SDL thing, yes is a really big problem. and it does confuse me because I have the nvidia modules installed as well as just about everything I can think of for SDL so in theory it should work. this is very disapointing to me, i finally get jfduke to compile and work and then i cant get the HRP to work.
Mr.Fibbles
11-21-2005, 08:44 PM
OK:
I got it working, I have discovered that the problem lies in the HRP itself,something about it makes my computer/SDL freak out and close.
Maybe an overload but I'm not sure.
I am going to try to see if the light version works, if so then I'll learn to deal. if not, well,i dont know what i'll do.
Mr.Fibbles
11-22-2005, 02:48 PM
for the sake of more help, which i am not getting, here are my specs:
I have all of SDL stuff including the devel packages installed and they are the newest. I am running Fedora 4 Core, with most up to date kernel. I have a gforce4mx440 with 1.2ghz and 256ram. I ran duke back before Gates skrewed me over with Windows XP on this machine and it worked mostly seemlessly.
It does not like loading the HRP stuff at all. I tried commenting out different includes on the def files and it still failed to load beyond the menu. The stuff like the menu text and the loading screen work, not necessarily smoothly but they work.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.