Forum

> > CS2D > General > CS2D working on Linux
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch CS2D working on Linux

12 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt CS2D working on Linux

tux2
User Off Offline

Zitieren
Yeah, there's now Linux and MAC versions of CS2D too! Now there's no need to use WINE anymore.

I had to do some "tricks" before i got CS2D working on Linux. Here's how I got it working, hopefully this helps someone

First you have to grant execute permission to "CounterStrike2D" file. Open Terminal in your CS2D folder and type:

chmod +x CounterStrike2D

and then you can try to execute CounterStrike2D file. If nothing happens open Terminal in your CS2D folder and type:

./CounterStrike2D

It probably gives you error saying something that can't find "libstdc". If it says like that, open your Package Manager and find and install libstdc++5 then try again. It should work now.

btw. DC you could create a tar.gz archive with execute permissions instead of zip archive(?)

I also had problems with sounds because I use USB headset so i had to create a link file /dev/dsp to /dev/dsp1.

CS2D is using OSS instead of ALSA (right?). DC I would prefer to use ALSA instead of OSS.

But anyway great job DC, thank you!

alt can't run it on arch linux

Gast

Zitieren
i followed the README but cannot run it on my arch linux box. it segfault immediately. any ideas? thanks, jose

kernel is 2.6.27.10

gdb output:
(gdb) run
Starting program: /home/jose/tarballs/pacman/cs2d/CounterStrike2D
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb7a586e0 (LWP 14341)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7a586e0 (LWP 14341)]
0x080be645 in ?? ()
(gdb) bt
#0 0x080be645 in ?? ()
#1 0x00000000 in ?? ()
(gdb)

alt Re: CS2D working on Linux

Gast

Zitieren
Just big thx for the linux version The only problem is oss audio output. I would like to see alsa and pulseaudio out Fullscreen option wll be also nice.

Ow and configuration files on Linux can be saved in ~/.cs2d . If it will be saved in this folder we can make .deb packages for Ubuntu.

alt Re: CS2D working on Linux

Gast

Zitieren
Segmentation Fault when I use padsp from pulseaudio 0.9.13

gdb

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
LD_PRELOAD="/usr/lib/libpulsedsp.so" gdb ./CounterStrike2D 
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(no debugging symbols found)
(gdb) run
Starting program: /home/skoruppa/Pulpit/cs2d/CounterStrike2D 
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb6a6e730 (LWP 27955)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6a6e730 (LWP 27955)]
0x00000000 in ?? ()

alt Fulscreen

Gast

Zitieren
How to run in full screen

alt Re: CS2D working on Linux

DC
Admin Off Offline

Zitieren
sorry I don't know much about linux. I've no idea why you're getting a seg. fault there.

@Star@Play: The current version for linux (and mac os) does only support windowed mode because there were some problems with fullscreen. I'm trying to fix this with future releases.

alt Re: CS2D working on Linux

jeepohahyo
User Off Offline

Zitieren
Probably DC can't do much about this because sound and graphics are managed by the closed BlitzMax Engine he uses

That means until BlitzMax switches to another sound subsystem we have to work with oss...

alt THX

Gast

Zitieren
Thx for a so fast replay i'll start enjoing this release and il'' wait for updates...

Ill' rate this software on linux game tome asap
see ya

alt Re: CS2D working on Linux

Saadi
User Off Offline

Zitieren
@ Dicker:
You always said you cant play cs2d cuz its just for winni.
Now you are able to play it.
So do you play it now?

Dont come with a bad excuse like "I have no time"

alt Video error

shatteredmindofbob
User Off Offline

Zitieren
When I try to run the Linux version on Ubuntu I get a blackbox that goes away quickly and this in the terminal:

CounterStrike2D: ../common/dri_bufmgr_fake.c:576: dri_bufmgr_fake_contended_lock_take: Assertion `((&bufmgr_fake->on_hardware)->next == (&bufmgr_fake->on_hardware))' failed.
Aborted

As far as I can figure, it's saying my video chip (Intel 945m) isn't good enough though it does run in WINE, so clearly that's not the case. Any ideas how to work around this?
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht