Forum

> > CS2D > Servers > raspberry dedicated host
Forums overviewCS2D overview Servers overviewLog in to reply

English raspberry dedicated host

6 replies
To the start Previous 1 Next To the start

old raspberry dedicated host

cjinh
User Off Offline

Quote
hi !
I just wanna lunch a dedicated server on my raspberry pi 3 but I can't !
I've got a big bad error with the dedicated_cs file
1
uname -a Linux jinh 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux
:~/cs2d_1003_linux $./cs2d_dedicated 
-bash: ./cs2d_dedicated: cannot execute binary file: Erreur de format pour exec()

what can i do without the code ? if i want to compile it ?
why the code isn't free ?
dev team if you're still alive we need you !

old Re: raspberry dedicated host

DC
Admin Off Offline

Quote
Yes, and the reason is simple: The game has been developed with BlitzMax which does not support ARM. CS2D uses several libraries which all would have to be compiled for ARM somehow to make it work. Personally for me it's not worth the effort + I don't even have a platform to test this.

BlitzMax has been made open source though (https://github.com/blitz-research/blitzmax) so if anyone wants to try to make it run on ARM feel free to do so. You wouldn't need the CS2D source to work on that. "Just" try to compile a BlitzMax app on ARM which uses these imports (this is for the CS2D dedicated, the client needs a lot more stuff for audio and graphics):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
Framework BRL.Blitz
Import BRL.Bank
Import BRL.LinkedList
Import BRL.Math
Import BRL.FileSystem
Import BRL.StandardIO
Import BRL.Random
Import BRL.Stream
Import PUB.ZLib
Import BRL.Ramstream
Import VERTEX.BNetEx
Import BRL.httpstream
Import BRL.Map
Import PUB.Lua

• BNetEx: https://github.com/oliverskawronek/bnetex.mod

If you succeed to make an app work on ARM with these modules we can try to make the dedicated work on ARM. But without this it won't work.

The only other way I see would be to re-write the dedicated from scratch in another language but no sane person would do that just to make it work on ARM. It's way easier and better to just rent a Linux server for 5$ a month.
To the start Previous 1 Next To the start
Log in to reply Servers overviewCS2D overviewForums overview