Pack back [Vector dzip.exe]

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Bafteam
Posts: 9
Joined: Thu Oct 05, 2017 1:07 pm

Pack back [Vector dzip.exe]

Post by Bafteam »

Hello everyone, I'm new to the work with quickbms and I have one problem
The game stores movements of punches in the file moves.xml
File can not be replaced because there is encryption which I can not bypass until I can
But the file itself takes the game from the game archive inside the apk, name files.dz (it is attached below under the name files.zip)
I was able to unzip the files through the script
http://aluigi.altervista.org/bms/vector.bms
Changed what I need, put the weight to within bytes and the date of the change is exactly the same as on the original file but back to pack the same
I used reimport.bat
Error log:

offset filesize filename
------------------------------------—

- signature of 4 bytes at offset 0x00000000 doesn't match the one
expected by the script:

this one: "<Fil"
3c 46 69 6c <Fil

expected: "DTRZ"
44 54 52 5a DTRZ

- 0 files found in 0 seconds
coverage file 0 0% 8 7590 . offset 00000004

Press ENTER or close the window to quit

I tried to create a reverse-packaging script of this kind but it appears and disappears without creating anything:

quickbms -w -r vector.bms
D:\quickbms\SF30.dz
D:\quickbms\S3E

Anyone can help me create a script for packing files back?
If I'm sorry for my English, I'm using an interpreter.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Pack back

Post by aluigi »

You must use the official dzip tool as written in the header of the script:

Code: Select all

#   If you want to extract and create DZ archives you should use
#   the official dzip.exe tool available in the Marmalade SDK:
#       https://www.madewithmarmalade.com/developer
#   I have mirrored the dzip package on http://aluigi.org/misc/dzip.zip
Bafteam
Posts: 9
Joined: Thu Oct 05, 2017 1:07 pm

Re: Pack back

Post by Bafteam »

aluigi wrote:You must use the official dzip tool as written in the header of the script:

Code: Select all

#   If you want to extract and create DZ archives you should use
#   the official dzip.exe tool available in the Marmalade SDK:
#       https://www.madewithmarmalade.com/developer
#   I have mirrored the dzip package on http://aluigi.org/misc/dzip.zip


I got unpacked, but I just can not pack files back.
I read README.txt but unfortunately did not understand anything and 2 hours of attempts did not lead to anything.
Perhaps there is a more detailed instruction or maybe you can tell me how to do this if you do not find it difficult?

I need to create a configuration file for packing back or just enter some commands like I did to unpack?

It seems like figured out but the created file turns out to be 4 KB more even if I unpack the original I do not change anything and I pack back.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Pack back

Post by aluigi »

Bafteam wrote:It seems like figured out but the created file turns out to be 4 KB more even if I unpack the original I do not change anything and I pack back.

Honestly I used that dzip tool only for verifying the extraction of the script and for the compression algorithm (which is nothing else than a dzip.exe embedded in quickbms.exe) so I can't help you much about it.
Anyway the different size may be caused by the different compression algorithm used in the original and in your new archive... just guessing.
Bafteam
Posts: 9
Joined: Thu Oct 05, 2017 1:07 pm

Re: Pack back

Post by Bafteam »

aluigi wrote:Anyway the different size may be caused by the different compression algorithm used in the original and in your new archive... just guessing.

Can I somehow find out with the help of quickbms options for packing dz or can it help only dzip.exe?
Bafteam
Posts: 9
Joined: Thu Oct 05, 2017 1:07 pm

Re: Pack back [Vector dzip.exe]

Post by Bafteam »

I did not begin to create a new topic, I'll write here I hope someone will help.
Does anyone know an unpacker for s3e format?
I found such a script here and assure that it works but it does not decompress correctly. some unknown symbols.

comtype lzma_dynamic
get SIZE asize
get NAME basename
clog NAME 0 SIZE SIZE "" FILE

I will be grateful if someone responds.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Pack back [Vector dzip.exe]

Post by aluigi »

You are OT and there is already a topic about s3e:
viewtopic.php?f=9&t=4265

That "some unknown symbols" doesn't have much sense, it's a lossless decompression with lzma so it works or doesn't work, no "half works".
Bafteam
Posts: 9
Joined: Thu Oct 05, 2017 1:07 pm

Re: Pack back [Vector dzip.exe]

Post by Bafteam »

Again, hello, there is some archive, which has a file raid_configs.zip.enc and obviously its hash raid_configs.zip.sha
econfig.zip

Previously, the game loaded and took data from here
raid_configs.zip

But now one econfig.zip.
Can anyone tell me how to decrypt or unpack into a text file with the extension enc?
Most likely there should be something similar to files from the archive raid_configs.zip
Thanks if someone will help.
Script bandits_enc.bms does not work.
388
Posts: 4
Joined: Fri Dec 29, 2017 6:43 am

Re: Pack back [Vector dzip.exe]

Post by 388 »

Bafteam wrote:Again, hello, there is some archive, which has a file raid_configs.zip.enc and obviously its hash raid_configs.zip.sha
econfig.zip
Previously, the game loaded and took data from here
raid_configs.zip
But now one econfig.zip.
Can anyone tell me how to decrypt or unpack into a text file with the extension enc?
Most likely there should be something similar to files from the archive raid_configs.zip
Thanks if someone will help.
Script bandits_enc.bms does not work.




how can these help after the unpack, the S3E still outweighs this
lupus
Posts: 36
Joined: Sun Dec 03, 2017 7:52 am

Re: Pack back

Post by lupus »

Bafteam wrote:
aluigi wrote:Anyway the different size may be caused by the different compression algorithm used in the original and in your new archive... just guessing.

Can I somehow find out with the help of quickbms options for packing dz or can it help only dzip.exe?

Dzip works fine and have many keys to change compression type and ratio.