English Ubuntu and Cs2d

5 replies
Goto Page
To the start Previous 1 Next To the start
11.04.14 02:56:00 pm
Up
RoDioN1322
BANNED
Offline Off
I have two problems:
- Dont work sound in game
- Dont work fullscreen

OS: Ubuntu 13.10
11.04.14 03:02:43 pm
Up
lev258
User
Offline Off
Do you have sound on Ubuntu? What does it mean, you can't use full screen? Is there some kind of error message?
11.04.14 03:10:58 pm
Up
RoDioN1322
BANNED
Offline Off
user lev258 has written:
Do you have sound on Ubuntu? What does it mean, you can't use full screen? Is there some kind of error message?

Sounds dont work only in cs2d
can't use fullscreen
Error dont have
12.04.14 10:24:12 am
Up
Happy Camper
User
Offline Off
user RoDioN1322 has written:
- Dont work sound in game


Have you tried padsp?

http://www.unrealsoftware.de/forum_posts.php?post=353427&start=0#post353665
happy camper n Informal a happy, satisifed person (esp in the phrase not a happy camper)
21.04.14 07:50:00 am
Up
Rafaellemos
User
Offline Off
If you're like me with ubuntu 13.10 64bits. Try these commands on terminal:

sudo apt-get install -y ia32-libs;
sudo cp /usr/bin/padsp /usr/bin/padsp32;


Use vim or any other editor to edit the file padsp32:

Optional:
sudo vim /usr/bin/padsp32
If you use vim, press i to edit.

Find two lines that set the LD_PRELOAD environment variable, eg:

Code:
1
2
3
4
5
if [ x"$LD_PRELOAD" = x ] ; then
   LD_PRELOAD="/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsedsp.so"
else
   LD_PRELOAD="$LD_PRELOAD /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsedsp.so"
fi


Replace this "x86_64" by "i386", eg:

Code:
1
2
3
4
5
if [ x"$LD_PRELOAD" = x ] ; then
   LD_PRELOAD="/usr/lib/i386-linux-gnu/pulseaudio/libpulsedsp.so"
else
   LD_PRELOAD="$LD_PRELOAD /usr/lib/i386-linux-gnu/pulseaudio/libpulsedsp.so"
fi


Save. (If you use vim, press ESC, type :x)

Now, go into the game folder with cd command via terminal and type:
padsp32 ./CounterStrike2D

See an example of how to run full screen:

Code:
1
2
3
4
5
6
rafael@quasar ~/Área de Trabalho/cs2d_0124_win $ padsp32 ./CounterStrike2D -full
Graphics Mode Error:
640x480 at 32 bit does not work!

We need to add another parameter:
rafael@quasar ~/Área de Trabalho/cs2d_0124_win $ padsp32 ./CounterStrike2D -full -24bit


Any questions please contact me. Have fun!
21.04.14 10:02:43 am
Up
Hajt
User
Offline Off
fullscreen
Code:
1
./CounterStrike2D -full -24bit
To the start Previous 1 Next To the start