Package Details: counter-strike-2d 0.1.2.7-1

Git Clone URL: https://aur.archlinux.org/counter-strike-2d.git (read-only)
Package Base: counter-strike-2d
Description: More than just a freeware clone of the well known game Counter-Strike
Upstream URL: http://www.cs2d.com/
Licenses: custom
Submitter: jlusticky
Maintainer: jorge_barroso
Last Packager: jorge_barroso
Votes: 50
Popularity: 0.037798
First Submitted: 2009-03-07 10:17
Last Updated: 2015-07-21 16:13

Dependencies (1)

Required by (0)

Sources (5)

Latest Comments

rafaelff commented on 2015-07-12 01:58

Please notice it was flagged as out-of-date in July 02. Wait a bit and then request orphan. No need for submitting new package...

rafaelff commented on 2015-07-12 01:56

OMG, don't do this erayadin. Just flag as out-of-date and wait for some time.
https://wiki.archlinux.org/index.php/Arch_User_Repository#Foo_in_AUR_is_outdated.3B_what_do_I_do.3F

erayaydin commented on 2015-07-12 01:50

For now, I submit counter-strike-2d-dev package because maintainer not active. When he come back or orphan request accept, counter-strike-2d-dev will deleted.

erayaydin commented on 2015-07-12 00:53

New Version: 0.1.2.7 not updated from 1 month

jorge_barroso commented on 2015-04-03 23:53

You're right, I don't know why or what's happened but everything works again.
When I tried, neither the official web page loaded. Updating...! Thanks for the report carstene1ns

carstene1ns commented on 2015-03-26 15:15

@jorge_barroso: Out of curiosity I tried 1.2.5 with my old PKGBUILD from here (just the sha256sums changed). It still works. Could you elaborate a bit, about what is broken?

erkexzcx: You should not run games as root. Also, it should not be necessary to change the file ownership, as all needed files are group writable (you need to add yourself to the 'games' group - As I wrote in the instructions displayed upon installation). It would also be possible to add more files, if needed.
If you need a custom launcher, you can always change the symlink creation (ln -s…) in the PKGBUILD to create it, because it is considered bad practice to install things to global directories without letting pacman know.

so long,
carstene1ns

jorge_barroso commented on 2015-03-25 23:22

erkexzcx thaks for your comment, I'll take it on account for future updates but, nowadays upstream is broken and I am trying to find one which works and which is also up-to-date to version 1.2.5 but I haven't found anything, if this situation doesn't change, I'll finally set a removal proposal.
It's a pitty, I've got it installed and it's a great game.
Maybe I could take the binaries and make a repo with 1.2.4 version, it would be something...

erkexzcx commented on 2014-10-27 19:06

few things to let you know guys:

If you change anything in settings but they are like restoring back. solution:
# chown -R <regular_user>:chown /opt/cs2d/
and now your regular user will be able to edit folder /opt/cs2d without root permissions. necesarry to edit settings.

If you still cannot get sound working. solution:
open terminal as root and choose one of these: alsa, pulse, oss (thanks for carstene1ns)
# export ALSOFT_DRIVERS=<alsa/pulse/oss>

Still no sound? didn't you forget to install: openal, alsa-oss/lib32-alsa-oss?

weird error about saying input/output while launching cs2d from terminal? solution: http://blogs.operationaldynamics.com/paul/opensource/wine-i915-or-i965-intel_do_flush_locked
or in words:
$ LIBGL_ALWAYS_SOFTWARE=1 ./CounterStrike2D -full -24bit
P.S. you might want to uninstall cs2d aur package, download files from official website, extract dem all and move to /opt/cs2d/, make CounterStrike2D file executable and do what I have told you in the first lines of this long comment, then create a file /usr/bin/cs2d, make it executable, paste the following content between these lines
----------------------------------------------------------
#!/bin/bash
cd /opt/cs2d/
LIBGL_ALWAYS_SOFTWARE=1 ./CounterStrike2D -full -24bit
----------------------------------------------------------
save it, run it with command "cs2d" or if you'd like - create a DE .desktop launcher :)

Now I have got it successfully working ;) I am thinking of putting this info into a wiki page about cs2d if it exists or even create one. :P

erkexzcx commented on 2014-10-27 19:04

few things to let you know guys:

If you change anything in settings but they are like restoring back. solution:
# chown -R <regular_user>:chown /opt/cs2d/
and now your regular user will be able to edit folder /opt/cs2d without root permissions. necesarry to edit settings.

If you still cannot get sound working. solution:
open terminal as root and choose one of these: alsa, pulse, oss (thanks for carstene1ns)
# export ALSOFT_DRIVERS=<alsa/pulse/oss>

Still no sound? didn't you forget to install: openal, alsa-oss/lib32-alsa-oss?

