256 is such a small number
Moderator: InsideQC Admins
11 posts
• Page 1 of 1
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!
-

behind_you - Posts: 237
- Joined: Sat Feb 05, 2011 6:57 am
- Location: Tripoli, Libya
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
-

mh - Posts: 2292
- Joined: Sat Jan 12, 2008 1:38 am
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
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).
-

revelator - Posts: 2567
- Joined: Thu Jan 24, 2008 12:04 pm
- Location: inside tha debugger
ok. Were do i find tanebrea's technique? And does proquake 4.70 psp supprt tga conchars and other textures?
-

behind_you - Posts: 237
- Joined: Sat Feb 05, 2011 6:57 am
- Location: Tripoli, Libya
Ranger366 wrote:behind_you wrote:i never said 32 bit
Targas without transparency hm
Makes sense.
They have to be 32 bit to be transparent? Does that include pink color transparency? Can i use pcxs instead?
-

behind_you - Posts: 237
- Joined: Sat Feb 05, 2011 6:57 am
- Location: Tripoli, Libya
behind_you wrote:They have to be 32 bit to be transparent? Does that include pink color transparency? Can i use pcxs instead?
1) yes, only 32b targas support transparence
2) pink color transparency? i dont think so. but i never tried it.
3) sure.
-

Ranger366 - Posts: 203
- Joined: Thu Mar 18, 2010 5:51 pm
11 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest