ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sun Aug 18, 2019 9:18 am

All times are UTC




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu Mar 21, 2019 3:07 pm 

Joined: Mon Dec 10, 2018 1:38 am
Posts: 4
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


Top
   
PostPosted: Wed Mar 27, 2019 2:24 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10566
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:
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.


Top
   
PostPosted: Thu Mar 28, 2019 1:06 pm 

Joined: Mon Dec 10, 2018 1:38 am
Posts: 4
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:
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


Top
   
PostPosted: Thu Mar 28, 2019 2:19 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10566
:D


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited