What's new

Quake 3 Pak file problem

iq_132

Banned
Ok
Here's the problem:
I'm trying to replace some files in the pak0.pk3 file... Namely the level music, but every time I recompress the files, I get this error:

Q3 1.11 win-x86 Nov 24 1999
----- FS_Startup -----
Current search path:
C:\Documents and Settings\David\Desktop\Quake3\baseq3\pak1.pk3 (7 files)
C:\Documents and Settings\David\Desktop\Quake3\baseq3\pak0.pk3 (3357 files)
C:\Documents and Settings\David\Desktop\Quake3/baseq3

----------------------
execing default.cfg
execing q3config.cfg
couldn't exec autoexec.cfg
...detecting CPU, found Intel Pentium III

------- Input Initialization -------
Initializing DirectInput...
Couldn't set DI coop level
Falling back to Win32 mouse support...
Joystick is not active.
------------------------------------
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
--- Common Initialization Complete ---
Winsock Initialized
Opening IP socket: localhost:27960
Hostname: davescomp
IP: 10.208.11.131
Working directory: C:\Documents and Settings\David\Desktop\Quake3
----- R_Init -----
Initializing OpenGL subsystem
...initializing QGL
...calling LoadLibrary( 'C:\WINDOWS\System32\opengl32.dll' ): succeeded
...setting mode 6: 1024 768 FS
...using colorsbits of 32
...calling CDS: ok
...registered window class
...created window@0,0 (1024x768)
Initializing OpenGL driver
...getting DC: succeeded
...GLW_ChoosePFD( 32, 24, 0 )
...55 PFDs found
...hardware acceleration found
...PIXELFORMAT 7 selected
...creating GL context: succeeded
...making context current: succeeded
Initializing OpenGL extensions
...using GL_S3_s3tc
...using GL_EXT_texture_env_add
...using WGL_EXT_swap_control
...using GL_ARB_multitexture
...using GL_EXT_compiled_vertex_array
...WGL_3DFX_gamma_control not found

GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce4 MX 420/PCI/SSE
GL_VERSION: 1.4.0
GL_EXTENSIONS: GL_ARB_imaging GL_ARB_multitexture GL_ARB_point_parameters 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_program GL_ARB_window_pos GL_S3_s3tc GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint 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_shared_texture_palette GL_EXT_stencil_wrap GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_add 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_EXT_vertex_weighting GL_IBM_texture_mirrored_repeat G
GL_MAX_TEXTURE_SIZE: 2048
GL_MAX_ACTIVE_TEXTURES_ARB: 2

PIXELFORMAT: color(32-bits) Z(24-bit) stencil(0-bits)
MODE: 6, 1024 x 768 fullscreen hz:60
GAMMA: hardware w/ 0 overbright bits
CPU: Intel Pentium III
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_LINEAR
picmip: 0
texture bits: 32
multitexture: enabled
compiled vertex arrays: enabled
texenv add: enabled
compressed textures: enabled
HACK: using vertex lightmap approximation
Forcing glFinish
Initializing Shaders
WARNING: no shader files found
trying projectionShadow.TGA...
Couldn't find image for shader projectionShadow
trying flareShader.TGA...
Couldn't find image for shader flareShader
trying sun.TGA...
Couldn't find image for shader sun
----- finished R_Init -----
trying gfx/2d/bigchars.TGA...
Couldn't find image for shader gfx/2d/bigchars
trying white.TGA...
Couldn't find image for shader white
trying console.TGA...
Couldn't find image for shader console

------- sound initialization -------
Initializing DirectSound
locked hardware. ok
------------------------------------
----- Sound Info -----
sound system is muted
1 stereo
32768 samples
16 samplebits
1 submission_chunk
22050 speed
0x10598060 dma buffer
Not forcing sounds to 8 bit
No background file.
----------------------
Loading dll file ui.
Failed to load dll, looking for qvm.
Loading vm file vm/ui.qvm.
Failed.
----- CL_Shutdown -----
RE_Shutdown( 1 )
Shutting down OpenGL subsystem
...wglMakeCurrent( NULL, NULL ): success
...deleting GL context: success
...releasing DC: success
...destroying window
...resetting display
...shutting down QGL
...unloading OpenGL DLL
-----------------------
VM_Create on UI failed
 

Reznor007

New member
You can NEVER modify the original pk3 files as they are checked. However, you can make a new pk3 file, name it zmypak.pk3 (the Z is there because Q3 loads paks alphabetically) and setup your file with the same directory structure and file names as the files you want to replace.

Also, when making the pk3 it has to be a Zip format file with NO COMPRESSION on it. A pk3 file is just an uncompressed zip.
 
OP
iq_132

iq_132

Banned
Damn.
I wanted to reduce the file size too :( I hate having one file just sitting around that's 500mb.
 

Top