Plants vs Zombie Great Wall

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
rusbaron
Posts: 14
Joined: Thu Jul 14, 2016 1:34 pm

Plants vs Zombie Great Wall

Post by rusbaron »

How to extract data from chinese version of PvZ? It has *.dz file,but vector.bms doesn't work(

File *.dz
Here is output
Image
rusbaron
Posts: 14
Joined: Thu Jul 14, 2016 1:34 pm

Re: Plants vs Zombie Great Wall

Post by rusbaron »

Try to open in XVI32, and see that header not DTRZ,has additional letter R - DTRZR.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Plants vs Zombie Great Wall

Post by aluigi »

Can you provide many other DZ files?
I need more samples for tuning the vector.bms script
rusbaron
Posts: 14
Joined: Thu Jul 14, 2016 1:34 pm

Re: Plants vs Zombie Great Wall

Post by rusbaron »

unfortinatly this game has only 1 *.dz file((
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Plants vs Zombie Great Wall

Post by aluigi »

Ok, do you have the dz files of the other games listed in this topic?
viewtopic.php?t=1825

The problem I have with the dz file of Great Wall is about finding the starting point of the information (there are 4 bytes of difference) and the names not matching the files.
So I need various samples to be sure at 100% that every game is extracted correctly.
rusbaron
Posts: 14
Joined: Thu Jul 14, 2016 1:34 pm

Re: Plants vs Zombie Great Wall

Post by rusbaron »

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

Re: Plants vs Zombie Great Wall

Post by aluigi »

Ok, I did the magic :D
Finally the script is 100% compatible with the format, version 0.4:
http://aluigi.org/bms/vector.bms

You can unpack the extracted "compiled" files by reusing the script on them (unfortunately there is no way to do this automatically because the data comes from an already compressed data).
rusbaron
Posts: 14
Joined: Thu Jul 14, 2016 1:34 pm

Re: Plants vs Zombie Great Wall

Post by rusbaron »

aluigi wrote:Ok, I did the magic :D
Finally the script is 100% compatible with the format, version 0.4:
http://aluigi.org/bms/vector.bms

You can unpack the extracted "compiled" files by reusing the script on them (unfortunately there is no way to do this automatically because the data comes from an already compressed data).


All i need it's images and sounds,so all great)

Thx a lot!
sss45
Posts: 11
Joined: Wed Aug 03, 2016 3:00 pm

Re: Plants vs Zombie Great Wall

Post by sss45 »

Good evening help to unpack this file https://cloud.mail.ru/public/EL3v/9qQNf5KPa from the game, ShadowFight
This script http://aluigi.altervista.org/bms/vector.bms is not working here is the screenshot of the error https://cloud.mail.ru/public/3v2Z/efzkVGmRV
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Plants vs Zombie Great Wall

Post by Ekey »

Seems encrypted

More about this format.
sss45
Posts: 11
Joined: Wed Aug 03, 2016 3:00 pm

Re: Plants vs Zombie Great Wall

Post by sss45 »

Ekey wrote:Seems encrypted

More about this format.


Thank you and how to decrypt it ?
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Plants vs Zombie Great Wall

Post by Ekey »

I'm not sure about ecryption. Maybe in this game used other compression algorithm that is not declared in the script.
sss45
Posts: 11
Joined: Wed Aug 03, 2016 3:00 pm

Re: Plants vs Zombie Great Wall

Post by sss45 »

Ekey wrote:I'm not sure about ecryption. Maybe in this game used other compression algorithm that is not declared in the script.


Can you see? that APK https://cloud.mail.ru/public/A8Sc/CR1EQMa7V
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Plants vs Zombie Great Wall

Post by aluigi »

Just for the record, the compression scanner found nothing from the compressed file, in case it was just a different compression (FLAGS 4).
sss45
Posts: 11
Joined: Wed Aug 03, 2016 3:00 pm

Re: Plants vs Zombie Great Wall

Post by sss45 »

aluigi wrote:Just for the record, the compression scanner found nothing from the compressed file, in case it was just a different compression (FLAGS 4).



And it is possible it as that to remove ? script to change?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Plants vs Zombie Great Wall

Post by aluigi »

Do you mean skipping the files compressed with the unknown compression/encryption?
I prefer to not touch the script without having full and certain information
sss45
Posts: 11
Joined: Wed Aug 03, 2016 3:00 pm

Re: Plants vs Zombie Great Wall

Post by sss45 »

aluigi wrote:Do you mean skipping the files compressed with the unknown compression/encryption?
I prefer to not touch the script without having full and certain information



Please tell me what information do you need?

here is a screen of where this file lies https://cloud.mail.ru/public/6KTK/AXtMK4De7

Here APK https://cloud.mail.ru/public/A8Sc/CR1EQMa7V

And what would make encoding files were skipped
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Plants vs Zombie Great Wall

Post by aluigi »

I need the full exact compression algorithm or the encryption algorithm plus the relative keys.
I have no time and desire to reverse engineering this stuff that affects only files.dz (animations.dz is ok), so I need directly the final solution to add to the script.
sss45
Posts: 11
Joined: Wed Aug 03, 2016 3:00 pm

Re: Plants vs Zombie Great Wall

Post by sss45 »

aluigi wrote:I need the full exact compression algorithm or the encryption algorithm plus the relative keys.
I have no time and desire to reverse engineering this stuff that affects only files.dz (animations.dz is ok), so I need directly the final solution to add to the script.



Sorry but I don't understand anything
sss45
Posts: 11
Joined: Wed Aug 03, 2016 3:00 pm

Re: Plants vs Zombie Great Wall

Post by sss45 »

Good evening compression method dzip (4) which QuickBMS doesn't support, so can't unpack.

the encryption algorithm or the use of keys no