Tremulous Forum
General => Troubleshooting => Topic started by: Studlut on January 16, 2007, 05:12:55 pm
-
when I run tremulous I keep havin to reset my name. Anyone know what could be causing this? also I'm not sure how to install new maps on linux.
-
that and when I try to copy and past maps into the base file of tremulous It says I don't have permission....
-
whenever I try to change the settings in the game I get
"cannot write to autogen.cfg" or something like that.
-
It should be trying to write to ~/.tremulous. See if you can cd into that directory.
-
Sounds like you installed tremulous NOT using the user you are trying to play trem with.
-
just chown or chmod tremulous dir.. :roll:
-
Did you install tremulous with sudo?
-
Did you install tremulous with sudo?
yeah
sudo sh ./tremulous
Edit: Ok so here's how it works. I install tremulous and then I log in for the first time and I don't get this glitch. once I leave and log in again though I have the "Cannot write to autogen.cfg" error.
-
You don't need the ./ if you are running something with sh, though that isn't the problem here.
Run tremulous, quit, then copy/paste the ENTIRE terminal output here.
-
yeah
sudo sh ./tremulous
Dude! You NEVER EVER run ANY as root!!
/me slaps Studlut with the Linux-Handbook
Get your setup straight, deinstall the game at once and re-install it using your normal user WITHOUT sudo!
-
I installed with sudo with no problem.
it is, after all, a multi user system.
Sounds to me like the game isn't unlocking the autogen.cfg file when it quits.
Perhaps you are getting so use to flaming morons, you don't know how to help any more?
Its people like you who will scare away new people and cause the death of tremulous.
-
Studlut, I'm sorry but my crystal ball has broken down. So could you PLEASE do it the good old way and post here your tremulous console output?
-
tremulous 1.1.0 linux-x86 Feb 28 2006
----- FS_Startup -----
Current search path:
/home/musician/.tremulous/base
/usr/local/games/tremulous/base/vms-1.1.0.pk3 (4 files)
/usr/local/games/tremulous/base/map-uncreation-1.1.0.pk3 (110 files)
/usr/local/games/tremulous/base/map-tremor-1.1.0.pk3 (45 files)
/usr/local/games/tremulous/base/map-transit-1.1.0.pk3 (135 files)
/usr/local/games/tremulous/base/map-niveus-1.1.0.pk3 (134 files)
/usr/local/games/tremulous/base/map-nexus6-1.1.0.pk3 (151 files)
/usr/local/games/tremulous/base/map-karith-1.1.0.pk3 (118 files)
/usr/local/games/tremulous/base/map-atcs-1.1.0.pk3 (87 files)
/usr/local/games/tremulous/base/map-arachnid2-1.1.0.pk3 (67 files)
/usr/local/games/tremulous/base/data-1.1.0.pk3 (1229 files)
/usr/local/games/tremulous/base
----------------------
2080 files in pk3 files
execing default.cfg
execing autogen.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----
------- Input Initialization -------
Joystick is not active.
------------------------------------
...loading libGL.so.1:
Calling SDL_Init(SDL_INIT_VIDEO)...
SDL_Init(SDL_INIT_VIDEO) passed.
Initializing OpenGL display
...setting mode 8: 1280 1024
Using 8/8/8 Color bits, 24 depth, 8 stencil display.
GL_RENDERER: Radeon X1600 Series Generic
Initializing OpenGL extensions
...ignoring GL_S3_s3tc
...ignoring GL_EXT_texture_env_add
...using GL_ARB_multitexture
...using GL_EXT_compiled_vertex_array
GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: Radeon X1600 Series Generic
GL_VERSION: 2.0.5814 (8.25.18)
GL_EXTENSIONS: GL_ARB_multitexture GL_EXT_texture_env_add GL_EXT_compiled_vertex_array GL_S3_s3tc GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_multisample GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_shadow_ambient 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_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ARB_draw_buffers GL_ATI_draw_buffers GL_ATI_element_array GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_map_object_buffer GL_ATI_separate_stencil GL_ATI_shader_texture_lod GL_ATI_texture_compression_3dc GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_ATI_vertex_array_object GL_ATI_vertex_attrib_array_object GL_ATI_vertex_streams GL_ATIX_texture_env_combine3 GL_ATIX_texture_env_route GL_ATIX_vertex_shader_output_point_size GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_object GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_texgen_reflection 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_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_EXT_vertex_shader GL_HP_occlusion_test GL_NV_blend_square GL_NV_occlusion_query GL_NV_texgen_reflection GL_SGI_color_matrix GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays
GL_MAX_TEXTURE_SIZE: 2048
GL_MAX_ACTIVE_TEXTURES_ARB: 8
PIXELFORMAT: color(24-bits) Z(24-bit) stencil(8-bits)
MODE: 8, 1280 x 1024 fullscreen hz:N/A
GAMMA: hardware w/ 0 overbright bits
CPU:
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_LINEAR
picmip: 0
texture bits: 0
multitexture: enabled
compiled vertex arrays: enabled
texenv add: disabled
compressed textures: disabled
Initializing Shaders
...loading 'scripts/uncreation.shader'
...loading 'scripts/q3map2_tremor.shader'
...loading 'scripts/tremor.shader'
...loading 'scripts/transit.shader'
...loading 'scripts/niveus.shader'
...loading 'scripts/nexus6.shader'
...loading 'scripts/karith.shader'
...loading 'scripts/atcs.shader'
...loading 'scripts/arachnid2.shader'
...loading 'scripts/jetpack.shader'
...loading 'scripts/core.shader'
...loading 'scripts/flame.shader'
...loading 'scripts/misc.shader'
...loading 'scripts/common-trem.shader'
...loading 'scripts/titan.shader'
...loading 'scripts/water.shader'
...loading 'scripts/displays.shader'
...loading 'scripts/plant_life.shader'
...loading 'scripts/stasis.shader'
...loading 'scripts/booster.shader'
...loading 'scripts/eggpod.shader'
...loading 'scripts/medistat.shader'
...loading 'scripts/mgturret.shader'
...loading 'scripts/reactor.shader'
...loading 'scripts/telenode.shader'
...loading 'scripts/trapper.shader'
...loading 'scripts/overmind.shader'
...loading 'scripts/tesla.shader'
...loading 'scripts/dcc.shader'
...loading 'scripts/hive.shader'
...loading 'scripts/level2.shader'
...loading 'scripts/human.shader'
...loading 'scripts/null.shader'
...loading 'scripts/weapons.shader'
...loading 'scripts/conkit.shader'
...loading 'scripts/advckit.shader'
...loading 'scripts/psaw.shader'
...loading 'scripts/mdriver.shader'
...loading 'scripts/flamer.shader'
...loading 'scripts/crosshairs.shader'
...loading 'scripts/grenade.shader'
...loading 'scripts/splash.shader'
...loading 'scripts/marks.shader'
...loading 'scripts/sprites.shader'
...loading 'scripts/muzzleflashes.shader'
----- finished R_Init -----
------ Initializing Sound ------
Initializing SDL audio driver...
SDL audio driver is "alsa".
SDL_AudioSpec:
Format: AUDIO_S16LSB
Freq: 22050
Samples: 470
Channels: 2
Starting SDL audio callback...
SDL audio initialized.
----- Sound Info -----
1 stereo
16384 samples
16 samplebits
1 submission_chunk
22050 speed
0x8c92458 dma buffer
No background file.
----------------------
Sound intialization successful.
--------------------------------
Sound memory manager started
Loading vm file vm/ui.qvm...
...which has vmMagic VM_MAGIC_VER2
Loading 1075 jump table targets
VM file ui compiled to 786313 bytes of code
ui loaded in 4596672 bytes on the hunk
UI menu load time = 381 milli seconds
UI menu load time = 28 milli seconds
UI menu load time = 25 milli seconds
--- Common Initialization Complete ---
Opening IP socket: localhost:30720
Hostname: musician-desktop
IP: 127.0.1.1
Started tty console (use +set ttycon 0 to disable)
Couldn't write autogen.cfg.
----- CL_Shutdown -----
Closing SDL audio device...
SDL audio device shut down.
RE_Shutdown( 1 )
FATAL: fglX11FreeBuffer: firegl_FreeBuffer() failed!
-----------------------
----- CL_Shutdown -----
-----------------------
Shutdown tty console
musician@musician-desktop:~$
-
pse check if the dile /home/musician/.tremulous/base/autogen.cfg exists, if it does, chmod, if not touch it :)
-
it's not there. what do you mean touch it?
-
Literally, like I said .)
touch /home/musician/.tremulous/base/autogen.cfg
-
It should automatically create it if it does not exist. The problem lies elsewhere.
-
Right. But since the trem backlog does not give an error, this touch should tell us where the problem arises.
-
Ok, now we're getting somewhere. Now run
ls -Al /home/musician/.tremulous/
-
musician@musician-desktop:~$ ls -Al /usr/local/games/tremulous
total 2216
drwxrwxrwx 2 root root 4096 2007-01-17 08:32 base
-rw-r--r-- 1 root root 15019 2007-01-16 18:28 CC
-rw-r--r-- 1 root root 7462 2007-01-16 18:28 ChangeLog
-rw-r--r-- 1 root root 1983 2007-01-16 18:28 COPYING
-rw-r--r-- 1 root root 15115 2007-01-16 18:28 GPL
drwxr-xr-x 3 root root 4096 2007-01-16 18:28 .manifest
-rw-r--r-- 1 root root 676814 2007-01-16 18:28 manual.pdf
-rwxrwxrwx 1 musician musician 1516018 2007-01-18 11:58 tremulous.x86
-rw-r--r-- 1 root root 3137 2007-01-16 18:28 tremulous.xpm
-rwxr-xr-x 1 root root 1284 2007-01-16 18:28 uninstall
musician@musician-desktop:~$
-
Studlut that what you posted was not asked as it is irrelevant .)
-
Studlut that what you posted was not asked as it is irrelevant .)
next ghost asked for it
-
Nope, check it again, he did ask for another directory.
-
Since when is /usr/local/games/tremulous the same directory as /home/musician/.tremulous?!
-
musician@musician-desktop:~$ ls -Al /home/musician/.tremulous/
total 644
drwxr-xr-x 2 root root 4096 2007-01-16 11:49 balance
drwxr-xr-x 2 root root 4096 2007-01-16 10:00 base
-rw-r--r-- 1 root root 644112 2007-01-18 20:30 servercache.dat
musician@musician-desktop:~$
try and respond quickly
-
There is your problem...
You installed the game as root or using sudo. Then you startet the game as root and somehow that led to the wrong owner of the directories. chown them to musician:musician and you should be set.
If that is too much hassle, uninstall trem and install it as user musician and DON'T use sudo.
-
Caveman: He can install it as root(this is actually preferable if you have a multi-user system), but should run it as a normal user.
studlut: chown -R musician:musician /home/musician/.tremulous
-
musician@musician-desktop:~$ chown -R musician:musician /home/musician/.tremulou s
chown: changing ownership of `/home/musician/.tremulous/base/autogen.cfg': Opera tion not permitted
chown: changing ownership of `/home/musician/.tremulous/base/ptrc.cfg': Operatio n not permitted
chown: changing ownership of `/home/musician/.tremulous/base': Operation not per mitted
chown: changing ownership of `/home/musician/.tremulous/servercache.dat': Operat ion not permitted
chown: changing ownership of `/home/musician/.tremulous/balance/autogen.cfg': Op eration not permitted
chown: changing ownership of `/home/musician/.tremulous/balance': Operation not permitted
chown: changing ownership of `/home/musician/.tremulous': Operation not permitte d
musician@musician-desktop:~$
edit: i'm dumb... (logged in)
edit2: WOOOHOO FIXED!