Page 1 of 1

Imagetool Not Saving

Posted: Wed Feb 20, 2008 2:31 pm
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?

Re: Imagetool Not Saving

Posted: Wed Feb 20, 2008 2:35 pm
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.

Re: Imagetool Not Saving

Posted: Wed Feb 20, 2008 7:27 pm
by killingblair
Ah, works now. Thanks a million. :)