Forum

> > CS2D > General > Ubuntu and Cs2d
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Ubuntu and Cs2d

5 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Ubuntu and Cs2d

RoDioN1322
BANNED Off Offline

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

OS: Ubuntu 13.10

alt Re: Ubuntu and Cs2d

lev258
User Off Offline

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

alt Re: Ubuntu and Cs2d

RoDioN1322
BANNED Off Offline

Zitieren
user lev258 hat geschrieben
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

alt Linux Mint 16 (ubuntu 13.10)

rafz
User Off Offline

Zitieren
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!
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht