Шрифт из оригинальной игры Saboteur 2

Из исходника .z80 был снят скрин оригинального шрифта игры Saboteur 2 Avenging Angel


Процесс извлечения происходил в несколько этапов:

1. С помощью утилиты GfxRip выдираем битовые данные шрифта

 

Настраиваем программу на показ спрайтов 8х8

Видим среди дампа то самый шрифт.

Сохраняем его в bmp:

На выходе получаем следующее:


пару симловов "зажованы" из-за того что в игре применена система сжатия чередующихся одинаковых символов, но это уже ручками в паинте подправить не проблема.

 

2. Импортируем изовражение в BitFontReader

Здесь мы задаём каждому сегменту изображения соответствующий символ.

После нажатия кнопки "Get code" получаем текстовый блок описания шрифта

 

 

Полученный текстовый блок{"36":[197388,197388,212988,212988,197436,197436,212988,212988,209676,209676,212988,212988,0,0,0,0],"42":[209100,209100,200460,200460,262140,262140,200460,200460,209100,209100,245820,245820,0,0,0,0],"43":[197388,197388,197388,197388,212988,212988,197388,197388,197388,197388,196620,196620,0,0,0,0],"45":[0,0,0,0,1020,1020,0,0,0,0,0,0,0,0,0,0],"46":[196620,196620,196620,196620,196620,196620,196620,196620,208908,208908,196620,196620,0,0,0,0],"47":[12288,12288,3072,3072,768,768,192,192,48,48,12,12,0,0,0,0],"48":[16380,16380,12300,12300,12300,12300,15372,15372,15372,15372,16380,16380,0,0,0,0],"49":[48,48,48,48,48,48,60,60,60,60,60,60,0,0,0,0],"50":[16380,16380,12288,12288,12288,12288,16380,16380,60,60,16380,16380,0,0,0,0],"51":[16380,16380,12288,12288,16320,16320,15360,15360,15360,15360,16380,16380,0,0,0,0],"52":[12300,12300,12300,12300,16380,16380,15360,15360,15360,15360,15360,15360,0,0,0,0],"53":[16380,16380,12,12,16380,16380,15360,15360,15360,15360,16380,16380,0,0,0,0],"54":[16380,16380,12,12,16380,16380,15372,15372,15372,15372,16380,16380,0,0,0,0],"55":[16380,16380,12288,12288,12288,12288,15360,15360,15360,15360,15360,15360,0,0,0,0],"56":[16380,16380,12300,12300,16380,16380,15372,15372,15372,15372,16380,16380,0,0,0,0],"57":[16380,16380,12300,12300,16380,16380,15360,15360,15360,15360,15360,15360,0,0,0,0],"61":[0,0,16380,16380,0,0,16380,16380,0,0,0,0,0,0,0,0],"63":[3084,3084,3072,3072,960,960,192,192,0,0,192,192,0,0,0,0],"65":[16380,16380,12300,12300,12300,12300,16380,16380,15372,15372,15372,15372,0,0,0,0],"66":[4092,4092,12300,12300,4092,4092,15372,15372,15372,15372,4092,4092,0,0,0,0],"67":[16380,16380,12,12,12,12,60,60,60,60,16380,16380,0,0,0,0],"68":[4092,4092,12300,12300,12300,12300,15372,15372,15372,15372,4092,4092,0,0,0,0],"69":[16380,16380,12,12,16380,16380,60,60,60,60,16380,16380,0,0,0,0],"70":[16380,16380,12,12,16380,16380,60,60,60,60,60,60,0,0,0,0],"71":[16380,16380,12300,12300,12,12,16140,16140,15372,15372,16380,16380,0,0,0,0],"72":[12300,12300,12300,12300,16380,16380,15372,15372,15372,15372,15372,15372,0,0,0,0],"73":[48,48,48,48,48,48,60,60,60,60,60,60,0,0,0,0],"74":[12288,12288,12288,12288,12288,12288,15372,15372,15372,15372,16380,16380,0,0,0,0],"75":[12300,12300,12300,12300,16380,16380,3852,3852,3852,3852,3852,3852,0,0,0,0],"76":[12,12,12,12,12,12,60,60,60,60,16380,16380,0,0,0,0],"77":[16380,16380,12492,12492,12492,12492,15564,15564,15564,15564,15564,15564,0,0,0,0],"78":[12540,12540,12492,12492,12492,12492,15564,15564,15564,15564,16332,16332,0,0,0,0],"79":[16380,16380,12300,12300,12300,12300,15372,15372,15372,15372,16380,16380,0,0,0,0],"80":[16380,16380,12300,12300,12300,12300,16380,16380,60,60,60,60,0,0,0,0],"81":[16380,16380,12300,12300,12300,12300,16140,16140,16140,16140,65532,65532,0,0,0,0],"82":[16380,16380,12300,12300,12300,12300,16380,16380,3852,3852,3852,3852,0,0,0,0],"83":[16380,16380,12,12,16380,16380,15360,15360,15360,15360,16380,16380,0,0,0,0],"84":[16380,16380,768,768,768,768,960,960,960,960,960,960,0,0,0,0],"85":[12300,12300,12300,12300,12300,12300,3888,3888,3888,3888,960,960,0,0,0,0],"86":[12300,12300,12300,12300,12300,12300,15372,15372,15372,15372,16380,16380,0,0,0,0],"87":[12492,12492,12492,12492,12492,12492,15564,15564,15564,15564,16380,16380,0,0,0,0],"88":[12300,12300,3120,3120,960,960,960,960,3888,3888,15372,15372,0,0,0,0],"89":[12300,12300,12300,12300,16380,16380,960,960,960,960,960,960,0,0,0,0],"90":[16380,16380,12288,12288,16380,16380,60,60,60,60,16380,16380,0,0,0,0],"97":[16380,16380,12300,12300,12300,12300,16380,16380,15372,15372,15372,15372,0,0,0,0],"98":[4092,4092,12300,12300,4092,4092,15372,15372,15372,15372,4092,4092,0,0,0,0],"99":[16380,16380,12,12,12,12,60,60,60,60,16380,16380,0,0,0,0],"100":[4092,4092,12300,12300,12300,12300,15372,15372,15372,15372,4092,4092,0,0,0,0],"101":[16380,16380,12,12,16380,16380,60,60,60,60,16380,16380,0,0,0,0],"102":[16380,16380,12,12,16380,16380,60,60,60,60,60,60,0,0,0,0],"103":[16380,16380,12300,12300,12,12,16140,16140,15372,15372,16380,16380,0,0,0,0],"104":[12300,12300,12300,12300,16380,16380,15372,15372,15372,15372,15372,15372,0,0,0,0],"105":[48,48,48,48,48,48,60,60,60,60,60,60,0,0,0,0],"106":[12288,12288,12288,12288,12288,12288,15372,15372,15372,15372,16380,16380,0,0,0,0],"107":[12300,12300,12300,12300,16380,16380,3852,3852,3852,3852,3852,3852,0,0,0,0],"108":[12,12,12,12,12,12,60,60,60,60,16380,16380,0,0,0,0],"109":[16380,16380,12492,12492,12492,12492,15564,15564,15564,15564,15564,15564,0,0,0,0],"110":[12540,12540,12492,12492,12492,12492,15564,15564,15564,15564,16332,16332,0,0,0,0],"111":[16380,16380,12300,12300,12300,12300,15372,15372,15372,15372,16380,16380,0,0,0,0],"112":[16380,16380,12300,12300,12300,12300,16380,16380,60,60,60,60,0,0,0,0],"113":[16380,16380,12300,12300,12300,12300,16140,16140,16140,16140,65532,65532,0,0,0,0],"114":[16380,16380,12300,12300,12300,12300,16380,16380,3852,3852,3852,3852,0,0,0,0],"115":[16380,16380,12,12,16380,16380,15360,15360,15360,15360,16380,16380,0,0,0,0],"116":[16380,16380,768,768,768,768,960,960,960,960,960,960,0,0,0,0],"117":[12300,12300,12300,12300,12300,12300,3888,3888,3888,3888,960,960,0,0,0,0],"118":[12300,12300,12300,12300,12300,12300,15372,15372,15372,15372,16380,16380,0,0,0,0],"119":[12492,12492,12492,12492,12492,12492,15564,15564,15564,15564,16380,16380,0,0,0,0],"120":[12300,12300,3120,3120,960,960,960,960,3888,3888,15372,15372,0,0,0,0],"121":[12300,12300,12300,12300,16380,16380,960,960,960,960,960,960,0,0,0,0],"122":[16380,16380,12288,12288,16380,16380,60,60,60,60,16380,16380,0,0,0,0],"O":"64"}

 

 

3. Содержимое текстового блока вставляем в BitFontMaker2



Где соответственно после незначительных корректировок если таковые требуются жмём кнопку BUILD FONT и на выходе получаем шрифт формата ttf.

© 2021 MidaDev.