Forum

> > CS2D > Servers > Android CS2D server
Forums overviewCS2D overview Servers overviewLog in to reply

English Android CS2D server

8 replies
To the start Previous 1 Next To the start

old Android CS2D server

Marcell
Super User Off Offline

Quote
Hi.

I tried to run cs2d_dedicated from android phone.. . i also known it going to be not work.. but i wanted to try it..

is there any way to run this file?? because android is linux based system.

old Re: Android CS2D server

DC
Admin Off Offline

Quote
Android normally doesn't run native Linux programs but Java programs in a Java VM.

I guess you have to root your phone to run binaries like the dedicated server. I'm not sure if this would work though.

old Re: Android CS2D server

Marcell
Super User Off Offline

Quote
Yeah..

i already rooted my tablet... but i cannot execute it..somewhy...
i also give execute rights and chmod 777 but no work... i also will try develop a server for it...

old Re: Android CS2D server

Geez
GAME BANNED Off Offline

Quote
1. Android CAN run native Linux binaries.
2. Most Android phones/tablets have ARM processors, which can't run x86 (32-bit) programs. Some of them (quite rarely) have MIPS processor. Find out which does your have.
3. To run the binaries, get an application called Terminal Emulator (it's on the Play Store) - you'll get a bash-like terminal (real bash terminal if you are rooted and have Busybox installed)
4. To have many commands normally avaible on Linux PCs install Busybox (it will give you things like bash, dd, mv/cp, unzip, tar and so on)
5. To run cs2d_dedicated you'd need:
• Linux ARM binary (the one released is x86 Linux) - if the server is C(++), it should be quite easy to port it
• libstd++ v5 (AFAIR). It could be hard work, but possible to cross-compile it for ARM using your PC. Then you can make static binary so the server is in one file


Summary: You need DC's help for that. DC would have to compile the dedicated server for ARM Linux (search for ARM Android toolchain or NDK) and libs it requires, then add them to the server's binary.


Question: Do you really need that? Your IP is for 99% random on the phone unless you have DSL connection on your PC, you make an Access Point out of it and give your phone a static IP. It just isn't going to work outside your home.

old Re: Android CS2D server

DC
Admin Off Offline

Quote
Of course it doesn't make sense to run a CS2D server on a smartphone and I wouldn't invest any time to try to make it work.

old Re: Android CS2D server

Yates
Reviewer Off Offline

Quote
user Geez has written
Didn't see the emot at the end?

Is ugly, so your emotion didn't explain shit. Just that your post is ugly.
To the start Previous 1 Next To the start
Log in to reply Servers overviewCS2D overviewForums overview