weird error about saying input/output while launching cs2d from terminal? solution: http://blogs.operationaldynamics.com/paul/opensource/wine-i915-or-i965-intel_do_flush_locked
or in words:
$ LIBGL_ALWAYS_SOFTWARE=1 ./CounterStrike2D -full -24bit
P.S. you might want to uninstall cs2d aur package, download files from official website, extract dem all and move to /opt/cs2d/, do what I have told you in the first lines of this long comment, then create a file /usr/bin/cs2d, make it executable, paste the following content between these lines
----------------------------------------------------------
#!/bin/bash
cd /opt/cs2d/
LIBGL_ALWAYS_SOFTWARE=1 ./CounterStrike2D -full -24bit
----------------------------------------------------------
save it, run it with command "cs2d" or if you'd like - create a DE .desktop launcher :)

Now I have got it successfully working ;) I am thinking of putting this info into a wiki page about cs2d if it exists or even create one. :P

erkexzcx commented on 2014-10-27 19:03

few things to let you know guys:

If you change anything in settings but they are like restoring back. solution:
# chown -R <regular_user>:chown /opt/cs2d/
and now your regular user will be able to edit folder /opt/cs2d without root permissions. necesarry to edit settings.

If you still cannot get sound working. solution:
open terminal as root and choose one of these: alsa, pulse, oss (thanks for carstene1ns)
# export ALSOFT_DRIVERS=<alsa/pulse/oss>

Still no sound? didn't you forget to install: openal, alsa-oss/lib32-alsa-oss?

weird error about saying input/output? solution: http://blogs.operationaldynamics.com/paul/opensource/wine-i915-or-i965-intel_do_flush_locked
or in words:
$ LIBGL_ALWAYS_SOFTWARE=1 ./CounterStrike2D -full -24bit
P.S. you might want to uninstall cs2d aur package, download files from official website, extract dem all and move to /opt/cs2d/, do what I have told you in the first lines of this long comment, then create a file /usr/bin/cs2d, make it executable, paste the following content between these lines
----------------------------------------------------------
#!/bin/bash
cd /opt/cs2d/
LIBGL_ALWAYS_SOFTWARE=1 ./CounterStrike2D -full -24bit
----------------------------------------------------------
save it, run it with command "cs2d" or if you'd like - create a DE .desktop launcher :)

Now I have got it successfully working ;) I am thinking of putting this info into a wiki page about cs2d if it exists or even create one. :P

erkexzcx commented on 2014-10-27 18:53

few things to let you know guys:

If you change anything in settings but they are like restoring back. solution:
# chown -R <regular_user>:chown /opt/cs2d/
and now your regular user will be able to edit folder /opt/cs2d without root permissions. necesarry to edit settings.

If you still cannot get sound working. solution:
open terminal as root and choose one of these: alsa, pulse, oss (thanks for carstene1ns)
# export ALSOFT_DRIVERS=<alsa/pulse/oss>

Now I have got it successfully working ;)

erkexzcx commented on 2014-10-27 18:52

few things to let you know guys:

If you change anything in settings but they are like restoring back. solution:
# chown -R <regular_user>:chown /opt/cs2d/
and now your regular user will be able to edit folder /opt/cs2d without root permissions. necesarry to edit settings.

If you still cannot get sound working. solution:
open terminal as root and choose one of these: alsa, pulse, oss (thanks for carstene1ns)
# ALSOFT_DRIVERS=<alsa/pulse/oss>

Now I have got it successfully working ;)

osense commented on 2014-05-17 12:57

Adopted and updated... hopefully I didn't screw anything up :)

carstene1ns commented on 2014-02-12 16:37

I have orphaned this now, as I do not really play it.

carstene1ns commented on 2014-01-13 08:03

Adopted and updated.
WARNING: I changed the install location from /usr/share/cs2d to /opt/cs2d. If you have modified any .cfg files, they will be deleted. Make backups, if needed.

Solution for OpenAL audio problems:
Install (lib32-)openal, export ALSOFT_DRIVERS=alsa in your shell ← alsa is the name of the output driver (if you use pulseaudio/OSS use pulse/oss respectively).
Then launch cs2d and select "OpenAL Soft" under Options/Sound and restart game.
If it works, put the export line in your .bashrc so it is set on login.

carstene1ns commented on 2014-01-13 08:03

Adopted and updated.
WARNING: I changed the install location from /usr/share/cs2d to /opt/cs2d. If you have modified any .cfg files, they will be deleted. Make backups, if needed.

Solution for OpenAL audio problems:
Install (lib32-)openal, export ALSOFT_DRIVERS=alsa in your shell ← alsa is the name of the output driver (if you use pulseaudio/OSS use pulse/oss respectively). Then launch cs2d and select "OpenAL Soft" under Options/Sound and restart game.
If it works, put the export line in your .bashrc so it is set on login.

rafaelff commented on 2013-04-26 13:54

@zypo: is the case of adding alsa-oss/lib32-alsa-oss dependencies, or it might be prejudicial to some users?

zypo commented on 2013-04-26 13:52

Ok, found it. CS2D apparently wants to use OSS for sounds so if you're using ALSA as system sound driver you need to install OSS compatibility library (alsa-oss/lib32-alsa-oss).

zypo commented on 2013-04-26 08:55

