Results 1 to 4 of 4

Thread: mip/lump/wad files

Threaded View

  1. #1

    Thread Starter
    Frenzied Member cyborg's Avatar
    Join Date
    May 2000
    Location
    Sweden
    Posts
    1,755

    Question mip/lump/wad files

    hi!

    i've made a program to read quake's .wad file (WAD2)
    in them, there are textures (MIP/LUMP)...does anyone know how to read them?

    i know this:
    first 16 bytes = name
    next 4 bytes = width
    next 4 bytes = height
    the rest = data...

    the length of the data is aprox width*height*1.33 but i cant figure out why.
    Last edited by cyborg; Sep 22nd, 2003 at 11:34 PM.
    Check out the FAQ and do a search before you post.
    My tutorials: Anti-Alias Pixels, Accurate Game Loop, Resource File

Posting Permissions

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



Click Here to Expand Forum to Full Width