installing linux version

installing linux version

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
richlv
Posts: 2
Joined: 04 Oct 2006, 16:23

installing linux version

Post by richlv »

hi, i'm dumb.
no really - i can't find information how to install spring on linux :)
source instructions link to forum containing only windows information.

as i am going to try installing spring offline, i would not be able to get any missing dependancies, so some questions.

1. what are the dependancies ? well, probably not counting glibc, but would be nice knowing anything more exotic than zlib :)
i saw openal mentioned here and there, then a notion that it was dropped...

2. does source download include all the necessary components ? if not, what is missing and where could i get the parts ?

thanks
Chojin
Posts: 141
Joined: 04 Oct 2006, 11:22

Post by Chojin »

uhm, click Wiki -> Linux -> Linux -> SetupGuide and scroll down to all other linux distributions.

You might want to wait, until there is a current taspring-linux-data tarball uploaded (since 0.73b1 got released last night).
richlv
Posts: 2
Joined: 04 Oct 2006, 16:23

Post by richlv »

oh, thanks :)
i actually looked at wiki, but completely ignored 'development' section ;)

maybe that part can be linked from source download section like the forum post is ?
User avatar
LOrDo
Posts: 1154
Joined: 27 Feb 2006, 00:21

Post by LOrDo »

There is a tarball released by the devs I think. Check the 0.73b1 thread in the News section. I could be mistaking it for somthing else though. I have little experiance with Linux, only place I ever use it is at my school. (Which is what I'm typing on right now, whee.)
User avatar
architeuthis
Posts: 86
Joined: 15 Dec 2005, 20:47

Post by architeuthis »

The tarballs are released: you can find them here
https://developer.berlios.de/project/sh ... up_id=4358
(the nonfree version uses copyrighted ta content, so you have to own a legal copy of total annihilation, but it works withouth one :-) )
I dont know what the dependencies are (i didnt need to install anything extra, i have ubuntu 6.06)

There is a info file in this package on how to install it:

How to use this? (English)

1) Create an empty directory somewhere, e.g. '/home/user/spring'

2) Extract the tarball in that directory, so you end up with e.g.
'/home/user/spring/spring-linux-data-0.73b1'

3) Put the line 'SpringData=/home/user/spring/spring-linux-data-0.73b1' at the
end of the file '/home/user/.springrc' (Create it if it doesn't exist)

4) Run spring.



How to use this? (Shell commands)

1) Run in a console:

mkdir /home/user/spring
cd /home/user/spring
tar xfj spring-linux-data-free-0.73b1.tar.bz2 #pick the ones you downloaded
tar xfj spring-linux-data-nonfree-0.73b1.tar.bz2
echo 'SpringData=/home/user/spring/spring-linux-data-0.73b1' >> ~/.springrc

2) Run spring
But i dont know how to start it, after the installation; does anyone know how to do it ( tried springrc ./spring, spring ....). Can someone help me out?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

architeuthis wrote: But i dont know how to start after the installation does anyone know how to do it ( tried springrc ./spring, spring ....). Can someone help me out?
Run the spring binary:

Look in the directory where you compiled the sources, there is a 'game' directory in it. In that directory there's a executable file called 'spring'. Run it :-)
User avatar
architeuthis
Posts: 86
Joined: 15 Dec 2005, 20:47

Post by architeuthis »

There doesnt seem to be a binary in the folder i'm afraid.
Really there is no file called "spring" nor any .bin file.

Code: Select all

~/Desktop/spring-linux-data-0.73b1$ ls
AI             ctrlpanel.txt  maps         readme.txt            shaders
base           docs           mods         selectkeys.txt        startscripts
cmdcolors.txt  Luxi.ttf       PALETTE.PAL  settingstemplate.xml  uikeys.txt
10053r
Posts: 297
Joined: 28 Feb 2005, 19:19

Post by 10053r »

do a ls -lash and look for the file with the execute bit set. And if no files have execute bits set, then that is a bug and should be submitted to the devs.
User avatar
architeuthis
Posts: 86
Joined: 15 Dec 2005, 20:47

Post by architeuthis »

This is the output:

Code: Select all

:~/Desktop/spring-linux-data-0.73b1$ ls -lash
totaal 152K
4,0K drwxr-xr-x  9 architeuthis architeuthis 4,0K 2006-10-04 22:45 .
4,0K drwxr-xr-x 12 architeuthis architeuthis 4,0K 2006-10-05 17:24 ..
4,0K drwxr-xr-x  5 architeuthis architeuthis 4,0K 2006-10-04 21:47 AI
4,0K drwxr-xr-x  3 architeuthis architeuthis 4,0K 2006-10-04 21:45 base
4,0K -rw-r--r--  1 architeuthis architeuthis 1,7K 2006-10-04 22:11 cmdcolors.txt4,0K -rw-r--r--  1 architeuthis architeuthis 2,2K 2006-10-04 22:11 ctrlpanel.txt4,0K drwxr-xr-x  2 architeuthis architeuthis 4,0K 2006-10-04 21:45 docs
 72K -rw-r--r--  1 architeuthis architeuthis  66K 2006-10-04 21:45 Luxi.ttf
4,0K drwxr-xr-x  2 architeuthis architeuthis 4,0K 2006-10-04 21:45 maps
4,0K drwxr-xr-x  2 architeuthis architeuthis 4,0K 2006-10-04 21:45 mods
4,0K -rw-r--r--  1 architeuthis architeuthis 1,0K 2006-10-04 22:12 PALETTE.PAL
4,0K -rw-r--r--  1 architeuthis architeuthis  882 2006-10-04 22:45 readme.txt
4,0K -rw-r--r--  1 architeuthis architeuthis  378 2006-10-04 21:45 selectkeys.txt
8,0K -rw-r--r--  1 architeuthis architeuthis 6,4K 2006-10-04 21:45 settingstemplate.xml
4,0K drwxr-xr-x  2 architeuthis architeuthis 4,0K 2006-10-04 21:45 shaders
4,0K drwxr-xr-x  2 architeuthis architeuthis 4,0K 2006-10-04 21:45 startscripts
 16K -rw-r--r--  1 architeuthis architeuthis  13K 2006-10-04 21:45 uikeys.txt
the package i am talking about is this one: http://prdownload.berlios.de/taspring-l ... ee.tar.bz2
the same for http://prdownload.berlios.de/taspring-l ... ee.tar.bz2
Chojin
Posts: 141
Joined: 04 Oct 2006, 11:22

Post by Chojin »

Of course... The data tarball only contains the data of the game... You need to download the source tarball first and compile it..
User avatar
architeuthis
Posts: 86
Joined: 15 Dec 2005, 20:47

Post by architeuthis »

Thank you for your reply, but i found that out by now :-). The readme file in the data package gave me the wrong impression it was the only neccesary package.
Post Reply

Return to “Help & Bugs”