D2X-XL Bug Reports - Linux
Moderators: Grendel, Aus-RED-5
-
- DBB Ace
- Posts: 23
- Joined: Wed Jun 21, 2006 8:20 pm
Joystick Troubles
I use a PSX2 Adapter called a \"Wind Spirt\" Connected to a USB Port. I will be sending you stack traces for my Descent I Crashes via E-mail.
-
- DBB Ace
- Posts: 23
- Joined: Wed Jun 21, 2006 8:20 pm
Other Joysticks
I have tried a Gravis Flight Stick (A rather standard but old device) wiht the same result. turning is far to fast.
-
- DBB Ace
- Posts: 23
- Joined: Wed Jun 21, 2006 8:20 pm
Joystick Troubles
Joystick(s) and mouse are 2.6 seconds
Keyboard is 4 seconds
For a full rotation of the ship.
Keyboard is 4 seconds
For a full rotation of the ship.
Re: Two issues.
Just a note. Diedel has probably already fixed it, but I had a problem with joystick options not affecting anything when changed. They worked once I enabled advanced settings.Zombie Ryushu wrote:And, Joystick controlls under D2X-XL are WAY too hypersensetive and changing the setting in options does not effect it under Linux.
Why doesn't it work?
Re: Joystick Troubles
Joy/Mouse look ok.Zombie Ryushu wrote:Joystick(s) and mouse are 2.6 seconds
Keyboard is 4 seconds
For a full rotation of the ship.
Keyboard: Do you have keyboard ramping turned on?
Compiling/using it in Debian Etch
Hi,
I run an up to date Debian Etch.
I first tried to run the 1.6.81 version of d2x-xl, but it crashes without explanation. It just says “Segfault”.
With strace, I get this:
Note that no application uses sound, if it is the matter.
OK, so I try to compile the same version.
First I had to create arch/dos because if not ./autogen.sh refuses to do ./configure.
I get this warning, I’m using automake version 1.9.6 and autoconf 2.50:
OK, now ./configure. I’m using libSDL 1.2.10-3, I have no-asm, is it normal?
OK, I’ve compiled the code. This executable crashes with the same error than the precompiled one.
I run an up to date Debian Etch.
I first tried to run the 1.6.81 version of d2x-xl, but it crashes without explanation. It just says “Segfault”.
With strace, I get this:
Code: Select all
write(4, \"\\n\\1\\2\\0\\16\\0`\\1\\4@\\2\\0\\17\\0`\\1O\\0\\2\\0\\f\\0`\\1l\\0\\1\\0\", 28) = 28
read(4, 0xbfffbf20, 32) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(4, \"\\22\\355\\177\\0\\16\\0`\\1\\16\\0`\\1\\0\\0`\\1\\1\\0\\0\\300\\1\\0\\0\\0\"..., 32) = 32
read(4, \"\\n\\0\\177\\0\\16\\0`\\1\\0\\0\\0\\0\\330\\354\\377\\277\\0\\0\\0\\0\\0\\0\"..., 32) = 32
read(4, \"\\10\\0\\177\\0\\377\\27\\375\\t5\\1\\0\\0\\17\\0`\\1\\0\\0\\0\\0\\333\\1\\\"\"..., 32) = 32
read(4, \"\\1\\0\\202\\0\\0\\0\\0\\0\\0\\0X\\2\\1\\1\\0\\0\\4\\0\\0\\0\\0\\0\\0\\0\\377\\377\"..., 32) = 32
write(4, \"k\\1\\3\\0\\0\\0X\\2\\1\\1\\2\\0_\\0\\2\\0\\7\\0`\\1+\\0\\1\\0\", 24) = 24
read(4, \"\\25\\262\\202\\0\\16\\0`\\1\\16\\0`\\0015\\1\\0\\0\\0\\0\\0\\0\\0\\272\\\"\"..., 32) = 32
read(4, \"\\26\\0\\202\\0\\16\\0`\\1\\16\\0`\\1S\\0`\\0\\0\\0\\0\\0\\200\\2\\340\\1\\0\"..., 32) = 32
read(4, \"\\34\\262\\202\\0\\16\\0`\\1\\22\\1\\0\\0\\22\\30\\375\\t\\1\\0\\0\\0\\30l\"..., 32) = 32
read(4, \"\\34\\262\\202\\0\\16\\0`\\1\\26\\1\\0\\0\\22\\30\\375\\t\\0\\30\\375\\t\\30\"..., 32) = 32
read(4, \"\\34\\262\\202\\0\\16\\0`\\1j\\0\\0\\0\\22\\30\\375\\t\\1\\0\\0\\0\\30l\\36\"..., 32) = 32
read(4, 0xbfffbf50, 32) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(4, \"\\1\\2\\205\\0\\0\\0\\0\\0 \\0\\300\\0\\4\\0\\0\\0\\0\\0\\0\\0X\\2\\0\\0\\354\"..., 32) = 32
write(5, \"\\220\\4\\2\\0\\1\\0`\\2<\\0\\2\\0\\0\\0`\\2+\\0\\1\\0\", 20) = 20
read(5, \"\\1\\2 \\0\\0\\0\\0\\0 \\0\\300\\0\\4\\0\\0\\0\\0\\0\\0\\0\\354\\231\\34\\10\"..., 32) = 32
shutdown(5, 2 /* send and receive */) = 0
close(5) = 0
write(4, \"<\\1\\2\\0\\0\\0`\\1+\\1\\1\\0\", 12) = 12
read(4, \"\\1\\2\\207\\0\\0\\0\\0\\0 \\0\\300\\0\\4\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\354\"..., 32) = 32
shutdown(4, 2 /* send and receive */) = 0
close(4) = 0
munmap(0x40023000, 13020) = 0
rt_sigaction(SIGSEGV, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGBUS, NULL, {0x40283cb0, [], SA_RESTORER, 0x402f44c8}, 8) = 0
rt_sigaction(SIGBUS, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGFPE, NULL, {0x40283cb0, [], SA_RESTORER, 0x402f44c8}, 8) = 0
rt_sigaction(SIGFPE, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_IGN}, 8) = 0
kill(15985, SIGSEGV) = 0
sigreturn() = ? (mask now [RTMIN])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 15985 detached
OK, so I try to compile the same version.
First I had to create arch/dos because if not ./autogen.sh refuses to do ./configure.
I get this warning, I’m using automake version 1.9.6 and autoconf 2.50:
Code: Select all
/usr/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
Code: Select all
Features : no_asm network kalinix ipx OpenGL fasteventpoll release
OK, it appears that some files are missing:
hoard.ham, descent2.p11, descent2.p22 and banlist.txt.
I can’t find them, neither in the Descent 2 CD, neither in the archives nor in an old Descent 2 directory in Windows.
After several GetAppFolder, I see:
hoard.ham, descent2.p11, descent2.p22 and banlist.txt.
I can’t find them, neither in the Descent 2 CD, neither in the archives nor in an old Descent 2 directory in Windows.
After several GetAppFolder, I see:
Here is my complete ls -R:Creating default tracker list
Loading main hog file
no hog file found
Loading text resources
Loading hires models
File 'pyrogl.oof' not found
Loading ban list
File 'banlist.txt' not found
Initializing i/o
Reading configuration file
File 'descent.cfg' not found
Initializing control types
Initializing joystick
Initializing graphics
Shaders are available
Rendering to texture is available
building lightmap shader programs
Initializing render buffers
Loading default palette
File 'default.256' not found
Initializing game fonts
File 'font1-1.fnt' not found
File 'font2-1.fnt' not found
File 'font2-2.fnt' not found
File 'font2-3.fnt' not found
File 'font3-1.fnt' not found
File 'font1-1h.fnt' not found
File 'font2-1h.fnt' not found
File 'font2-2h.fnt' not found
File 'font2-3h.fnt' not found
File 'font3-1h.fnt' not found
Initializing movies
found movie lib 'intro-h.mvl'
found movie lib 'other-h.mvl'
found movie lib 'robots-h.mvl'
File 'extra1-h.mvl' not found
File '.extra1-h.mvl' not found
File 'extra1-l.mvl' not found
File '.extra1-l.mvl' not found
File 'extra2-h.mvl' not found
File '.extra2-h.mvl' not found
File 'extra2-l.mvl' not found
File '.extra2-l.mvl' not found
File 'extra3-h.mvl' not found
File '.extra3-h.mvl' not found
File 'extra3-l.mvl' not found
File '.extra3-l.mvl' not found
File 'extra4-h.mvl' not found
File '.extra4-h.mvl' not found
File 'extra4-l.mvl' not found
File '.extra4-l.mvl' not found
File 'extra5-h.mvl' not found
File '.extra5-h.mvl' not found
File 'extra5-l.mvl' not found
File '.extra5-l.mvl' not found
Initializing game data
Initializing hash tables
Initializing sound data (254 sounds)
Initializing bitmap index (2620 indices)
Initializing placeholder bitmap
Loading game data
> ls -R
.:
cd.ico d2.bat d2x-xl demos descentr.exe devteam.pcx hmidet.386 iforce.dll movies profiles savegames
config d2data d2x-xl.old descent.bat descentw.exe disk1.id hmidrv.386 missions orderfrm.txt readme.txt setup.exe
controls d2x-gl data descent.faq descentw.ico endnote.txt hmimdrv.386 modem.lst pcxview.exe readmew.doc setup.pif
./config:
d2x.ini descent.cfg descentg.ini eregcard.ini
./controls:
avgrd2.exe d2flcs.b50 d2tqs.b50 d2tqs.m50 d2wcs.b50 d2wcs.m50 descent2.adv descent2.key descent2.phx
./d2data:
ben-h.mve disk1.id eregreg2.dll hmidrv.386 intro-h.mvl other-h.mvl readme.txt robots-h.mvl setup.exe zero
descent2.sow ereglib.dll hmidet.386 hmimdrv.386 intro-l.mvl other-l.mvl regcard.exe robots-l.mvl wmvetest.exe
./d2data/zero:
alien1.pig d2.bat descent2.exe descentg.ini eregcard.ini hmimdrv.386 modem.lst readme.txt sos32s03.dll
alien2.pig d2chaos.hog descent2.ham descentw.exe fire.pig ice.pig orderfrm.txt readmew.doc sos9503.dll
ben-h.mve d2chaos.mn2 descent2.hog descentw.ico groupa.pig iforce.dll other-h.mvl robots-h.mvl soslibs3.dll
d2-2plyr.hog d2icons.dll descent2.s11 endnote.txt hmidet.386 intro-h.mvl other-l.mvl robots-l.mvl water.pig
d2-2plyr.mn2 descent2.dem descent2.s22 eregcard.exe hmidrv.386 intro-l.mvl pcxview.exe setup.exe
./data:
alien1.256 alien2.pig cambot.hxm descent2.adv descent2.s11 descent.b50 descent.phx fire.256 groupa.pig palette.256
alien1.pig becgadda.swp credits.256 descent2.ham descent2.s22 descent.hog descent.pig fire.pig ice.256 water.256
alien2.256 ben-h.mve d2x-xl.hog descent2.hog descent2.sow descent.m50 descent.tex groupa.256 ice.pig water.pig
./demos:
descent2.dem descent.dem level18.dem miniboss.dem
./missions:
chaos.hog chaos.msn d2-2plyr.hog d2-2plyr.mn2 d2chaos.hog d2chaos.mn2 d2x-xl.hog
./movies:
intro-h.mvl intro-l.mvl other-h.mvl other-l.mvl robots-h.mvl robots-l.mvl
./profiles:
default.plr ducon.plr
./savegames:
ducon.sg0 ducon.sg1 ducon.sg2 ducon.sg3
a shell, an imp
Remove descent.tex, and make sure you are using the most recent d2x-xl.hog. Regard that when using e.g. the data subfolder, D2X-XL will look for the data files only there and not in the D2 main folder. Same goes for all other D2X-XL sub folders. You also need to regard that D2X-XL now stores all writeable files in ~/.d2x-xl/* (e.g. ~/.d2x-xl/config/d2x-xl.ini, where ~ is your home folder) if they are present. If you want D2X-XL to use these folders, you will have to create them though, or it will assume you want them in the D2 main folder (usually /usr/local/share/d2x-xl).
I’m using the one found in the latest binary archive. Removing the descent.tex makes d2x-xl complain that it does not find some fonts, but I don’t need to kill it violently anymore: it suicides.Diedel wrote: Remove descent.tex, and make sure you are using the most recent d2x-xl.hog.
I did not touch the ~/.d2x-xl/ folder at the moment.
a shell, an imp
-
- DBB Ace
- Posts: 23
- Joined: Wed Jun 21, 2006 8:20 pm
D2X-XL Build issues.
Your latest version of D2X Does not build. It requires SDL 1.2.10, my distro only allows for 1.2.8
Package Interdependant Linux Distros cannot upgrade critical libraries. It would disrupt other applications that use them. (In this case SDL.)
It would be like putting libraries from 98SE into 98A. The only time critical libraries change is when the distro itself is upgraded. An exception to this is Fedora, which doesn't have clearly defined versions.
Package Interdependant Linux Distros cannot upgrade critical libraries. It would disrupt other applications that use them. (In this case SDL.)
It would be like putting libraries from 98SE into 98A. The only time critical libraries change is when the distro itself is upgraded. An exception to this is Fedora, which doesn't have clearly defined versions.
-
- DBB Ace
- Posts: 23
- Joined: Wed Jun 21, 2006 8:20 pm
Some issues with Linux Softawre
You should include the name of the architecture in yolur binary distribution. (i586) in this case. Source distributions should not have a 'src' in them.
-
- DBB Ace
- Posts: 23
- Joined: Wed Jun 21, 2006 8:20 pm
Architectures.
Your architecture could be x86 or x86_64 in that case.
i586 is also known as classic Pentium Architecture. (Pentium I was called Intel Processor 80586, the architecture changed slightly with i686, also known as Pentium II.
I am still unable to play Descent II demo and see my laser fire, and I still cannot play Descent I.
can you please make d2x-xl backward compatible with sdl 1.2.8?
i586 is also known as classic Pentium Architecture. (Pentium I was called Intel Processor 80586, the architecture changed slightly with i686, also known as Pentium II.
I am still unable to play Descent II demo and see my laser fire, and I still cannot play Descent I.
can you please make d2x-xl backward compatible with sdl 1.2.8?
-
- DBB Ace
- Posts: 23
- Joined: Wed Jun 21, 2006 8:20 pm
Tarball switches.
I'm sure that you could tell Tar to recursively tar up *.c. What syntax are you using right now?
-
- DBB Ace
- Posts: 23
- Joined: Wed Jun 21, 2006 8:20 pm
Configure scripts
The autoconf script attempts to detect that SDL 1.2.10 is installed, and when it sees that SDL 1.2.8 is installed, fails. Terminates the script, and refuses to build.
Also, creation of d2x-xl should be automatic upon the detection that it does not exist. The user should not have to hand create these files
Also, creation of d2x-xl should be automatic upon the detection that it does not exist. The user should not have to hand create these files
You don't have to manually build it, and you can change configure.ac yourself to work with SDL 1.2.8.
The make file creates a dxl-gl executable. I tried to make it create a d2x-xl exe, but failed to do so, because I couldn't figure how to have this cryptic LinSux make bull$h1t do it - it always gave me an error message.
I am glad I have a make file creating a working exe at all with whatever name.
Feel free to improve that.
The make file creates a dxl-gl executable. I tried to make it create a d2x-xl exe, but failed to do so, because I couldn't figure how to have this cryptic LinSux make bull$h1t do it - it always gave me an error message.
I am glad I have a make file creating a working exe at all with whatever name.
Feel free to improve that.
-
- DBB Ace
- Posts: 23
- Joined: Wed Jun 21, 2006 8:20 pm
Offending Line in configure.ac
I've found the offending line. I can do this one of two ways, include it as a patch in my SPEC File, or send it upstream to you. By the way, You made a critical mistake of adding a -1 at the end of the version ID For SDL, 1.2.10-1 is the RPM Revision ID For Suse.
1.2.10 is the actual version of SDL.
I will send the change upstream.
1.2.10 is the actual version of SDL.
I will send the change upstream.
-
- DBB Ace
- Posts: 23
- Joined: Wed Jun 21, 2006 8:20 pm
Suse RPM SPEC
I will send you a Fedora Version of the D2X-XL SPEC File. It should be simplistic enough that Suse will build it. I hope. The thing is, there is still a few matters to attend to with the fact that User's configuration files are not created by default upon initialization.
-
- DBB Ace
- Posts: 23
- Joined: Wed Jun 21, 2006 8:20 pm
Creation of User's Config
Currently, D2X-XL Crashes with a segfault if the ~/.d2x-xl directory doesn't exist.
Most Linux applications create User's configuration directory by simply making the .d2x-xl directory. and copying a configuration file template from /usr/share/d2x-xl/config. It won't prompt the user to do this, it just does it. If the User deletes it, it gets re-created.
Also, it won't let me delete or create pilots.
Most Linux applications create User's configuration directory by simply making the .d2x-xl directory. and copying a configuration file template from /usr/share/d2x-xl/config. It won't prompt the user to do this, it just does it. If the User deletes it, it gets re-created.
Also, it won't let me delete or create pilots.
-
- DBB Ace
- Posts: 23
- Joined: Wed Jun 21, 2006 8:20 pm
Directory Structure of /usr/share/d2x-xl
I still can't get Descent I working. I have a listing of that directry.
chaos.hog
chaos.msn
comdelux.hog
comdelux.msn
corr11.hog
corr11.msn
d1_14a.exe
d1_15.exe
d1x042ogl*
d2_1x_to_12.exe
d2demo.ham
d2demo.hog
d2demo.pig
d2xdir.txt
d2x.ini
d2x-xl.hog
default.plr
demonbrg.hog
demonbrg.msn
descent2.adv
descent.b50
descent.bat
descent.cfg
descent.dem
descent.faq
descentg.ini
descent.ham
descent.hi
descent.hog
descent.hog.diff
descent.hog.rej
descent.m50
descent.phx
descent.pig
descent.pig.diff
descent.pig.rej
Descent.plr
descentr.exe
descent.tex
descent.tex.eng
descent.tex.ger
dethpost.hog
dethpost.msn
devteam.pcx
duality.hog
duality.msn
eregcard.exe
eregcard.ini
erthstrk.hog
erthstrk.msn
fbomega.hog
fbomega.msn
hmidet.386
hmidrv.386
hmimdrv.386
humil2.hog
humil2.msn
lunapost.hog
lunapost.msn
mad.msn
mad.rdl
mag4.hog
mag4.msn
miniboss.dem
models/
newest.msn
newest.rdl
obsrv13.hog
obsrv13.msn
patch.exe
patch-file
patch.rtd
patch.rtp
patch.txt
pcxview.exe
readme.txt
retrib10.msn
retrib10.rdl
retrib11.msn
retrib11.rdl
serenity.hog
serenity.msn
setup.exe
super_s.hog
super_s.msn
terminus.hog
terminus.msn
tranquil.hog
tranquil.msn
x1.hog
x1.msn
chaos.hog
chaos.msn
comdelux.hog
comdelux.msn
corr11.hog
corr11.msn
d1_14a.exe
d1_15.exe
d1x042ogl*
d2_1x_to_12.exe
d2demo.ham
d2demo.hog
d2demo.pig
d2xdir.txt
d2x.ini
d2x-xl.hog
default.plr
demonbrg.hog
demonbrg.msn
descent2.adv
descent.b50
descent.bat
descent.cfg
descent.dem
descent.faq
descentg.ini
descent.ham
descent.hi
descent.hog
descent.hog.diff
descent.hog.rej
descent.m50
descent.phx
descent.pig
descent.pig.diff
descent.pig.rej
Descent.plr
descentr.exe
descent.tex
descent.tex.eng
descent.tex.ger
dethpost.hog
dethpost.msn
devteam.pcx
duality.hog
duality.msn
eregcard.exe
eregcard.ini
erthstrk.hog
erthstrk.msn
fbomega.hog
fbomega.msn
hmidet.386
hmidrv.386
hmimdrv.386
humil2.hog
humil2.msn
lunapost.hog
lunapost.msn
mad.msn
mad.rdl
mag4.hog
mag4.msn
miniboss.dem
models/
newest.msn
newest.rdl
obsrv13.hog
obsrv13.msn
patch.exe
patch-file
patch.rtd
patch.rtp
patch.txt
pcxview.exe
readme.txt
retrib10.msn
retrib10.rdl
retrib11.msn
retrib11.rdl
serenity.hog
serenity.msn
setup.exe
super_s.hog
super_s.msn
terminus.hog
terminus.msn
tranquil.hog
tranquil.msn
x1.hog
x1.msn