[DoomCRAP] ZDoom Font Generator

Any utility that assists in the creation of mods, assets, etc, go here. For example: Ultimate Doom Builder, Slade, WadSmoosh, Oblige, etc.
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
User avatar
Zippy
Posts: 3302
Joined: Wed Mar 23, 2005 5:31 pm
Location: New Jersey

Re: ZDoom Font Generator [updated - 0.2.7]

Post by Zippy »

bagheadspidey wrote:hmm... looks like that option only works for confonts. I'll see about switching those palette indexes around...
Easy mistake to make when the text documentation gets it wrong.
User avatar
bagheadspidey
Posts: 1490
Joined: Sat Oct 20, 2007 10:31 pm

Re: ZDoom Font Generator [updated - 0.2.7]

Post by bagheadspidey »

Okay, this is starting to come back to me. Yeah, the bigfonts have to be done by hand because I really don't have much control over the palette with this framework, so color bigfonts will look shitty with palette fixing the way it is, even if it worked (as you mentioned, Zippy, it follows the imagetool documentation which has the box color and bg color switched). I want to make a small change to imagetool where index 0 is the box color and index 1 is the bg color, that way those will be the first two colors it sees when wx quantizes the image and everything should work out. I'm going to try messing with imagetool in a disassembler, does anyone know of a good one?

Edit - wait, the documentation is right -- index 0 is transparent and index 255 is for box lines.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm

Re: ZDoom Font Generator [updated - 0.2.7]

Post by randi »

Zippy wrote:Easy mistake to make when the text documentation gets it wrong.
The documentation is not wrong, but if you use Photoshop, it gets the palettes backwards.
User avatar
Zippy
Posts: 3302
Joined: Wed Mar 23, 2005 5:31 pm
Location: New Jersey

Re: ZDoom Font Generator [updated - 0.2.7]

Post by Zippy »

randy wrote:The documentation is not wrong, but if you use Photoshop, it gets the palettes backwards.
Well, that's awfully nice of them.

On the plus side, I will now remember this forever.
User avatar
bagheadspidey
Posts: 1490
Joined: Sat Oct 20, 2007 10:31 pm

Re: ZDoom Font Generator [updated - 0.2.7]

Post by bagheadspidey »

Ok, it's not perfect but it should work much better now... what do you think?

http://baghead.drdteam.org/apps/doomcrap-0.1.3.zip

You can save bigfonts directly as lumps now :)

Image
User avatar
bagheadspidey
Posts: 1490
Joined: Sat Oct 20, 2007 10:31 pm

Re: [DoomCRAP] ZDoom Font Generator

Post by bagheadspidey »

Bump... added frontend for more imagetool stuff, cleaned things up, documented changes to imagetool. Cutman and Zippy, the problems you guys were having should be gone now.

http://baghead.drdteam.org/apps/doomcrap-0.1.4.zip

To everyone who commented in this thread earlier / a long time ago and I missed it, sorry about that. If there's still stuff you want to see happen with this program, now's the time to ask...
User avatar
Nash
 
 
Posts: 17472
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: [DoomCRAP] ZDoom Font Generator

Post by Nash »

Wasn't grabpng part of DoomCRAP...?

EDIT: Works perfectly so far. Thanks for the updates, baghead. :D Too bad there's still no way to disable anti-aliasing... it's necessary for those low res, crisp small fonts.

But it's still an awesome tool. Thanks again for taking the time to code this, baghead! I've said it before and I'll say it again... this tool is still helping me enjoy real-life(tm) by making the process of creating fonts in Doom a breeze! :D
User avatar
bagheadspidey
Posts: 1490
Joined: Sat Oct 20, 2007 10:31 pm

Re: [DoomCRAP] ZDoom Font Generator

Post by bagheadspidey »

It never was before, but now that I think about it, the whole reason I started working on grabpng was to avoid having to run setpng under wine on linux... I kind of forgot about that I guess. It's included now. Link updated.

edit - about the antialiasing thing, wxLua has been updated pretty recently, I'll see if it works any better in the latest version. The option to turn off antialiasing has always been there, but it never did anything before. And thanks for the shout-out, I might have to update your quote on my tools page ;)
User avatar
Nash
 
 
Posts: 17472
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: [DoomCRAP] ZDoom Font Generator

Post by Nash »

Quotes eh? I kinda think this one's better but whatever. :D

(I still can't believe I used to do it like this...)
Dave_B
Posts: 54
Joined: Tue Jun 08, 2010 8:20 am

Re: [DoomCRAP] ZDoom Font Generator

Post by Dave_B »

Doesn't work for me, I try to save the file as a lump but instead it reads "Unable to save." What have I done wrong here?
TheBladeRoden
Posts: 13
Joined: Thu Jan 20, 2011 10:33 pm

Re: [DoomCRAP] ZDoom Font Generator

Post by TheBladeRoden »

Dave_B wrote:Doesn't work for me, I try to save the file as a lump but instead it reads "Unable to save." What have I done wrong here?
At the peril of great thread necromancy, I"m having the same problem
User avatar
DoomerMrT
Posts: 370
Joined: Tue Nov 21, 2006 10:58 am
Location: Budapest,Hungary

Re: [DoomCRAP] ZDoom Font Generator

Post by DoomerMrT »

I had the same problem. The problem is that the font generator doesn't set the right color index for the background, you have to do that manually. I used paint to fill the background with cyan and then used irfanview to set palette color index 0 to 0 255 255(cyan). It can be any color for that matter, just make sure the filling color matches the palette index 0. Then you can import it to font generator and use it as a source image, or do it manually with imagetool from the command line.
DnB-Freak
Posts: 304
Joined: Sun May 19, 2013 12:09 pm

Re: [DoomCRAP] ZDoom Font Generator

Post by DnB-Freak »

This is one damn useful crap! Did you wrote it all yourself?
User avatar
cortlong50
Posts: 753
Joined: Mon Jun 24, 2013 7:12 pm
Location: UT-WA

Re: [DoomCRAP] ZDoom Font Generator

Post by cortlong50 »

holy hell im late but ive needed this for some time.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed

Re: [DoomCRAP] ZDoom Font Generator

Post by wildweasel »

Chickenlegz wrote:This is one damn useful crap! Did you wrote it all yourself?
Unfortunately, sir, bagheadspidey hasn't logged in to the forums since 2010, so you are quite late.

Return to “Creation, Conversion, and Editing”