Imagetool Not Saving

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
killingblair
Posts: 937
Joined: Mon Oct 04, 2004 9:16 pm

Imagetool Not Saving

Post by killingblair »

For some reason, my font I put together won't work. I don't know why, but after everything I tried to fix it, I always get this:

Code: Select all

C:\imagetool>imagetool.exe font megaman.pcx megaman.lmp
Dimensions: 105 x 105
megaman.lmp: Nothing to save

C:\imagetool>
Anyone know what's up?
Attachments
megaman.png
megaman.png (1.49 KiB) Viewed 377 times
User avatar
bagheadspidey
Posts: 1490
Joined: Sat Oct 20, 2007 10:31 pm
Contact:

Re: Imagetool Not Saving

Post by bagheadspidey »

the palette has to be set up a certain way for it to work.
imagetool.txt wrote: font
----
This produces a file of type FON2. Unlike FON1, this format supports
custom palettes and characters of varying widths. You also don't need to
supply a full 256 characters and, in fact, cannot do so without scripting.

The source image should have each character surrounded by a box made up of
palette entry 255
. Like confonts, palette entry 0 indicates transparency,
but unlike confonts, all the other 254 colors in the source image's palette
are used to colorize the font, so you can use any palette you want when
designing the font.

When converting with the command line, the first character must be a space,
and the box surrounding it must start in the upper-left corner of the source
image. These restrictions are relaxed if you use scripting, which I will
discuss later.
...in other words, that #a56b6b color should be the last entry in your palette, not the second.
killingblair
Posts: 937
Joined: Mon Oct 04, 2004 9:16 pm

Re: Imagetool Not Saving

Post by killingblair »

Ah, works now. Thanks a million. :)
Locked

Return to “Editing (Archive)”