Forum

> > CS2D > General > Ubuntu and Cs2d
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Ubuntu and Cs2d

5 replies
To the start Previous 1 Next To the start

old Ubuntu and Cs2d

RoDioN1322
BANNED Off Offline

Quote
I have two problems:
- Dont work sound in game
- Dont work fullscreen

OS: Ubuntu 13.10

old Re: Ubuntu and Cs2d

lev258
User Off Offline

Quote
Do you have sound on Ubuntu? What does it mean, you can't use full screen? Is there some kind of error message?

old Re: Ubuntu and Cs2d

RoDioN1322
BANNED Off Offline

Quote
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

old Linux Mint 16 (ubuntu 13.10)

rafz
User Off Offline

Quote
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:

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:

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:

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!
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview