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
Linux spring client menu choices doesn't work?!
Moderator: Moderators
Re: Linux spring client menu choices doesn't work?!
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.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");
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.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 too, the TdfParser uses backslashes internally to separate sections in the config file.and i found several instances of:
rts/System/TdfParser.cpp: searchpath += '\\';
/Nicklas