[imagetool] convert confont.lmp to PCX?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Nash
 
 
Posts: 17501
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

[imagetool] convert confont.lmp to PCX?

Post by Nash »

I want to pull out an old confont.lmp I made for an old project which I don't have the source graphic to anymore... how do I convert this back into a normal image so I can bring it in Photoshop or whatever? I tried both of these, they didn't produce a usable file.

imagetool image confont.lmp confont.pcx
imagetool confont confont.lmp confont.pcx
User avatar
Mr.Rocket
Posts: 102
Joined: Mon Dec 26, 2005 1:50 am
Contact:

Re: [imagetool] convert confont.lmp to PCX?

Post by Mr.Rocket »

Ah man it's been awhile since i'v thought about making doom fonts other than for tech4 hexen eoc.

hmm, lmps directly, Xwe or Slade, but I guess it also depends what format the fonts were in before converted (afaik they could have been a single pic_t binary image) into a single lump, instead of many separate font letter/number image lumps. ~ which kind of makes me think of Deepsea doing such, and allowing you to have something to work with.
Other than that, the only thing I can think of is the program called DoomCrap, why such a name, I don't know.
Hopefully if it converted it, it should decompile it as well. :\
http://forum.zdoom.org/viewtopic.php?f= ... 4&start=90

Now, again it's been awhile and I didn't check to see if the download link is useable, but if you can output it or grab a screenshot then you might be in business. ~ and then convert it to a pcx via paint proggy.
User avatar
Nash
 
 
Posts: 17501
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: [imagetool] convert confont.lmp to PCX?

Post by Nash »

The source image - confon.lmp - is in [wiki]FON1[/wiki] format. The imagetool readme says it can convert LMPs back into regular images, which is why I made this thread.

SLADE shows the image in the wrong colours, plus it draws every glyph on a separate line so it's this long 8x<whatever>* graphic instead of a neat 256x256 template.

I have DoomCrap 0.1.4. There doesn't seem to be any tool in there that will do what I need. The closest thing is DoomPicDump (batch image tool.bat) but that doesn't seem to do what I need either.

* Just woke up too lazy to check the exact number
User avatar
Enjay
 
 
Posts: 27158
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: [imagetool] convert confont.lmp to PCX?

Post by Enjay »

It's reasonably straightforward (I just checked it an it worked):

imagetool pcx confont.lmp confont.pcx

Where either instance of the word "confont" can be substituted with a suitable name for your files.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: [imagetool] convert confont.lmp to PCX?

Post by Gez »

Nash wrote:SLADE shows the image in the wrong colours
It's because that format doesn't use palette like normally, but use the indices as shades from darkest to brightest. Use the grayscale palette.
User avatar
Nash
 
 
Posts: 17501
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: [imagetool] convert confont.lmp to PCX?

Post by Nash »

Thanks Enjay!
Locked

Return to “Editing (Archive)”