You are not logged in.

#1 2022-08-08 00:46:03

Clud
Member
Registered: 2022-08-08
Posts: 2

I have installed the dependencies of cs2d but I can not run it

This is the link to download the game:
https://www.unrealsoftware.de/get.php?g … _linux.zip

And this is the AUR link:
https://aur.archlinux.org/packages/counter-strike-2d

I have multilib repository activated and I installed wine.

my operation steps:
1. yay -S lib32-libtxc_dxtn
2. I extracted the game zip to a directory.
3. I enter the game directory and open the terminal, execute the command: sudo cp libsteam_api.so /usr/lib
4. And then, I restart the computer.
5. chmod +x ./CS2D
6. ./CS2D and I met a error message:
   [1]    1083 segmentation fault (core dumped)  ./CS2D
   
It's all right when I use Ubuntu, maybe I just can run its Windows version with wine.

Last edited by Clud (2022-08-08 03:41:22)

Offline

#2 2022-08-08 00:51:21

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,442
Website

Re: I have installed the dependencies of cs2d but I can not run it

Clud wrote:

my operation steps:
1. yay -S lib32-libtxc_dxtn
2. I extracted the game zip to a directory.
3. I enter the game directory and open the terminal, execute the command: sudo cp libsteam_api.so /usr/lib
4. And then, I restart the computer.
5. chmod +x ./CS2D
6. ./CS2D and I met a error message:
   [1]    1083 segmentation fault (core dumped)  ./CS2D

Why did you do any of that?  You posted a link to the AUR package, why are you not using that?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2022-08-08 00:52:28

Clud
Member
Registered: 2022-08-08
Posts: 2

Re: I have installed the dependencies of cs2d but I can not run it

Trilby wrote:
Clud wrote:

my operation steps:
1. yay -S lib32-libtxc_dxtn
2. I extracted the game zip to a directory.
3. I enter the game directory and open the terminal, execute the command: sudo cp libsteam_api.so /usr/lib
4. And then, I restart the computer.
5. chmod +x ./CS2D
6. ./CS2D and I met a error message:
   [1]    1083 segmentation fault (core dumped)  ./CS2D

Why did you do any of that?  You posted a link to the AUR package, why are you not using that?

It's not the latest version

Last edited by Clud (2022-08-08 00:53:36)

Offline

#4 2022-08-10 12:28:25

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: I have installed the dependencies of cs2d but I can not run it

3. I enter the game directory and open the terminal, execute the command: sudo cp libsteam_api.so /usr/lib

Using hacks like that WILL break your system in the near future .

The aur  package has no maintainer, was flagged out-of-date over a year ago, its dependencies need an overhaul.

Looks like a new maintainer is needed for it, maybe you are willing to take over the package, Clud ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2022-08-18 04:03:43

Twooey
Member
Registered: 2022-08-18
Posts: 2

Re: I have installed the dependencies of cs2d but I can not run it

Lone_Wolf wrote:

3. I enter the game directory and open the terminal, execute the command: sudo cp libsteam_api.so /usr/lib

Using hacks like that WILL break your system in the near future .

The aur  package has no maintainer, was flagged out-of-date over a year ago, its dependencies need an overhaul.

Looks like a new maintainer is needed for it, maybe you are willing to take over the package, Clud ?


I started working on updating this package. I'm not sure how to handle libsteam_api.so though. Any recommendations?

Thanks!

Offline

#6 2022-08-18 07:30:58

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: I have installed the dependencies of cs2d but I can not run it

The problem with the manual copying of something to /usr/lib is that the package manager (pacman for archlinux) isn't aware of it and is unable to track it.

In the PKGBUILD move / copy libsteam_api.so to $pkgdir/usr/lib .
Upon installing pacman will put it in /usr/lib and keep track of it.

Last edited by Lone_Wolf (2022-08-18 07:31:20)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#7 2022-08-18 18:30:09

Twooey
Member
Registered: 2022-08-18
Posts: 2

Re: I have installed the dependencies of cs2d but I can not run it

Thanks!

Offline

Board footer

Powered by FluxBB