@josephgbr: Thanks, I installed 32-bit nouveau-dri and now graphics work. Now I just need to figure out how I got sound working on Debian last time.. lib32-openal is installed but no sound yet.

rafaelff commented on 2013-04-25 23:37

@zypo: Do you have installed nouveau-dri (if x86_64, lib32-nouveau-dri)

zypo commented on 2013-04-25 18:41

I'm getting this error and CS2D window stays black:

###################################
$ ./CounterStrike2D
Xlib: extension "NV-GLX" missing on display ":0".
X Error of failed request: GLXUnsupportedPrivateRequest
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 16 (X_GLXVendorPrivate)
Serial number of failed request: 36
Current serial number in output stream: 41
^C
##################################

I have GTX 650 Ti and I'm using the open source driver (Nouveau).

rafaelff commented on 2013-03-24 18:17

Try installing lib32-glu and let me know.

adityarajbhatt commented on 2013-03-24 04:17

I'm getting the same error as niqingliang2003 -

cs2d: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory

#I've installed everything that could be needed (all mesa packages, gcc, lib32 nvidia and lib32 mesa) but its still not running.

I did this : whereis libGLU.so.1

#output -

libGLU.so: /lib/libGLU.so /lib/libGLU.so.1 /usr/lib/libGLU.so /usr/lib/libGLU.so.1 /lib64/libGLU.so /lib64/libGLU.so.1 /usr/lib64/libGLU.so /usr/lib64/libGLU.so.1

#Since it is in the /lib why is cs2d not able to read it?

niqingliang2003 commented on 2012-12-08 16:08

after installed lib32-gcc-libs, can start, but when create game:
“cs2d” terminated by signal SIGABRT (Abort)

niqingliang2003 commented on 2012-12-08 16:04

after installed lib32-gcc-libs: ok

niqingliang2003 commented on 2012-12-08 16:03

after install lib32-glu:
cs2d: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

niqingliang2003 commented on 2012-12-08 15:56

cs2d: error while loading shared libraries: libGLU.so.1:

rafaelff commented on 2012-09-16 03:34

Updated to 0.1.2.1-1

Hint: A few more languages are available.

benoliver999 commented on 2012-05-09 12:52

Oh - that did it! Nice work.

rafaelff commented on 2012-05-09 11:46

@ benoliver999: You're right. I missed the fact that 'cid' is not static. Now fixed in 0.1.2.0-4

rafaelff commented on 2012-05-08 14:59

Can you see what is the content of the .zip files? If they are not corrupted, then you should be able to see the files from within.
Also, can you manually download from here http://www.unrealsoftware.de/get.php?get=cs2d_0120_linux.zip&p=1&cid=931078781 ?

benoliver999 commented on 2012-05-08 14:34

Still no luck I'm afraid. I removed the .zip files from /tmp, which didn't work, so I tried it on a 'clean' machine, only to get the same validity check error.

rafaelff commented on 2012-05-08 14:21

Try remove the zip files and do it again

benoliver999 commented on 2012-05-08 13:27

Still broken for me - the md5 check fails on both .zip files, it seems.

rafaelff commented on 2012-05-08 12:04

@benoliver999: thanks for reporting. Try it now.

benoliver999 commented on 2012-05-08 11:48

Thanks for fixing the 404. I get a validity check error now though!

rafaelff commented on 2012-05-08 10:53

adopted and fixed.

benoliver999 commented on 2012-03-21 10:35

The link keeps returning a 404.

AleXoundOS commented on 2012-03-12 10:10

the link is broken

Anonymous comment on 2011-09-06 19:21

hi. it seems i can't configure this game. it's probably due to the fact, that it is installed to /usr/share/cs2d which only has root privileges and the game tries to save the config there?

jlusticky commented on 2011-03-29 19:32

It works here without pulseaudio, try the newer version please.

Anonymous comment on 2011-03-27 12:31

seems it depends on pulseaudio.
with only alsa i get:
socket(): Address family not supported by protocol
AL lib: pulseaudio.c:612: Context did not connect: Connection refused
Error: Failed to load image
gfx/player/t1.bmp
Please re-install CS2D
Inconsistency detected by ld.so: dl-close.c: 736: _dl_close: Assertion `map->l_init_called' failed!

jlusticky commented on 2010-12-30 20:47

Sorry, my mistake. It is working again. Thanks for notifying me.

IwfY commented on 2010-12-27 19:31

The download link is dead.

jlusticky commented on 2010-12-27 19:11

Added to dependencies. Thanks.

dzaragoza commented on 2010-12-26 21:53

Missing lib32-libxxf86vm as dependency for x86_64.

jlusticky commented on 2010-09-21 07:53

Fixed, thank you!

Anonymous comment on 2010-09-18 15:52

0.1.1.8 is on and also remove install() in PKGBUILD file

flow commented on 2010-09-13 22:02

http://www.cs2d.com/download.php

1.1.8

Anonymous comment on 2010-08-19 11:08

the empty install variable causes problems... had to remove the line

"install=()"

Anonymous comment on 2010-04-01 10:36

cannot start the game