|
-
Sep 22nd, 2003, 10:55 PM
#1
Thread Starter
Frenzied Member
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.
-
Sep 23rd, 2003, 06:35 AM
#2
Not NoteMe
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.
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe
"I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
Have I helped you? Please Rate my posts. 
-
Sep 23rd, 2003, 11:38 AM
#3
Frenzied Member
They invented a very nice site for that 
http://www.wotsit.org
Have fun!
-
Sep 24th, 2003, 01:37 PM
#4
Thread Starter
Frenzied Member
i've allready been there, but it didnt help me...
i've figured it out by myself though
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|