Page 2 of 4

Posted: 24 Dec 2006, 14:45
by Rudirogdt
update links maybe.

are the gamefiles of 0.73b1 the same as for 074b ? (not those in svn i mean the ones hosted on berlios.de)



and is there somewhere a settings file..? or is it possible to copy a settingsfile of the win version (running on the same pc)

Posted: 27 Dec 2006, 05:20
by namuol
Rudirogdt wrote:update links maybe.

are the gamefiles of 0.73b1 the same as for 074b ? (not those in svn i mean the ones hosted on berlios.de)



and is there somewhere a settings file..? or is it possible to copy a settingsfile of the win version (running on the same pc)
i'm wondering the same thing.
PS: the data file hosting (berlios) seems to be down at the moment, too. ><

Posted: 13 Jan 2007, 14:26
by Oipo
I'm trying to install TA:Spring this way, however the scons configure script checks for an opengl library in /usr/include/GL, yet I have mine installed in /usr/X11/lib. How do I change the include directory to that?

Posted: 13 Jan 2007, 15:08
by Kloot
You have your OGL headers in a directory meant for libraries?

Anyway, open ../rts/build/scons/rts.py and search for:

Code: Select all

elif env['platform'] == 'linux':
	include_path += ['/usr/include', '/usr/include/GL']
Change '/usr/include/GL' to '/usr/X11/lib' (or add it to the list), save, and rerun scons.

Posted: 13 Jan 2007, 15:14
by Tobi
I think

Code: Select all

scons configure cpppath=/usr/X11/lib
should work too.

Posted: 14 Jan 2007, 20:48
by Nonor
Rudirogdt wrote:update links maybe.

are the gamefiles of 0.73b1 the same as for 074b ? (not those in svn i mean the ones hosted on berlios.de)



and is there somewhere a settings file..? or is it possible to copy a settingsfile of the win version (running on the same pc)
Yes... I also think that we need a new HowTo here :-)

Posted: 19 Jan 2007, 20:28
by Relative
I'm in the middle of compiling spring on my ubuntu distro to give it a try. I just executed "scons" in the terminal and it's been outputting a lot of text for a while now (10 minutes).

Example:

Code: Select all

g++ -o build/rts/Sim/Projectiles/LargeBeamLaserProjectile.o -c -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=387 -pthread -D_REENTRANT -D_SZ_ONE_DIRECTORY -DDIRECT_CONTROL_ALLOWED -DSTREFLOP_X87 -DNO_CLIPBOARD -DNO_AVI -Irts -Irts/System -Ilua/luabind -Ilua/lua/include -I/usr/include -I/usr/include/GL -I/usr/include/freetype2 -I/usr/include/SDL -I/usr/include/python2.4 rts/Sim/Projectiles/LargeBeamLaserProjectile.cpp
Is this meant to be happening? O yeah, linux newbie and have never compiled by source before.

nm, it done. Damn that too forever.

Posted: 19 Jan 2007, 20:41
by Kloot
It's quite normal for a clean compilation of a project the size of Spring to take a longass time, yes. ;)

Posted: 20 Jan 2007, 01:13
by Relative
Ok, so I complied it but I'm having problems. At first I got an error message about a lack of GL support, which I know has to do with video drivers. SO I get the official ATI drivers and that problem is gone. However, now when I load "spring" from the game directory my screen goes black and it seems everything has crashed and I have to force restart.

I then give up on the source and I decided to run the Windows version under wine. Lobby works great for the most part. Yet, now get an error when starting a game from the lobby that that no "GL pixel format available".

I have an ATI 9800 pro 128 MB with the latest official drivers. Latest Ubuntu 6.10 distro with the latest wine release.

Posted: 20 Jan 2007, 15:18
by hollowsoul
@ Relative can u pastebin ouput from glxinfo plz.
So can check u got ati drivers setup right & are working ok

Posted: 20 Jan 2007, 18:24
by Relative

Code: Select all

hellcom@hellcom-desktop:~$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method, 
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe, 
    GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context, 
    GLX_ARB_get_proc_address, GLX_SGI_video_sync, GLX_ARB_multisample, 
    GLX_ATI_pixel_format_float, GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context, 
    GLX_ARB_multisample
OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI R300 20060815 AGP 1x TCL
OpenGL version string: 1.2 (1.3 Mesa 6.5.1)
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp, 
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add, 
    GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3, 
    GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color, 
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add, 
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, 
    GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x23 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x24 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  1 0 Slow
0x26 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  1 0 Slow
0x27 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x28 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x29 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  1 0 Slow
0x2a 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  1 0 Slow
0x2b 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x2c 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x2d 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  1 0 Slow
0x2e 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  1 0 Slow
0x2f 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x30 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x31 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  1 0 Slow
0x32 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  1 0 Slow
0x4b 32 tc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
hellcom@hellcom-desktop:~$ 


Posted: 20 Jan 2007, 18:52
by hollowsoul
About to go out for abit so can walk u through trying to debug why Direct Rendering is Off == your problem

try the following link to a post & see if it helps u out
http://ubuntuforums.org/showpost.php?s= ... ostcount=3

Posted: 21 Jan 2007, 00:29
by Relative
Ok, I figured it out. Apparently there are three different ATI drivers. The two I tried was the default ubuntu one, and some random one. The last one is the one I wanted.

Here is the wiki guide:
http://wiki.cchtml.com/index.php/Ubuntu ... tion_Guide

Posted: 22 Jan 2007, 00:12
by ZellSF
I got it working, but have some issues:

I can't figure out how to enable LuaUI, setting luaui=1 in .springrc does nothing.

The game data is outdated (and yes, you need more current data than 0.73, look at the small buttons below your minimap to see that).

The only issue that makes it completely unplayable to me is that the sound sounds horrible. Changing max sounds to 1 or 128 didn't make it better, neither did changing volume. Tried both 0.74b2 and trunk.

Any suggestions?

Posted: 22 Jan 2007, 00:25
by Kloot
Look here for a more recent data tarball (you want the one for 0.74b1).

Posted: 22 Jan 2007, 00:28
by ZellSF
Yeah, I already found that. Doesn't help much if no one can tell me how to fix my sound issue though.

Posted: 22 Jan 2007, 00:44
by hollowsoul
Need to describe your sound problems.
other than messing with sound options in ~/.springrc

Spring uses OpenAL for sound which can be configured
Read http://gentoo-wiki.com/OpenAL wrote it together as pointer, from limited docs / examples i could find at the time...

Recommend using ALSA your distro should be using it (if your not sure)

Posted: 22 Jan 2007, 00:58
by ZellSF
In WINE, both ALSA and OSS sound works flawlessly.

Posted: 22 Jan 2007, 01:20
by ZellSF
Tried changing to SDL, and sound issues are gone. Any ideas about luaui?

Posted: 22 Jan 2007, 01:32
by Kloot
LuaUI doesn't do anything in 0.74b2 (not sure if you're running that or a trunk compile).