• Shoutbox
    Active Users: 0
     
  • Notice: N/A
    Loading...
 
  • Active Users
     
  • There are currently no users chatting.
 
Results 1 to 3 of 3
  1. #1

    Another WTF moment in mapping.

    My current map has a frame rate issue but only when facing the center of the map.
    Stand in any spot of the map and turn to look in any direction and the frames drastically change between 135.6 and as low as mid 40s.
    I have applied vis leaf groups as best I can for this map design.

    The map is almost 100% custom textures so I thought to reduce the load by optimizing the jpg textures.
    This has now caused the map not to load at all as the game now spits out an error totally unrelated to textures.
    I restored my previous pk3 from the recycle bin and the map loads perfectly fine.
    The ONLY thing changed was the texture optimization yet here's the error it gives.


    --- Common Initialization ---
    Medal of Honor Allied Assault 1.11 win-x86 Mar 5 2002
    ----- FS_Startup -----
    Current search path:
    C:\GAMES\MOHAA/main
    C:\GAMES\MOHAA\main\server-auto_team_balancer_v0321_b.pk3 (4 files)
    C:\GAMES\MOHAA\main\pakradarmenus.pk3 (5 files)
    C:\GAMES\MOHAA\main\pak6.pk3 (104 files)
    C:\GAMES\MOHAA\main\Pak5.pk3 (259 files)
    C:\GAMES\MOHAA\main\Pak4.pk3 (593 files)
    C:\GAMES\MOHAA\main\Pak3.pk3 (669 files)
    C:\GAMES\MOHAA\main\Pak2.pk3 (4722 files)
    C:\GAMES\MOHAA\main\Pak1.pk3 (772 files)
    C:\GAMES\MOHAA\main\Pak0.pk3 (11175 files)
    C:\GAMES\MOHAA\main\entdefs.pk3 (19 files)
    C:\GAMES\MOHAA\main\buzzard.pk3 (240 files)

    ----------------------
    18562 files in pk3 files
    execing default.cfg
    execing menu.cfg
    execing newconfig.cfg
    Config: unnamedsoldier.cfg
    execing configs/unnamedsoldier.cfg
    couldn't exec localized.cfg
    execing autoexec.cfg
    ...detecting CPU, found Intel Pentium III

    ------- Input Initialization -------
    Skipping check for DirectInput
    ------- Input Initialization Complete ------- 0
    You are now setup for easy mode.
    ----- Client Initialization -----
    Called FadeSound with: 0.000000
    ----- Initializing Renderer ----
    ----- R_Init -----
    Initializing OpenGL subsystem
    ...initializing QGL
    ...calling LoadLibrary( 'C:\Windows\system32\opengl32.dll' ): succeeded
    ...setting mode -1: 1920 1080 FS
    ...using colorsbits of 32
    ...calling CDS: ok
    ...registered window class
    ...created window@0,0 (1920x1080)
    Initializing OpenGL driver
    ...getting DC: succeeded
    ...GLW_ChoosePFD( 32, 24, 0 )
    ...215 PFDs found
    ...hardware acceleration found
    ...PIXELFORMAT 32 selected
    ...creating GL context: succeeded
    ...making context current: succeeded
    Initializing OpenGL extensions
    ...using GL_EXT_texture_compression_s3tc
    ...using GL_ARB_texture_compression
    ...using GL_EXT_texture_env_add
    ...using WGL_EXT_swap_control
    ...using GL_ARB_multitexture
    ...GL_EXT_texture_env_combine not found
    ...using GL_EXT_compiled_vertex_array
    ...WGL_3DFX_gamma_control not found

    GL_VENDOR: ATI Technologies Inc.
    GL_RENDERER: AMD Radeon(TM) R7 Graphics
    GL_VERSION: 4.5.13497 Compatibility Profile Context 23.20.788.0
    GL_EXTENSIONS: GL_ARB_depth_texture
    GL_EXTENSIONS: GL_ARB_fragment_program
    GL_EXTENSIONS: GL_ARB_fragment_shader
    GL_EXTENSIONS: GL_ARB_multisample
    GL_EXTENSIONS: GL_ARB_multitexture
    GL_EXTENSIONS: GL_ARB_occlusion_query
    GL_EXTENSIONS: GL_ARB_point_parameters
    GL_EXTENSIONS: GL_ARB_point_sprite
    GL_EXTENSIONS: GL_ARB_shader_objects
    GL_EXTENSIONS: GL_ARB_shading_language_100
    GL_EXTENSIONS: GL_ARB_shadow
    GL_EXTENSIONS: GL_ARB_shadow_ambient
    GL_EXTENSIONS: GL_ARB_texture_border_clamp
    GL_EXTENSIONS: GL_ARB_texture_compression
    GL_EXTENSIONS: GL_ARB_texture_cube_map
    GL_EXTENSIONS: GL_ARB_texture_env_add
    GL_EXTENSIONS: GL_ARB_texture_env_combine
    GL_EXTENSIONS: GL_ARB_texture_env_crossbar
    GL_EXTENSIONS: GL_ARB_texture_env_dot3
    GL_EXTENSIONS: GL_ARB_texture_mirrored_repeat
    GL_EXTENSIONS: GL_ARB_transpose_matrix
    GL_EXTENSIONS: GL_ARB_vertex_buffer_object
    GL_EXTENSIONS: GL_ARB_vertex_program
    GL_EXTENSIONS: GL_ARB_vertex_shader
    GL_EXTENSIONS: GL_ARB_window_pos
    GL_EXTENSIONS: GL_ATI_draw_buffers
    GL_EXTENSIONS: GL_ATI_envmap_bumpmap
    GL_EXTENSIONS: GL_ATI_fragment_shader
    GL_EXTENSIONS: GL_ATI_separate_stencil
    GL_EXTENSIONS: GL_ATI_texture_compression_3dc
    GL_EXTENSIONS: GL_ATI_texture_env_combine3
    GL_EXTENSIONS: GL_EXT_abgr
    GL_EXTENSIONS: GL_EXT_bgra
    GL_EXTENSIONS: GL_EXT_blend_color
    GL_EXTENSIONS: GL_EXT_blend_func_separate
    GL_EXTENSIONS: GL_EXT_blend_minmax
    GL_EXTENSIONS: GL_EXT_blend_subtract
    GL_EXTENSIONS: GL_EXT_compiled_vertex_array
    GL_EXTENSIONS: GL_EXT_copy_texture
    GL_EXTENSIONS: GL_EXT_draw_range_elements
    GL_EXTENSIONS: GL_EXT_fog_coord
    GL_EXTENSIONS: GL_EXT_framebuffer_object
    GL_EXTENSIONS: GL_EXT_gpu_program_parameters
    GL_EXTENSIONS: GL_EXT_multi_draw_arrays
    GL_EXTENSIONS: GL_EXT_packed_pixels
    GL_EXTENSIONS: GL_EXT_point_parameters
    GL_EXTENSIONS: GL_EXT_rescale_normal
    GL_EXTENSIONS: GL_EXT_secondary_color
    GL_EXTENSIONS: GL_EXT_separate_specular_color
    GL_EXTENSIONS: GL_EXT_shadow_funcs
    GL_EXTENSIONS: GL_EXT_stencil_wrap
    GL_EXTENSIONS: GL_EXT_subtexture
    GL_EXTENSIONS: GL_EXT_texgen_reflection
    GL_EXTENSIONS: GL_EXT_texture3D
    GL_EXTENSIONS: GL_EXT_texture_compression_s3tc
    GL_EXTENSIONS: GL_EXT_texture_cube_map
    GL_EXTENSIONS: GL_EXT_texture_edge_clamp
    GL_EXTENSIONS: GL_EXT_texture_env_add
    GL_EXTENSIONS: GL_EXT_texture_env_combine
    GL_EXTENSIONS: GL_EXT_texture_env_dot3
    GL_EXTENSIONS: GL_EXT_texture_filter_anisotropic
    GL_EXTENSIONS: GL_EXT_texture_lod_bias
    GL_EXTENSIONS: GL_EXT_texture_mirror_clamp
    GL_EXTENSIONS: GL_EXT_texture_object
    GL_EXTENSIONS: GL_EXT_texture_rectangle
    GL_EXTENSIONS: GL_EXT_texture_sRGB
    GL_EXTENSIONS: GL_EXT_vertex_array
    GL_EXTENSIONS: GL_NV_blend_square
    GL_EXTENSIONS: GL_NV_texgen_reflection
    GL_EXTENSIONS: GL_SGIS_generate_mipmap
    GL_EXTENSIONS: GL_SGIS_texture_edge_clamp
    GL_EXTENSIONS: GL_SGIS_texture_lod
    GL_EXTENSIONS: GL_WIN_swap_hint
    GL_EXTENSIONS: WGL_EXT_swap_control
    GL_MAX_TEXTURE_SIZE: 16384
    GL_MAX_ACTIVE_TEXTURES_ARB: 8

    PIXELFORMAT: color(32-bits) Z(32-bit) stencil(0-bits)
    MODE: -1, 1920 x 1080 fullscreen hz:59
    GAMMA: hardware w/ 0 overbright bits
    CPU: Intel Pentium III
    rendering primitives: single glDrawElements
    texturemode: GL_LINEAR_MIPMAP_NEAREST
    picmip: 0
    texture bits: 32
    multitexture: enabled
    compiled vertex arrays: enabled
    texenv add: enabled
    compressed textures: enabled
    Initializing Shaders
    Setting up Shaders
    ----- finished R_Init -----
    ------- profiling DrawBackground methods -------
    glDrawPixels w/ BGR: 443847 clocks
    glDrawPixels w/ RGB: 401958 clocks
    glTexSubImage2D w/ BGR: 2436565 clocks
    glTexSubImage2D w/ RGB: 1132771 clocks
    DrawBackground: using glDrawPixels with RGB data
    -------------------------------
    ------ Force Feedback Initialization -----
    Loading ff...
    ff: Creating feedback device:
    ff: ...no ff mouse found
    Failed to load ff dll
    ------------------------------------------
    --------- Force Feedback Shutdown --------
    ------------------------------------------
    Winsock Initialized
    Opening IP socket: localhost:12203
    Hostname: AccadaccA-PC
    IP: 192.168.0.4
    ------- Sound Initialization (full) -------
    Sound opened using Direct Sound
    'Miles Fast 2D Positional Audio' provider opened.
    Loading global/sound0.txt
    ------- S_StopAllSounds (stop music) -------
    ------- S_StopAllSounds Complete-------
    ----- Sound Info -----
    driver - Miles Fast 2D Positional Audio
    speaker setup - 2 speakers
    reverb - OFF
    samplebits - 16
    speed - 44100
    ----------------------
    ------- Sound Initialization Complete ------- 119 ms
    Setting up Shaders
    Loading inventory...
    MOHAADemo v1.1 powered by Wombat
    CL_Init: 1273 ms
    --- Common Initialization Complete --- 1891 ms
    Working directory: C:\GAMES\MOHAA
    ------- S_StopAllSounds (stop music) -------
    ------- S_StopAllSounds Complete-------
    -------------- PakRadar Initialization --------------
    Commands initialized, enter pr_cmdlist to list them
    Loaded 5 paks from paks.txt
    -------------- PakRadar Initialization Complete --------------
    sv_maxclients will be changed upon restarting.
    g_gametype will be changed upon restarting.
    cheats will be changed upon restarting.
    ------ Server Initialization ------
    Server: dm/buzzard
    Called FadeSound with: 0.000000
    Called FadeSound with: 0.000000
    ------- S_StopAllSounds (stop music) -------
    ------- S_StopAllSounds Complete-------
    ------- S_StopAllSounds (stop music) -------
    ------- S_StopAllSounds Complete-------
    Called FadeSound with: 0.000000
    Setting up Shaders
    UI_DrawConnect called
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/items/item_pistol_ammobox.tik
    WARNING- DOWNGRADING TO OLD ANIMATION FORMAT FOR FILE: models/ripppa/farmhorse/farmhorse.skc
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/farmhorse2.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/farmhorse.tik
    WARNING- DOWNGRADING TO OLD ANIMATION FORMAT FOR FILE: models/ripppa/horse_carriage.skc
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/horse_carriage.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/items/item_rifle_ammobox.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/weapons/springfield.tik
    ^~^~^ Add the following line to the *_precache.scr map script:
    cache models/weapons/shotgun.tik
    ^~^~^ Box data is corrupted for 'models/human/allied_pilot/allied_pilot.skd'
    ^~^~^ Morph targets data is corrupted for 'models/human/allied_pilot/allied_pilot.skd'
    ------ Server Initialization Complete ------ 1.45 seconds
    Unknown parameter for nil alias
    Unknown parameter for nil alias
    Unknown parameter for openinn alias
    Unknown parameter for openinn alias
    Unknown parameter for opensafe alias
    Unknown parameter for opensafe alias
    Unknown parameter for tumblers alias
    Unknown parameter for tumblers alias
    Called FadeSound with: 0.000000
    ------- Sound Begin Registration -------
    ------- S_StopAllSounds (stop music) -------
    ------- S_StopAllSounds Complete-------
    ------- Sound Begin Registration Complete -------


    -----------PARSING UBERSOUND------------
    Any SetCurrentTiki errors means that tiki wasn't prefetched and tiki-specific sounds for it won't work. To fix prefetch the tiki. Ignore if you don't use that tiki on this level.
    Parse/Load time: 0.373000 seconds.
    -------------UBERSOUND DONE---------------



    -----------PARSING UBERDIALOG------------
    Any SetCurrentTiki errors means that tiki wasn't prefetched and tiki-specific sounds for it won't work. To fix prefetch the tiki. Ignore if you don't use that tiki on this level.
    Parse/Load time: 0.164000 seconds.
    -------------UBERDIALOG DONE---------------

    ----- CL_Shutdown -----
    Called FadeSound with: 0.000000
    ------- S_StopAllSounds (stop music) -------
    ------- S_StopAllSounds Complete-------
    ------- Sound Shutdown (full) -------
    ------- Sound Shutdown Complete -------
    RE_Shutdown( 1 )
    Shutting down OpenGL subsystem
    ...wglMakeCurrent( NULL, NULL ): success
    ...deleting GL context: success
    ...releasing DC: success
    ...hiding window
    ...destroying window
    ...window successfully destroyed
    ...resetting display
    ...shutting down QGL
    ...unloading OpenGL DLL
    -----------------------
    ----- Server Shutdown -----
    ---------------------------
    Requested feature was omitted at compile time

    I've looked at the reported errors and there isn't a problem with any of them.... except for the use of the word "nil" which I've also done in previous maps to stop the default door sound from playing.
    Everything works in game and has been for many compiles over several weeks. No less than 5 people have tested it.
    I made the precache scr as suggested by the above error report but the same error is presented each time I try to load a new pk3 with the optimized textures.
    I can open the textures individually without problem in my paint program and they all show correctly as large icons in Windows Explorer, so they aren't corrupt.

    Just thought I'd share another "What The ...." moment in mapping.

    Crazy shit, hey?

  2. #2
    From a website:

    I had this error once, it turned out that a single jpg image containing a lot of exif information was causing the problem, try converting it to a tga.

    Also the jpg may contain icc colour profiles which can also cause a problem.

  3. #3
    Cheers mate, I guess its like the old X-mas tree lights when it was "one out, all out".
    It only happened when I tried to optimize 130 custom textures. All of the textures work otherwise.

    One of the four optimizers I tried ("Image Optimizer") actually worked in game and it optimized well but it branded its name on every image.
    So I really don't think its any individual image, just the compression rate some optimizers use.

    Thanks all the same.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •