First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 42389
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christian Machacek <machacek@chello.at>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 42389 depends on: Show dependency tree
Bug 42389 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-02-21 10:12 0000
After emerging quake2-icculus and quake2-data, when i launch the game and
execute "game ctf" using the quake console i get this:

]game ctf
Added packfile /usr/share/games/quake2-data/ctf/pak0.pak (169 files)
using /home/user/.quake2/ctf/ for writing

------- sound initialization -------
sound sampling rate: 22050
------------------------------------
------- Loading ref_glx.so -------
LoadLibrary("/usr/games/lib/quake2-icculus/ref_glx.so")
ref_gl version: GL 0.01
Using libGL.so for OpenGL...Initializing OpenGL display
...setting fullscreen mode 8: 1280 1024
Using XFree86-VidModeExtension Version 2.2
Using hardware gamma
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce4 Ti 4200/AGP/SSE2
GL_VERSION: 1.4.1 NVIDIA 53.36
GL_EXTENSIONS: GL_ARB_depth_texture GL_ARB_imaging GL_ARB_multisample
GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_point_parameters
GL_ARB_point_sprite GL_ARB_shadow GL_ARB_texture_border_clamp
GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add
GL_ARB_texture_env_combine GL_ARB_texture_env_dot3
GL_ARB_texture_mirrored_repeat GL_ARB_transpose_matrix
GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_window_pos GL_S3_s3tc
GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color
GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array
GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays
GL_EXT_packed_pixels GL_EXT_paletted_texture GL_EXT_point_parameters
GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color
GL_EXT_shadow_funcs GL_EXT_shared_texture_palette GL_EXT_stencil_wrap
GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map
GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3
GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod GL_EXT_texture_lod_bias
GL_EXT_texture_object GL_EXT_vertex_array GL_HP_occlusion_test
GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region
GL_NV_blend_square GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fence
GL_NV_fog_distance GL_NV_light_max_exponent GL_NV_multisample_filter_hint
GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range
GL_NV_point_sprite GL_NV_register_combiners GL_NV_register_combiners2
GL_NV_texgen_reflection GL_NV_texture_compression_vtc
GL_NV_texture_env_combine4 GL_NV_texture_rectangle GL_NV_texture_shader
GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range
GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1
GL_NVX_ycrcb GL_SGIS_generate_mipmap GL_SGIS_multitexture GL_SGIS_texture_lod
GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum
...enabling GL_EXT_compiled_vertex_array
...using GL_EXT_point_parameters
...3DFX_set_global_palette not found
...using GL_EXT_shared_texture_palette
...using GL_ARB_multitexture
...GL_SGIS_multitexture deprecated in favor of ARB_multitexture
------------------------------------



...so that seems to work (the .pak file gets added), but when i load a ctf map
afterwards i get warnings:

]map q2ctf1
------- Loading gamei386.so -------
==== InitGame ====
------- Server Initialization -------
item_flag_team2 doesn't have a spawn function
item_flag_team1 doesn't have a spawn function
info_player_team2 doesn't have a spawn function
info_player_team2 doesn't have a spawn function
info_player_team2 doesn't have a spawn function
info_player_team2 doesn't have a spawn function
info_player_team2 doesn't have a spawn function
info_player_team2 doesn't have a spawn function
info_player_team2 doesn't have a spawn function
info_player_team2 doesn't have a spawn function
info_player_team2 doesn't have a spawn function
info_player_team2 doesn't have a spawn function
info_player_team2 doesn't have a spawn function
info_player_team2 doesn't have a spawn function
info_player_team2 doesn't have a spawn function
info_player_team2 doesn't have a spawn function
info_player_team2 doesn't have a spawn function
info_player_team2 doesn't have a spawn function
info_player_team1 doesn't have a spawn function
info_player_team1 doesn't have a spawn function
info_player_team1 doesn't have a spawn function
info_player_team1 doesn't have a spawn function
info_player_team1 doesn't have a spawn function
info_player_team1 doesn't have a spawn function
info_player_team1 doesn't have a spawn function
info_player_team1 doesn't have a spawn function
info_player_team1 doesn't have a spawn function
info_player_team1 doesn't have a spawn function
info_player_team1 doesn't have a spawn function
info_player_team1 doesn't have a spawn function
info_player_team1 doesn't have a spawn function
info_player_team1 doesn't have a spawn function
0 entities inhibited
0 teams with 0 entities
-------------------------------------
0.0.0.0:0: client_connect

McKinley Revival
-------------------------------------



and although quake loads the map, there are no techs and flags in the game. the
game pauses when i open the console, so i'm still in single player mode.

i think, quake chooses the wrong gamei386.so for some reason. out of curiosity
i renamed the /usr/games/lib/quake2-icculus/ctf/ directory, that contains the
gamei386.so file for ctf, to something else. this made no difference at
all...same problem, same warnings.

Reproducible: Always
Steps to Reproduce:
1. "emerge quake2-icculus quake2-data", installing the data from the quake2 CD
2. being a member of the "games" group start "quake2"
3. open the quake2 console, execute "game ctf" and "map q2ctf1"

Actual Results:  
quake2 loads the map, but flags, techs, and the other ctf stuff are missing.
quake2 is still in single player mode.

Expected Results:  
quake2 should be in ctf mode and load the map including flags and techs.

i could reproduce the problem on another box (that uses software rendering
only,
btw; so it's not some strange video driver problem) after a fresh gentoo
install.
emerging quake2-icculus using CFLAGS="" and CXXFLAGS="" did not solve the
problem.

mgentoo root # emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.2)
=================================================================
System uname: 2.6.2 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm
gif gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mozilla
mpeg
ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt
quicktime readline sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xml2
xmms xv zlib"

------- Comment #1 From Russell Valentine 2004-08-07 18:22:49 0000 -------
I think 0.15-gentoo-path.patch doesn't do what it is trying to do correctly.

Usualy all of quake2 is located in one directory however, the ebuild tries to split it.

Basicly quake2 doesn't read any mods. 
As a bad hack fix you can do this to get it to go in ctf mode.

cd /usr/games/lib/quake2-icculus/baseq2
mv gamei386.so gamei386.so.orig
ln -s ../ctf/gamei386.so ./

Now if you do 'quake2 +set game ctf +map q2ctf1' it will be in ctf mode.

------- Comment #2 From Marcos González 2004-08-26 06:15:23 0000 -------
Fix to this problem is included in the new bug #61801:
http://bugs.gentoo.org/show_bug.cgi?id=61801

------- Comment #3 From SpanKY 2005-01-03 15:52:02 0000 -------
mmm the gentoo paths patch needed to add libdir to the FS_AddGameDirectory when
screwing with "gamedir"

fixed in 0.16

First Last Prev Next    No search results available      Search page      Enter new bug