256 is such a small number
-
- Posts: 237
- Joined: Sat Feb 05, 2011 6:57 am
- Location: Tripoli, Libya
256 is such a small number
im lookin to
Use .tgas instead of .lmps for menu graphics, conchars, and hud
Batch .lmp converter
And an explanation on what an .lmp file is. I know its a quake image but i need to know about it (ie how much bit depth, file structure, etc.)
Thanks!
Use .tgas instead of .lmps for menu graphics, conchars, and hud
Batch .lmp converter
And an explanation on what an .lmp file is. I know its a quake image but i need to know about it (ie how much bit depth, file structure, etc.)
Thanks!
A .lmp starts with two ints - width and height. Following that is a stream of bytes (of length equal to width * height) that are indexes into the Quake palette. Couldn't be simpler.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
We knew the words, we knew the score, we knew what we were fighting for
-
- Posts: 237
- Joined: Sat Feb 05, 2011 6:57 am
- Location: Tripoli, Libya
definatly
several engines support tga conchars (or png or jpeg or ...) you get the drift look in gl_draw.c for draw_chars then compare the code from an engine like say joequake with the original to get an idea
how it works .
tenebrae got a simplistic way of doing it (close to the original) but you might want to go with joequakes textureloader (tenebraes textureloader is rather unstandard).
several engines support tga conchars (or png or jpeg or ...) you get the drift look in gl_draw.c for draw_chars then compare the code from an engine like say joequake with the original to get an idea
how it works .
tenebrae got a simplistic way of doing it (close to the original) but you might want to go with joequakes textureloader (tenebraes textureloader is rather unstandard).
-
- Posts: 237
- Joined: Sat Feb 05, 2011 6:57 am
- Location: Tripoli, Libya
-
- Posts: 237
- Joined: Sat Feb 05, 2011 6:57 am
- Location: Tripoli, Libya
-
- Posts: 237
- Joined: Sat Feb 05, 2011 6:57 am
- Location: Tripoli, Libya
-
- Posts: 237
- Joined: Sat Feb 05, 2011 6:57 am
- Location: Tripoli, Libya