![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Gaming & Leisure A section for users who strive to play the latest games on linux. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Just Give Me the Beans!
![]() Join Date: Feb 2007
Beans: 53
|
[HOWTO] SDL sound (read: ALSA) support for Enemy Territory
UP-TO-DATE INFORMATION IS AVAILABLE HERE
about et-sdl-sound provides SDL-based replacement for deprecated OSS-based sound systems of Enemy Territory, Return to Castle Wolfenstein and Quake III Arena. To put it short, et-sdl-sound is a working ALSA support hack for ET, RTCW and Q3 (and all mods for those binaries). Since modifying binary directly makes game unplayable, this is accomplished via replacing standard sound system functions in run-time by forcing dynamic linker to load an additional dynamic library to the process (so-called LD_PRELOAD trick). This library currently supports ET 2.60b, ET 2.60, ET 2.56, ET 2.55, RTCW SP 1.41, RTCW MP 1.41 Quake3 1.31, Quake3 1.32, Quake3 1.32b and Quake3 1.32c. installation and usage Make sure you have core SDL library installed Code:
sudo apt-get install libsdl1.2debian-alsa Code:
wget -q -O - http://nullkey.ath.cx/~stuff/et-sdl-sound/et-sdl-sound.gz | gzip -d > et-sdl-sound && chmod a+x et-sdl-sound There are also specific launcher scripts for RTCW SP (wolfsp-sdl-sound.gz), RTCW MP (wolf-sdl-sound.gz) and Quake 3 (quake3-sdl-sound.gz). download Please use this download link as it contains the most recent version. PS. I posted this first to gentoo forums but then tought that ubuntu users could also find this useful... Last edited by nullkey; August 22nd, 2007 at 11:53 PM.. |
|
|
|
|
|
#2 |
|
Gee! These Aren't Roasted!
![]() |
Re: [HOWTO] SDL sound (read: ALSA) support for Enemy Territory
Neither one worked for me. The static version gave a segmentation fault, and the first one said I don't have libSDL_sound or something or another.
__________________
There was a sig here, now its gone. |
|
|
|
|
|
#3 | |
|
Just Give Me the Beans!
![]() Join Date: Feb 2007
Beans: 53
|
Re: [HOWTO] SDL sound (read: ALSA) support for Enemy Territory
Quote:
Code:
strings /path/to/et.x86 | grep "ET 2" uname -a gcc -v |
|
|
|
|
|
|
#4 |
|
Just Give Me the Beans!
![]() Join Date: Feb 2007
Beans: 53
|
Re: [HOWTO] SDL sound (read: ALSA) support for Enemy Territory
Oops, it seems that I don't need to link it with SDL_sound. I attached the updated version which does not need SDL_sound. Download link is also updated. I hope this solves some problems
|
|
|
|
|
|
#5 |
|
5 Cups of Ubuntu
![]() Join Date: Apr 2005
Beans: 39
|
Re: [HOWTO] SDL sound (read: ALSA) support for Enemy Territory
worked for me without any problems.
|
|
|
|
|
|
#6 |
|
Just Give Me the Beans!
![]() Join Date: Apr 2005
Beans: 81
|
Re: [HOWTO] SDL sound (read: ALSA) support for Enemy Territory
Hi,
I must be missing something. If I run: LD_PRELOAD=/tmp/et-sdl-sound/et-sdl-sound.so /home/jakob/enemy-territory/et.x86 I get this response: "You are not running Enemy Territory 2.60b!" I don't know exactly what version I'm running, but it should be the newest. Any suggestions? Jakob |
|
|
|
|
|
#7 |
|
Just Give Me the Beans!
![]() Join Date: Feb 2007
Beans: 53
|
Re: [HOWTO] SDL sound (read: ALSA) support for Enemy Territory
Please update your et.x86. You can get the update from 3D Gamers for example. 2.60b just fixes some buffer overflows and actual protocol is not modified, so servers don't make difference between 2.60 and 2.60b (in fact there are even 2.60c and 2.60d for OS X
If you face some PunkBuster kicks after upgrade, you should update PunkBuster by copying pbsec.htm to /path/to/et/pb/ and lc001298.htm & la001377.htm to /path/to/et/pb/htm |
|
|
|
|
|
#8 |
|
Spilled the Beans
![]() Join Date: Feb 2007
Beans: 13
|
Re: [HOWTO] SDL sound (read: ALSA) support for Enemy Territory
Hi, i have don all you say but i get this error.
Code:
$> LD_PRELOAD=/home/octavio/Desktop/et-sdl-sound/et-sdl-sound.so /usr/local/games/enemy-territory/et.x86 ... ---------------------- 271 files in pk3 files ----- CL_Shutdown ----- ----------------------- ----- CL_Shutdown ----- ----------------------- Sys_Error: Couldn't load default.cfg - I am missing essential files - verify your installation? Do you know what it may be? And how to get this work of course? Thanks. |
|
|
|
|
|
#9 | |
|
Just Give Me the Beans!
![]() Join Date: Feb 2007
Beans: 53
|
Re: [HOWTO] SDL sound (read: ALSA) support for Enemy Territory
Quote:
Code:
#!/bin/bash # path to enemy territory installation directory cd /path/to/enemy-territory/ # path to et-sdl-sound(-static).so export LD_PRELOAD=/path/to/et-sdl-sound(-static).so ./et.x86 $* unset LD_PRELOAD Code:
Sys_Error: Couldn't load default.cfg - I am missing essential files - verify your installation? |
|
|
|
|
|
|
#10 |
|
Spilled the Beans
![]() Join Date: Feb 2007
Beans: 13
|
Re: [HOWTO] SDL sound (read: ALSA) support for Enemy Territory
Now it loads at first. But i still have no sound.
Sound works fine in my system. But i'm getting mad with this game. Thank you very much. I hope anybody find a solution someday. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|