my new install can't find any maps,

my new install can't find any maps,

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
mangotsome
Posts: 18
Joined: 16 Oct 2006, 17:54

my new install can't find any maps,

Post by mangotsome »

Hi guys I installed spring_0.74b3 using the WiKi this is the way I installed it

All other linux distributions

* Make sure you have the following packages installed:

build-essential libsdl-dev libopenal-dev libglew-dev libboost-dev libboost-thread-dev libboost-regex-dev libdevil-dev libfreetype6-dev python2.4-dev scons subversion zip

* Create a working directory, we'll use this to compile spring:

mkdir ~/workdir
cd ~/workdir

* Download the most recent source tarball (.tar.bz2 file) from BerliOS (http://developer.berlios.de/project/sho ... up_id=4358), save it in ~/workdir.

* Extract the tarball and switch to the directory (adjust version numbers if necessary):

tar xfj spring_0.74b3_src.tar.bz2
cd spring_0.74b3
Watch out when using graphical extraction tools. They don't always create the included empty directories, causing later steps to fail. It is recommended to extract the archive using the above command.

* Configure: scons configure
If this doesn't work, be sure to check you installed all dependencies, and peek at the file config.log, which may show the reason it didn't work in detail. To tune the configuration (installation paths, debugging, etc.), refer to: scons -H

* Compile by running: scons
This can take 5-15 minutes depending on your system.

* To install spring, run the following as root: scons install

* Set up spring to look in your home directory for data files (run as root):

mkdir -p /etc/spring
echo '$HOME/.spring' > /etc/spring/datadir'

Alternatively you can specify it in ~/.springrc (if you don't have root access):

echo "SpringData=$HOME/.spring" >> ~/.springrc

* Now continue at the fourth (4th) step under Debian, Ubuntu & derivatives: "Create directories for data files".



it works but it says needs "Couldn't find any map files"

now thats not right because I put 2 maps in my maps folder and a mod.
my maps are in:

/home/samuelmp/spring_0.74b3/game/maps

I also clicked on one of the maps in my folder and made it run with spring
but I got this error, I did this by right clicking and selecting "open with spring"

Parse error in buffer at line 72042 column 278 near
'├àÔÇ£├é┬│├âãÆ


I am running simply mepis 6.5rc1, with the official nvidia driver. I am using an nvidia 6200GS asus AGP graphics card. 1GB ram, 3100 Ghz. asus mobo
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: my new install can't find any maps,

Post by Tobi »

mangotsome wrote: * Set up spring to look in your home directory for data files (run as root):

mkdir -p /etc/spring
echo '$HOME/.spring' > /etc/spring/datadir'

Alternatively you can specify it in ~/.springrc (if you don't have root access):

echo "SpringData=$HOME/.spring" >> ~/.springrc
it works but it says needs "Couldn't find any map files"

now thats not right because I put 2 maps in my maps folder and a mod.
my maps are in:

/home/samuelmp/spring_0.74b3/game/maps
Modify your install so it looks in the folder where you put the maps (by adding this folder to the file /etc/spring/datadir, or move the maps to the folder you told it to look at (ie. ~/.spring/{maps,mods}).
I also clicked on one of the maps in my folder and made it run with spring
but I got this error, I did this by right clicking and selecting "open with spring"

Parse error in buffer at line 72042 column 278 near
'├àÔÇ£├é┬│├âãÆ
This isn't supposed to work (spring expects a start script as argument, not a map).
mangotsome
Posts: 18
Joined: 16 Oct 2006, 17:54

Post by mangotsome »

Hi i have put

$/home/samuelmp/spring_0.74b3/game/maps

in my /etc/spring/datadir

but it still keeps on asking for maps, hence the same is still hapning. there are maps in that folder, that is

/home/samuelmp/spring_0.74b3/game/maps
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

mangotsome wrote:Hi i have put

$/home/samuelmp/spring_0.74b3/game/maps

in my /etc/spring/datadir

but it still keeps on asking for maps, hence the same is still hapning. there are maps in that folder, that is

/home/samuelmp/spring_0.74b3/game/maps
Ah. It looks for maps in data directory/maps. So you need to put /home/samuelmp/spring_0.74b3/game/ in /etc/spring/datadir instead. Then it should work.
mangotsome
Posts: 18
Joined: 16 Oct 2006, 17:54

Post by mangotsome »

well it works now but now but it ask's me for mods. I do have one mod in the folder, but it says it can't find any. funny this it kind of like the map problem i just had.

thanks for your help.

/home/samuelmp/spring_0.74b3/game/mods
mangotsome
Posts: 18
Joined: 16 Oct 2006, 17:54

Post by mangotsome »

I have found out how to sort out the MOD problem, I did this by puting my MOD files in my map folder!.

I now have a nother problem. it ask's for a wav file, which is to do with sound right. so then how do I sort this problem out.

This is the error I get


couldnt open wav file
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Tobi in another thread wrote:
wiki/SetupGuide wrote:
  • Point your browser to Unknown Files. Download at least one map from the map section (put it in ~/.spring/maps), and at least one mod from the mod section (put in ~/.spring/mods). The default maps are SmallDivide and Mars. Default mods are either XTA or NanoBlobs (XTA is based on Total Annihilation content, NanoBlobs is free). Note: do NOT unzip .sdz and .sd7 files!
  • If you downloaded XTA in the previous step, or ever want to play mods that depend on Total Annihilation content (XTA, AA, BA, etc.), then do the following:

    Code: Select all

    wget http://ipxserver.dyndns.org/games/spring/mods/xta/base-ota-content.zip
    unzip -d ~/.spring/base base-ota-content.zip
    Note that you are legally required to own a copy of Total Annihilation if you perform this last step.
You probably forgot / skipped this last step while trying to use XTA or other mods that depend on Total Annihilation content.
Also, dont doublepost please.
mangotsome
Posts: 18
Joined: 16 Oct 2006, 17:54

Post by mangotsome »

I have it working now, just one problem the mouse seems a bit slow, how can I speed up the mouse.
mangotsome
Posts: 18
Joined: 16 Oct 2006, 17:54

Post by mangotsome »

so then, no one knows how to speed up the mouse. how do I play games with people online?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Speeding up the mouse in fullscreen mode on Linux is impossible atm, I think. I've looked for this once but SDL seems silently missing this functionality (I'd assumed it would take the desktop's mouse speed, but it doesn't). The only workaround I know is playing in windowed mode, then mouse speed is identical to desktop mouse speed (so you can change it in KDE/GNOME control panel).

For playing games online there are several solutions, all in their early stages. You can run the windows lobby TASClient.exe in wine and link that with a lot of magic to the native Spring, or you can use an older version of UnityLobby (maybe the newest dev version too?) for this. Refer to their respective docs/threads for more information...
10053r
Posts: 297
Joined: 28 Feb 2005, 19:19

Post by 10053r »

The newest dev version of unitylobby works, with the following restrictions:

1) you can not host.
2) you can not see start rectangles, even in the game. But you better click inside them anyway, or you will get sync errors. You better hope everyone else clicks inside them also, or you will get sync errors. Usually you can tell where the valid places to start are by watching your teammates...
3) Not sure about NAT traversal. I haven't tried it yet.
4) After every battle, you must restart unitylobby. The second battle you try to enter with unitylobby will fail.
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

1) you can not host.
2) you can not see start rectangles, even in the game. But you better click inside them anyway, or you will get sync errors. You better hope everyone else clicks inside them also, or you will get sync errors. Usually you can tell where the valid places to start are by watching your teammates...
3) Not sure about NAT traversal. I haven't tried it yet.
4) After every battle, you must restart unitylobby. The second battle you try to enter with unitylobby will fail.
1) Cant host yet, bit of code todo still.
2) Fixed. U cant see them yet in Lobby. But works ingame
3) U can join a Natted Server. Just cant use hole punching yourself. So make sure u either port forwarding or got port open, depending on yoursetup.
4) Fixed

Try bug reporting at proper forums if u gonna bother to use client. took about 25 mins to get 2 & 4 debugged & fixed
Post Reply

Return to “Linux”