Forum

> > CS2D > General > 1007 linux compability
Forums overviewCS2D overviewGeneral overviewLog in to reply

English 1007 linux compability

4 replies
To the start Previous 1 Next To the start

old 1007 linux compability

cool voin
User Off Offline

Quote
Dear Unreal software,

I play cs2d on xubuntu.But now it doesn't want to boot.So please help me i love your game. 32bit 14.04.Version 1006 worked perfectly on steam or with your client, but now 1007 doesnt boot.Please fix this because i love your game.

old Re: 1007 linux compability

Nova
User Off Offline

Quote
What does "doesn't boot" mean? What happens if you try to start the game? Do you get an error message?

old Workaround

uaiek
User Off Offline

Quote
Well, I'd been struggling the same problem until now that I've found a workaround that actually works.

Detailed version:
Spoiler >


Summarized version:
All you need to do to get CS2D playable is the following steps:
1. Locate the game directory from Steam.
2. Install the necessary 32-bit libraries whose information obtained from the output of
ldd /path/to/game/CS2D

3. Install bumblebee if you're using problematic integrated Intel cards or not using proprietary NVIDIA driver and your card supports Optimus.
4. In any directory (I prefer /usr/bin because it's in $PATH), write a custom script for running CS2D like this:
1
2
3
#!/bin/bash
cs2d_path=/path/to/cs2d/directory
LD_PRELOAD=$cs2d_path/libsteam_api.so optirun $cs2d_path/CS2D
Remove optirun if you're using proprietary driver for the X server. Also, don't forget to give the script executable permission.
chmod +x yourscript


From this step, you should be able to play CS2D directly by running the script. But if you want to run it from Steam (in which CS2D in linux OFFICIALLY does NOT support), you need to modify launching options in the Steam game library, but I haven't got that to work even I put /usr/bin/cs2d into the launching command, the game would just crash.

I wish CS2D had better support for Linux...
edited 1×, last 11.05.18 05:46:59 pm

old Re: 1007 linux compability

cool voin
User Off Offline

Quote
The game just doesnt start i have all 32 bit libraries but version 1006 worked i dont know whats the problem and there are no error messages
nothing happens when i try to start the game
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview