-
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.
-
Do you know the quality of the textures quake2 uses? I guess the 'data' after the width & height is gonna be something like bytes representing RGB values. (each ranging from 0 to 255, 8 bytes).
Sorry i can't give you more help.
-
They invented a very nice site for that :)
http://www.wotsit.org
Have fun!
-
i've allready been there, but it didnt help me...
i've figured it out by myself though ;)