Author Topic: [FF8] Proposal for creating a new utility  (Read 3539 times)

shikulja

  • *
  • Posts: 68
    • View Profile
[FF8] Proposal for creating a new utility
« on: 2019-09-13 20:10:29 »
We all suffer when creating FF8 font
This is especially true for alignment width
1. You need to read the width of each character in the image editor
2. Write, read the width of the .tdw file on the calculator
3. And change the width in the .tdw file manually for each character
It's time to make a tool that will do this with a couple of mouse clicks.
What is required:
1. Pars .bmp .png image
The grid width can be determined automatically, by image size, or left manually (24x24)
Determine the letter and shadow, according to the palette, or manually by color.
Count the number of pixels of each symbol cell for both sysfld00 sysfld01 files
2. Set the desired factor and rounding (up or down) 1.66 <>, 1.67 <>
more details were here
http://forums.qhimm.com/index.php?topic=14870.msg208657#msg208657
3. Insert widths directly into the .tdw file, or in the field
4. optionally convert images to .tex and paste into field (replacing deiling and Omega completely, you won’t need any more programs, just make coffee and rejoice)

What do we get:
- Reduce an incredible amount of time to calculate the widths, and manually insert in .tdw
- We reduce errors in the calculations to 0
- no character table needed
- Sea of ​​joy

[FF8] Предложение для создание новой утилиты
Все мы мучаемся при создании шрифта FF8
Особенно это касается выравнивания ширины
1. Нужно считать ширину каждого символа в редакторе изображений
2. Записывать, считать на калькуляторе ширину для .tdw файла
3. И менять ширину в .tdw файле вручную для каждого символа
Давно пора сделать инструмент который это будет делать, парой кликов мыши.
Что требуется:
1. Парсить .bmp .png изображение
Ширину сетки можно определить автоматически, по размеру изображения, либо оставить вручную (24x24)
Определить букву и тень, по палитре, или вручную по цвету.
Посчитать количество пикселей каждой ячейки символа для обоих файлов sysfld00 sysfld01
2. Задать нужный множитель и округление (в большую или меньшую сторону) 1.66 <>, 1.67 <>
подробнее было тут
http://forums.qhimm.com/index.php?topic=14870.msg208657#msg208657
3. Вставка ширин напрямую в .tdw файл, либо в field
4. опционально конвертировать изображения в .tex и вставлять в field (заменяя deiling и Omega полностью, не нужно будет больше никаких программ, просто сделай кофе и радуйся)

Что мы получим:
- Сократим невероятное количество времени на расчет ширин, и ручную вставку в .tdw
- Сведем ошибки при расчетах до 0
- никакой таблицы символов не нужно
- Море радости
« Last Edit: 2019-09-13 20:53:51 by shikulja »

shikulja

  • *
  • Posts: 68
    • View Profile
Re: [FF8] Proposal for creating a new utility
« Reply #1 on: 2019-09-13 20:47:48 »
An example of how much needs to be done now.
1. count the width of EVERY character


2. We write and calculate the width for tdw


3. Edit the width of EVERY character


4. Insert the same file back into the field


Easy editing here does not smell ..
did you want a beautiful font? have to suffer for a very long time, strain your eyes, and spend time


Пример того сколько нужно сделать сейчас.
1. считаем ширину КАЖДОГО символа
2. Записываем и рассчитываем ширину для tdw
3. Редактируем ширину КАЖДОГО символа
4. Вставляем этот же файл обратно в field
Легким редактированием тут и не пахнет..
вы хотели красивый шрифт? придется очень долго страдать, напрягать глаза, и тратить время

Mcindus

  • *
  • Posts: 929
  • Artist, Modder, Musician.
    • View Profile
    • Lunatic Pandora
Re: [FF8] Proposal for creating a new utility
« Reply #2 on: 2019-09-13 20:51:39 »
I really like this idea.
The remaster didn't even do something like this.  They made their own font widths table that IS NOT the same as the one in the .tdw file
I want a beautiful font, but I'm forced to use their widths right now, which I hate.  I know for translations it's even worse.
If there's a way to figure out font widths table in the remaster, you might not even have to do something this involved.
Good luck!

Sebanisu

  • *
  • Posts: 171
    • View Profile
Re: [FF8] Proposal for creating a new utility
« Reply #3 on: 2019-09-14 04:43:55 »
I think I could make a tool that measures the pixels of the characters and automatically makes changes to the the file. I have code in monogame to trim the transparent pixels off a location. So you would just need to align your font characters to the grid., I should sleep bah, night.

shikulja

  • *
  • Posts: 68
    • View Profile
Re: [FF8] Proposal for creating a new utility
« Reply #4 on: 2019-09-29 19:09:06 »
if anyone tries to make a utility, use the CLI, at least optionally