Loading...
  OR  Zero-K Name:    Password:   

Archlinux Spring Setup

14 posts, 2500 views
Post comment
Filter:    Player:  
sort
11 years ago
Anyone interested in a how to for Archlinux? I recently switched from Ubuntu to Arch on my desktops and thought about putting together a setup guide.
+0 / -0
*tries to remember how I installed spring on my current Arch Linux desktop*
Oh, right, I've broken springlobby completely since I tried to compile it from source and it doesn't have a "make uninstall", so I can't find the files it's hidden in /usr/local and they override my pacman installations.
ZKLobby somewhat works for me but I can't scroll down all the way in the user list if there are enough people in one of the chatrooms. (The amount I can scroll down changes depending on the size of the window, I can't scroll down as much if it's maximized iirc)
And I'm currently using Weblobby from a Steam installation of Evolution RTS, it's working fine other than the gigabyte download
I also have a Rapid install working fine from when I was using Springlobby, but now both ZKLobby and Weblobby have pr-downloader built in, so that's obsolete (I was trying to compile Springlobby because the download function crashed the lobby whenever I tried searching with it and I didn't realize that there was a Springlobby-git package in the AUR)

So apparently I'm bad at installing spring, I guess I could use a tutorial...
+0 / -0


11 years ago
You didn't have to download the gigabyte installer from Steam (it includes evo and 10+ maps (the maps take up most of the space IIRC)), there are builds on http://weblobby.springrts.com
+0 / -0
11 years ago
I've just downloaded that and extracted it and it won't run, it opens the window and closes after a few seconds, only getting to about 61% or so (that I see), it might be because I have another installation of weblobby already running
+0 / -0
Easy Mode
=========

0.97 needs libsdl2

# pacman -S sdl2


= flobby as my lobby client.

https://github.com/cleanrock/flobby

# pacman -S git gcc imagemagick fltk curl libxpm libxss boost

# git clone https://github.com/cleanrock/flobby.git
# cd flobby
# git submodule update --init

(gets pr-downloader)

# cmake .
# make

flobby binary is inside /src

i don't see the advantage of creating a pacman pkg at this point - for lobbies or engines


= spring engines/games/maps (auto)

create /home/USERNAME/.spring and start flobby

i had to update the location of pr-downloader in
flobby to compiled location (pr-downloader/src/pr-downloader)

flobby will get map/engine/game automatically as of current update. It can look like it froze/crash while its downloading and only supports one download at a time.


= manually add spring engines

http://springrts.com/dl/buildbot/default/master/

just grab the pre-compiled portable engines you want. 0.91 and 0.96 seem the most common currently.

eg. spring_96.0_minimal-portable-linux64-static.7z

if you don't have 7zip - plus others for good use
# pacman -S p7zip zip rar unrar xarchiver

if you want to be mr. linux then skip xarchiver and use command line

extract them into .spring/engine/[engine version] eg. 0.91

start flobby and add them -

name eg. 91.0
browse for binary and unitsync
hit save

rinse and repeat for other engines
click in white to deselect current engine and create a new entry

= springlobby

The community repository has to be active

http://wiki.archlinux.org/index.php/Pacman#Repositories

After making sure that the local package database is up-to-date

# pacman -Sy

springlobby is installed by

# pacman -S springlobby

There is also a springlobby-git package in AUR if you want to run bleeding edge of springlobby.



= springlobby (source)

springlobby has been broken/buggy for me for along time

https://github.com/springlobby/springlobby/wiki/Installfromsource

# pacman -S openal curl gettext doxygen boost curl alure

Needs wxwidgets from AUR

https://aur.archlinux.org/packages/wxwidgets/

# tar -xvf wxwidgets.tar.gz
# cd wxwidgets
# makepkg -s
# pacman -U wxwidgets.(version).pkg.xz

# git clone --recursive git://github.com/springlobby/springlobby.git
# cd springlobby
# git submodule update --init
# cmake .
# make

I usually skip this part and just run it from there ... then I don't have to go searching to remove it -- or you could use pacman to make a package to manage it

# make install

+0 / -0
in all honesty springlobby just crashes and is a mess - crashes for me during downloads - during switching tabs - generally it is just a turd built from 1's and 0's ...

NotaLobby is nice - but closed source
+0 / -0
11 years ago
ah, right, I have a working copy of flobby as well, but I haven't used it much since weblobby is working fine
https://aur.archlinux.org/packages/flobby-git/
+0 / -0
11 years ago
cleanrock runs Arch so makes sense there is an AUR package.
+0 / -0
11 years ago
Does anyone know how to fix that ZKLobby bug where I can't scroll down all the way? It's really bugging me, and I think that's the only bug I've got with ZKLobby right now
+0 / -0
11 years ago
That bug is probably mono vs .NET related?
+0 / -0
Hi!

A question regarding ZKL and Arch. Whenever I write something into the chat input box using my native language (Cyrillic), I can only see empty rectangles to appear instead of the Cyrillic letters. I've managed to find a font, which shows what I've written correctly after it's been sent (Lucida G, Cyrillic), however nothing seem to help with input box.

See screenshot http://prntscr.com/3vtenj

Any ideas on this one?

BTW, I can scroll down the list of players successfully, although with some graphical artifacts.
+0 / -0
11 years ago
I don't have source access to the ZLK code, but it seems there are some issues making input controls unicode intelligent in NET/Mono.
+0 / -0
USrankt[O_ot], I've managed to fix my issues with cyrillic letters. I've removed all other fonts, but dejavu and it has become like it should be.
+0 / -0
11 years ago
So more of an incompatible font then. :D Excellent.
+0 / -0