compression script from Zwei2_CN

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

compression script from Zwei2_CN

Post by findpkq »

Sorry for my poor English:P

Script files from Zewi2 use .itm format which can be converted by ITM Converter https://www.pokanchan.jp/dokuwiki/software/start
I upload one itm file from steam ver(Steam_ev00150.itm,rename to Steam_ev00150.itm.txt for upload)and the raw script (Steam_ev00150.txt)

But in CN ver,the translated script files have been compressed.
(CN_ev00150.txt)
I have tried to use comtype_scan2 but it seems that I can't get the correct result.
I'm no sure the uncompressed result is an itm file or a raw file,but I guess raw script
(using 7-zip to compress the raw script from steam to .xz or gzip format can get the similar size,but the itm format won't)

the result script may be in different Character encoding(steam ver:shift jis cn ver:gbk)
but the ascii part in the beginning is almost the same
//====================================================================
//ステージトラップスクリプト
//[10150][アルッテ・教会]
//====================================================================

#ScriptTable



Any idea about the compression of CN_ev00150.txt?

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

Re: compression script from Zwei2_CN

Post by aluigi »

I think about encryption because the data has no meaning and the size is aligned to 16 bytes which "may" be a block cipher like AES.