Linux spring client menu choices doesn't work?!

Linux spring client menu choices doesn't work?!

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
nicke
Posts: 42
Joined: 14 Mar 2006, 17:25

Linux spring client menu choices doesn't work?!

Post by nicke »

When i have been building spring from the latest source code tree for the last two weeks i have not been able to
start spring standalone ./spring and and start a map from the menu choices such as (Commanders, Random enemies, etc.) however it works with my aiscripts so all data files are where they should be.

I receive the following message when trying to run a 'Random Enemies" on "SmallDivide" map and usually when i have received these messages something has been wrong with the provided mod och map path.

ERROR: button9.wav
Couldnt open wav file
rts/System/Platform/Linux/OpenALSound.cpp:300 : ALuint COpenALSound::LoadALBuffer(const std::string&)
Info: Fatal Error
file Armor.txt not found


I made a grep in the svn source code tree and found these suspicious paths..? from what i have seen there should be a'/' instead of '\\' ???
------------------------------------------------
rts/Rendering/Env/DynWater.cpp: CBitmap bm("bitmaps\\boatshape.bmp");
rts/Rendering/Env/DynWater.cpp: CBitmap bm2("bitmaps\\hovershape.bmp");

rts/build/scons/filelist.py: source += [os.path.join(env['builddir'], 'rts\\System\\Platform\\Linux\\OpenALSound.cpp')]
rts/build/scons/filelist.py: source += ['rts\\System\\Platform\\Linux\\OpenALSound.cpp']


and i found several instances of:
rts/System/TdfParser.cpp: searchpath += '\\';

/Nicklas
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

Missing armor.txt is the symptom of a missing mod file. You probably have no "xtape.sd7" in your mods directory.
The linux datafiles are out of date...
nicke
Posts: 42
Joined: 14 Mar 2006, 17:25

Post by nicke »

Yes, that was it :-) I had a XTAPEv5.sd7 so i only symlinked it to xtape.sd7, but seriously..couldn't the error messages be better?

Could someone please take a quick look at the windows path definitons i found and see if they affect the linux client in some way?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Linux spring client menu choices doesn't work?!

Post by Tobi »

nicke wrote: I made a grep in the svn source code tree and found these suspicious paths..? from what i have seen there should be a'/' instead of '\\' ???
------------------------------------------------
rts/Rendering/Env/DynWater.cpp: CBitmap bm("bitmaps\\boatshape.bmp");
rts/Rendering/Env/DynWater.cpp: CBitmap bm2("bitmaps\\hovershape.bmp");
This one could be a bug in the new dynamic water renderer from SJ. I'll look at it some time if no one else has done that by that time.
rts/build/scons/filelist.py: source += [os.path.join(env['builddir'], 'rts\\System\\Platform\\Linux\\OpenALSound.cpp')]
rts/build/scons/filelist.py: source += ['rts\\System\\Platform\\Linux\\OpenALSound.cpp']
These are normal. On Linux, OpenALSound.cpp is automagically included and this code is there to inlude it on MinGW (windows) too, hence the backslashes.
and i found several instances of:
rts/System/TdfParser.cpp: searchpath += '\\';

/Nicklas
These are normal too, the TdfParser uses backslashes internally to separate sections in the config file.
nicke
Posts: 42
Joined: 14 Mar 2006, 17:25

Post by nicke »

Ok..tnx =) 1 out of three, path conversions always seems to be a problem in a mixed win/lin environment.
Post Reply

Return to “Help & Bugs”