Forum

Kinda offtopic but serious CHONCHAR help

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Kinda offtopic but serious CHONCHAR help

Postby Mexicouger » Wed Jun 16, 2010 6:20 am

I want to edit the Console characters in gfx.wad. But what format are the images in gfx.wad? I mean, If I put something in there, It won't load gfx.wad. How Am I supposed to edit stuff in gfx.wad? And Most of all, I wanna edit Console characters. Is there a special way of Doing that, Or do I just make a Image the same size as the regular console characters, and Put the letters and Numbers in? Please Help me with that Because I am a bit lost with gfx.wad editing.

Thanks
User avatar
Mexicouger
 
Posts: 514
Joined: Sat May 01, 2010 10:12 pm

Postby Spike » Wed Jun 16, 2010 8:57 am

gfx.wad is a collection of files, not unlike a pak file.
the conchars lump in there is actually a 128*128 image with black as transparent and with no header. it uses the quake palette.
the other lumps are generally in lmp format with a width+height prefix, and 255 as transparent, where applicable.

You should probably just ignore what I just said and use FrikaC's tool.

http://www.inside3d.com/frikbot/fimg/fimg_v02.zip

Never personally used it myself.

The other option is adquedit which I have used and found awkward but functional. In which case its just a pcx import/export.
Spike
 
Posts: 2892
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Postby Mexicouger » Wed Jun 16, 2010 7:30 pm

Fimg Is a great tool. It makes Converting a charm. But I didn't know you could edit WADs with it. :0
I am gonna try to open up A wad with fimg. I used TexMex last time.

So I opened the GFX.wad successfully. And I can view the images. However, That still doesn't ansswer My question on Console Characters. Can I just make a 128x128 file, Add all the words and stuff, And then put it in the gfx.wad and Call it good? Will it even load? I guess my best bet is Trying, But I would like to hear from a person who has/attempted to make a CHONCHARS sheet.
User avatar
Mexicouger
 
Posts: 514
Joined: Sat May 01, 2010 10:12 pm

Postby frag.machine » Wed Jun 16, 2010 9:04 pm

- load gfx.wad
- inside it, find the CONCHARS image lump, it's a 128x128 bitmap
- replace it with whatever image you want
- save
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2090
Joined: Sat Nov 25, 2006 1:49 pm

Postby Mexicouger » Wed Jun 16, 2010 9:13 pm

Thanks. I think I see how it works. I thought It looked for each letter and word, But It grabs whatever is in that area. it is coded through engine, And If I put a c in the f's place, the f will be a c. I get it
User avatar
Mexicouger
 
Posts: 514
Joined: Sat May 01, 2010 10:12 pm


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest