While updating the sound patch for linux i found a few issues i would like to share with you...
*) The mouse doesn't seem to work on linux in the 20051009 releases. This is for both duke and sw. I dont know what causes this (yet). It's not a general input bug, cause joystick works. Duke3d gives this in the console output though:
CONTROL_Startup: Mouse Present
*) Duke3d crashes on load. This seems to be caused by libpng using to the crc32 function in the build engine for some reason. Commenting out this function solves the problem. I have not tried this on SW, since i didn't have the problem there.
*) Duke doesn't load old saves anymore. When trying to load 20050531 saves, it tells me they are corrupt...
*) It would be nice if the game would load the sw.cfg/DUKE3D.CFG in the base folder if none is found in the home folder. I had to copy it over manually to get my settings back...
I like the gtk2 startup window and the voxel sprites tho :) Good job on this. If you can fix the mouse bug, or point me to the place where i can fix this myself, i can finally play that wanton destruction addon someone pointed to in this forum. Pretty funny that they came up with that after so many years :)
I'll post the sound patch after the mouse is working again, so i can put the mouse fix in that patch as well.
Paralogos at
Patch for the mouse
Hi,
I got the mouse working. Two code lines in sdllayer.c got mixed up, and the debugging switch for compiling is still enabled. In the Makefile, change
Oh, I forgot to mention: Both apply to the jfbuild port, that's where all the magic happens. :D
~T
Mephisto at
thanks :)
ducon at
Re: Patch for the mouse
Paralogos said
Hi,
I got the mouse working. Two code lines in sdllayer.c got mixed up, and the debugging switch for compiling is still enabled. In the Makefile, change
RELEASE ?= 0
into
RELEASE ?= 1
Already done.
and apply this patch:
> patch -p0 < mini.patch
patching file build/src/sdlayer.c
patch: **** malformed patch at line 11: return 0;
What
Mephisto at
mouse grab on linux... (and some other things)
the mouse fix is included in the sound patch that you already have applied. this is probably a config file issue. the first thing i would check is this:
[Controls]
ControllerType = 1
(1 is mouse+kb, 2 is joystick+kb, i think 0 is kb-only)