[SOLVED] Can't get sound in Enemy Territory using LibSDL1.2

[SOLVED] Can't get sound in Enemy Territory using LibSDL1.2

Postby the_loko » Jun 20th, '12, 19:34

Hi, I'm new with Mageia, and I want to play this game. In order to get the sound working, you have to install a script (This is the web)
Script:
Code: Select all
# Please fill in following variables or let this script
# guess correct values.

# Game installation directory
#
# You can set this in GAME_PATH environment variable
# GAME_PATH=""

# libSDL.so
#
# You can set this in LIBSDL environment variable
# LIBSDL=""

# Temporary directory
TMP_DIR="/tmp"

# Use 'find' if can't locate the game or libSDL otherwise
USE_FIND="yes"

# SDL audio driver
SDL_AUDIODRIVER="pulse"

# Just extract et-sdl-sound.so
ONLY_EXTRACT="no"

# Do not touch anything below this line!
SCRIPT_NAME='et-sdl-sound'
GAME_BIN='et.x86'
GAME_DIR='enemy-territory'
[...] Its so long.

I have tried with alsa and pulse as SDL_Audodriver
Initially, the game gave me an error saying "LibSDL1.2_0.so Not Found" But I installed It so now looks ok.
But I have not sound yet.
This is what the game report about libsdl on the konsole at start:
Code: Select all
[et-sdl-sound] info   : et.x86 is installed to /usr/local/games/enemy-territory
[et-sdl-sound] info   : 32-bit libSDL.so is installed to /usr/lib/libSDL-1.2.so.0.11.3
[et-sdl-sound] info   : library is written to /tmp/et-sdl-sound.so
[et-sdl-sound] info   : launching the game...
Read /usr/local/games/enemy-territory/et.x86 (1538888 bytes)
0x817d6c0: e9 3b 5e 62 ef
0x817dce0: e9 5b 58 62 ef
0x817dd70: e9 0b 58 62 ef
0x817dd90: e9 2b 58 62 ef
0x817dd80: e9 7b 58 62 ef
Found ET 2.60 (CRC32 = 0x3b18a889)
Using SDL backend.
et-sdl-sound-r29 (Apr 13 2008 13:59:02, 3.4.6 (Gentoo 3.4.6-r2 p1.5, ssp-3.4.6-1.0, pie-8.7.10)) loaded.
ET 2.60 linux-i386 Mar 10 2005


Under Ubuntu, Debian and Arch, install the script and libsdl1.2 was enough.

Thanks.
Last edited by the_loko on Jun 21st, '12, 10:50, edited 1 time in total.
User avatar
the_loko
 
Posts: 17
Joined: Jun 20th, '12, 11:36
Location: Sevilla, Spain

Re: Can't get sound in Enemy Territory using LibSDL1.2

Postby colin » Jun 21st, '12, 10:44

Is your install a 32 or 64 bit one?
colin
 
Posts: 53
Joined: Jul 25th, '11, 11:15

Re: Can't get sound in Enemy Territory using LibSDL1.2

Postby the_loko » Jun 21st, '12, 10:50

colin wrote:Is your install a 32 or 64 bit one?

64 Bit.
But now I have the solution:
In the control center > Sound configuration: I have to enable Pulse audio, now the sound works.
I'll mark the post as solved, maybe it can be helpful for anyone. :D
User avatar
the_loko
 
Posts: 17
Joined: Jun 20th, '12, 11:36
Location: Sevilla, Spain

Re: [Solved] Can't get sound in Enemy Territory using LibSDL

Postby colin » Jun 21st, '12, 11:51

Awesome! Thanks for updating things!

As a general word of warning running 32-bit apps on a 64-bit systems often has a few extra "gotchas" to keep in mind. e.g. a 32 bit alsa application will need the 32-bit libasound library. And if alsa is configured to use plugins (as we do when PulseAudio is running) then you also need the 32-bit versions of the libasound plugins and 32-bit versions of any libraries they in-turn use (e.g. libpulse). Things will almost always work in the end, but it can sometimes be hard to spot the missing link!

Anyway glad you got it working :)
colin
 
Posts: 53
Joined: Jul 25th, '11, 11:15


Return to Sound

Who is online

Users browsing this forum: No registered users and 1 guest

cron