Xanadu Next font file(.dat)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
findpkq
Posts: 4
Joined: Mon Dec 10, 2018 1:38 am

Xanadu Next font file(.dat)

Post by findpkq »

falcnvrt(https://www.pokanchan.jp/dokuwiki/softw ... nvrt/start)
and the bms. file written byEkey (viewtopic.php?t=3347)

both of them can get font_scn.dat file from system.dir
falcnvrt can also convert this .dat file to .bmp file,but it can't convert .bmp to .dat file back

tried to use comtype_scan2 but failed.

Any idea about this?

Files:
https://mega.nz/#F!fKYUmaRR!yekJVKB37m3rulwKeCTJug

Great thanks.
Best regards
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Xanadu Next font file(.dat)

Post by aluigi »

I think the tool can't do the bmp->dat process because the data is manipulated for doing dat->bmp.

As far as I can see the dat is just compressed with the falcom algorithm (falcom or falcom_din):

Code: Select all

comtype falcom
get ZSIZE asize
xmath SIZE "ZSIZE * 10"
get NAME basename
clog NAME 0 ZSIZE SIZE

As you can see the decompressed file isn't readable so its content requires some work.

It was just a quick test I did and the size of the decompressed data matches the expected one, I didn't check if the algorithm is 100% the same used in the tool.
findpkq
Posts: 4
Joined: Mon Dec 10, 2018 1:38 am

Re: Xanadu Next font file(.dat)

Post by findpkq »

aluigi wrote:I think the tool can't do the bmp->dat process because the data is manipulated for doing dat->bmp.

As far as I can see the dat is just compressed with the falcom algorithm (falcom or falcom_din):

Code: Select all

comtype falcom
get ZSIZE asize
xmath SIZE "ZSIZE * 10"
get NAME basename
clog NAME 0 ZSIZE SIZE

As you can see the decompressed file isn't readable so its content requires some work.

It was just a quick test I did and the size of the decompressed data matches the expected one, I didn't check if the algorithm is 100% the same used in the tool.


:P Great!
Get the raw font file successfully and I can check them by CrystalTile2
Image

Truly grateful for your help.

Best regards
Sincerely
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Xanadu Next font file(.dat)

Post by aluigi »

:D