Jonof, can you please make this a sticky? I'm sick of all the "WhErE's ThE SoUnD?" threads of people that can't use the search function.
The sound patch is here:
http://www.mephisto.ma.cx/mephisto/patches/jfduke3d_src_20050531-sound.patch (duke)
http://www.mephisto.ma.cx/mephisto/patches/jfsw_src_20050531-sound.patch (sw)
This patch will probably be obsolete with next release, since jonof is working on a new audio system, but i just had to post it here to prevent more sound threads like this and this.
There's also a thread where i posted binaries, in case you cant get it compiled for some reason. Use the search function if you want those.
PS: Ambience needs to be OFF or the game will get stuck in a loop and fill all your ram until it gets killed by the kernel.
PS2: No, cd music does not work in SW. This is because SW uses cd audio whereas Duke uses midi files. cd audio is not and will never be supported in this patch (unless someone that cares codes it tho, but i'd wait for the new sound system instead...).
Edited at
TX at
I'm not sure that the forum supports stickied topics.. I can't seem to find the option to set this one sticky, anyhow.
addfaz at
TX said
I'm not sure that the forum supports stickied topics.. I can't seem to find the option to set this one sticky, anyhow.
If its the same phpbb software i used a while back, you have to edit the first post of the thread and set it as a sticky. :wink: 8)
Mephisto at
I have updated the sound patch for the 20051009 release. This release also has a few other linux-specific bugs which needed fixing. These patches will fix the following issues:
*) Adds sound to Duke and SW. There is still no music in SW. The cd music code for windows seems to be completely written in MCI commands, which are windows specific, so porting that would require a rewrite from scratch. I rather wait for the complete JFAud sound system instead...
*) Turned off debug code, which fixes the mouse grab and creates smaller executables.
*) Fixes crc32 segfault in Duke (and possible SW, but SW doesnt seem to use this code).
*) Adds mousewheel support.
*) Fixes joystick axes.
*) A few gcc4 specific fixes.
You can find the patches here:
JFBuild: http://www.mephisto.ma.cx/mephisto/patches/jfbuild_src_20051009.patch
JFDuke3D: http://www.mephisto.ma.cx/mephisto/patches/jfduke3d_src_20051009.patch
JFSW: http://www.mephisto.ma.cx/mephisto/patches/jfsw_src_20051009.patch
tuxBurner at
Jfsw linux sound and mouse issue
Great work Mephisto for the Linux Patches for duke and sw.
But i don't know if i am thw only one suffering problems with sw.
I Patched the game src and compiled. It starts up but when sound is activated but when i start a game, the game hangs and my harddrive is going wild until my system freezes. When i turn off the sound and start a new game evrything works. When the level is loaded i can turn on the sound and it doesnt do the harddrive stuff.
Also the mouse isnt grabbed by the sw window.
Is this a known bug or is ist new ??
I use slackware 10.2 with gcc 3.3.6.
Greetings from Germany tuxBurner
TX at
Re: Jfsw linux sound and mouse issue
tuxBurner said
Great work Mephisto for the Linux Patches for duke and sw.
But i don't know if i am thw only one suffering problems with sw.
I Patched the game src and compiled. It starts up but when sound is activated but when i start a game, the game hangs and my harddrive is going wild until my system freezes. When i turn off the sound and start a new game evrything works. When the level is loaded i can turn on the sound and it doesnt do the harddrive stuff.
Also the mouse isnt grabbed by the sw window.
Is this a known bug or is ist new ??
I use slackware 10.2 with gcc 3.3.6.
Greetings from Germany tuxBurner
See this note, posted in this thread no less:
PS: Ambience needs to be OFF or the game will get stuck in a loop and fill all your ram until it gets killed by the kernel.
tuxBurner at
*Sound patch for Linux* (updated for 20051009)
Thanks TX,
the sound stuff works great now. The only thing is that the mouse isn't grabbed by th window. Is there also a simple solution like the sound one.
Thanks for the help tuxBurner.
Mephisto at
that is because debug is accidentally turned on in the current release. apply all 3 patches (both build and game patch, so 2 for each game) and it should be fixed. (or manually set the RELEASE var to 1 in the Makefile)
raw at
mhh
Hi Mephisto!
first thanks for creating a sound patch :)
i patched both JFbuild and JFduke3d and compile. all seems to be okay, but when i launch ./duke3d the duke window appears and stays black.
(last log message: Checking sound inits.)
from the config:
i disabled all sounds for testing...
but also when i delete the config the same happens.
thanks for help, i want native linux sound!
by the way: JFDuke3d runs good with wine in virtual desktio mode
Old Sparky at
*Sound patch for Linux* (updated for 20051009)
Mephisto said
I have updated the sound patch for the 20051009 release. This release also has a few other linux-specific bugs which needed fixing.
It works very well. Thanks. :D
PsychoMessiah at
Hello boys,
I'm not English so I will write the best that I can.
I've the same problem, but with Windows XP. And I see that this patches are only for compiling with Linux. Is it a patch, or a solution fo Windows, without recompiling the game ?
Thanks a lot. When I read that Duke Nukem 3D was liberated in Open Source, I was very happy and I remembered all my yougness with this game, on Windows 95...
TX at
PsychoMessiah said
Hello boys,
I'm not English so I will write the best that I can.
I've the same problem, but with Windows XP. And I see that this patches are only for compiling with Linux. Is it a patch, or a solution fo Windows, without recompiling the game ?
Thanks a lot. When I read that Duke Nukem 3D was liberated in Open Source, I was very happy and I remembered all my yougness with this game, on Windows 95...
Um.. no, you absolutely do not have the same problem. This thread is a result of JFDuke3D not containing any Linux sound code. Whatever your problem is, it is not "no sound on Linux."
PsychoMessiah at
Ok, I will post a new thread :wink:
Fisch.666 at
Hi!
The page http://www.mephisto.ma.cx is down, is there any other place where i can download this sound patches?
Thanks in advance for an reply.
ducon at
Erm
matbouch at
ducon said
Erm
ducon at
OK, thanks. I had to go in the .. directory. I can
matbouch at
ducon said
OK, thanks. I had to go in the .. directory. I can
ducon at
OK, it works. Now the mouse problem.
Mephisto at
the mouse fix is already included in the sound patch. if mouse does not work for you, it is a config file error. check if this is set:
[Controls]
ControllerType = 1
if it's set to something else, it won't grab or use the mouse (0 is kb only i think, 2 is for joystick mode).