Page 1 of 1

Evolution Engine 1.6 font bitmap

Posted: Mon Jan 23, 2017 5:29 pm
by cienislaw
In this file you can find Evolution Engine 1.6 (The Darkness II) bitmap fonts - English and Russian. Files are split in 2 parts - header and bitmap itself.

Code: Select all

Header
DWORD - string count
for each string:
DWORD - string lenght
X * BYTE - string
after there are 0xA0 bytes:
DWORD - zero
DWORD - 0x94 - probably a size of this structure, but even without this 4 bytes, its 8 bytes longer
QWORD - 01 00 01 00 00 00 00 02
QWORD - something related to width and height or size in general 
0x54 bytes - unknown
DWORD - checksum? different for each file
0x0C bytes - zeros
DWORD - checksum? different for each file
8 x 00 00 80 3F
DWORD - zeros
bitmap looks like block based, you can get 'something' using Warframe method for textures, but I can't get it fully right. does anyone has idea how to convert bitmap to readable format?

Re: Evolution Engine 1.6 font bitmap

Posted: Sun Oct 27, 2019 2:03 pm
by AndylgRu
No news?

Re: Evolution Engine 1.6 font bitmap

Posted: Sun Oct 27, 2019 4:12 pm
by cienislaw
nothing :-( we released Polish translation without national chars because of that. I was trying to contact various Digital Extreme devs involved in TD2, but it's to ancient stuff for them, so no luck here too.

Re: Evolution Engine 1.6 font bitmap

Posted: Thu Nov 14, 2019 7:55 pm
by vadim
:)

Re: Evolution Engine 1.6 font bitmap

Posted: Thu Nov 14, 2019 8:02 pm
by cienislaw
thx, but withou magical D2.exe its useless for me;-( if you know how to convert EE1.6 bitmaps to 'normal' format and back, please share your findings. I would gladly update our translation to support zażółć gęślą jaźń chars;-) Спасибо.

Re: Evolution Engine 1.6 font bitmap

Posted: Fri Nov 15, 2019 2:04 am
by ripper
DXT3 :cry:
Well, here is bms script written by episoder. Just replace lines 3-25 with

Code: Select all

ofs = 0
w = 1024
h = 128
f = 5
ofs - is offset. In our case is always 0.
w -width (you can find it in files from H. prefix)
h - height (you can find it in files from H. prefix too)
f - out format 5 is for DXT5 you could manualy change each file after converting or replace value in line 117 to 861165636.
And now all you need to do is change width and height for images. I'll share my little converter later(mb in december, when have more time), if nobody share it first =-)

Re: Evolution Engine 1.6 font bitmap

Posted: Fri Nov 15, 2019 9:20 am
by cienislaw
thx. looks promising. i've closed project almost 3 years ago and will have to dig it up first. with working script and reversed format I can manage rest on my own.