Springie for Linux by tizbac

Springie for Linux by tizbac

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

Post Reply
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Springie for Linux by tizbac

Post by Licho »

Tizbac managed to convert springie to Linux.

Springie source for Linux: http://tiztracker.altervista.org/spring ... .17.tar.gz

executable: http://tiztracker.altervista.org/Springie.exe

He also modified spring executable to fix/backpatch its autohostinterface - so that chat relay/forcing works reliably on Linux.

Modified spring executable 32bit: http://tiztracker.altervista.org/springfiles/spring

Good work man!
User avatar
tizbac
Posts: 136
Joined: 19 Jun 2008, 14:05

Re: Springie for Linux by tizbac

Post by tizbac »

unitsync lib(unitsync.so) must be placed in /usr/lib/spring/unitsync.so
if it is at /usr/local/lib/spring/unitsync.so make a link with(as root)

Code: Select all

ln -s /usr/local/lib/spring/unitsync.so /usr/lib/spring/unitsync.so
the patched spring executable must be placed in /home/username/.spring/

Added spring 64 bit executable http://tiztracker.altervista.org/springfiles/spring64
Posts
Posts: 63
Joined: 02 Oct 2007, 04:00

Re: Springie for Linux by tizbac

Post by Posts »

can both binaries run on a headless server? (no X server, no graphics card)

"Springie.exe"
is this a linux binary or a windows binary that can run on linux with WINE/Mono?

note: you need enter those links into the address bar instead of clicking on them, the web server checks the referrer
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Springie for Linux by tizbac

Post by Licho »

No, headless needs svn version of spring clients.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: Springie for Linux by tizbac

Post by LordMatt »

This requires mono.
User avatar
det
Moderator
Posts: 737
Joined: 26 Nov 2005, 11:22

Re: Springie for Linux by tizbac

Post by det »

Springie is a .NET application, yes.
andre
Posts: 58
Joined: 21 Jun 2008, 04:52

Re: Springie for Linux by tizbac

Post by andre »

There is a possibility to run it also on a rootserver - but you will need a working x-server (but a plain x-server is enough - no need for gnome, xfce, kde or something else)

The first steps are installing the x-server, mono (and some required libs - not sure which they are), spring (i compiled it myself).

Then you need to setup your xserver so, that it can use software rendering and the user which should run springie must be allowed to start a new x-session (for this see seperate x-server for spring for example).

Then you can login over ssh with the user who should run springie and configure springie with x-forwarding over ssh

Code: Select all

ssh -X user@host
cd ~/.spring
mono Springie.exe
and save them (i recommend a resolution of 2x2 for performance and stats should be disabled..) after setting up everything you can start springie with:

Code: Select all

screen -AmS spring
cd ~/.spring
DISPLAY=:0 mono Springie.exe
and you can detach the screen by pressing ctrl-a + d then you can close the ssh session and springie will run (when springie crashes you can go back to the screen with "screen -r" (when no other screen is running - when some others are running add "spring" after -r). This is roughly the setup which is [eXe]autohost is running but he's still running xfce as wm but this will also be replaced soon.
Last edited by andre on 21 Jun 2008, 16:44, edited 1 time in total.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Springie for Linux by tizbac

Post by Licho »

Modified linux springie executable for LordMatt

http://springie.licho.eu/splinux.exe

only change is it disables sound in host spring using /nosound chat command.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: Springie for Linux by tizbac

Post by LordMatt »

Unfortunately, /nosound does not stop all kinds of sound (i.e. the dynamic music widget still plays). In fact, I wasn't sure it stopped any sound at all. Thanks for the attempt though.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Springie for Linux by tizbac

Post by Licho »

then we can use /volume 0 instead
Tizbac is making this change configurable he told me.

Also dynamic music is widget, dont use it on springie :)
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Re: Springie for Linux by tizbac

Post by Agon »

I'm trying to download the source file.. but I can't download it with firefox 3.0 (transfers to: http://it.altervista.org/ , and I'm not from Italy) and with konqueror it only downloads a tar.gz with only the solution files and two empty folders.
andre
Posts: 58
Joined: 21 Jun 2008, 04:52

Re: Springie for Linux by tizbac

Post by andre »

Here is the correct link to Springie:

http://tiztracker.altervista.org/spring ... ringie.exe

but the link to the sources still doesn't work
User avatar
tizbac
Posts: 136
Joined: 19 Jun 2008, 14:05

Re: Springie for Linux by tizbac

Post by tizbac »

The springie for linux channel is #springielinux
Post Reply

Return to “General Discussion”