ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Mon Dec 11, 2017 8:59 pm

All times are UTC




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Thu Oct 05, 2017 1:59 pm 

Joined: Thu Oct 05, 2017 1:07 pm
Posts: 4
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.


Attachments:
files.zip [1.98 MiB]
Downloaded 10 times
Top
   
 Post subject: Re: Pack back
PostPosted: Thu Oct 05, 2017 2:34 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7224
You must use the official dzip tool as written in the header of the script:
Code:
#   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


Top
   
 Post subject: Re: Pack back
PostPosted: Thu Oct 05, 2017 3:56 pm 

Joined: Thu Oct 05, 2017 1:07 pm
Posts: 4
aluigi wrote:
You must use the official dzip tool as written in the header of the script:
Code:
#   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.


Top
   
 Post subject: Re: Pack back
PostPosted: Thu Oct 05, 2017 9:22 pm 
Site Admin
User avatar

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


Top
   
 Post subject: Re: Pack back
PostPosted: Fri Oct 06, 2017 7:34 am 

Joined: Thu Oct 05, 2017 1:07 pm
Posts: 4
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?


Top
   
PostPosted: Sun Oct 08, 2017 5:56 pm 

Joined: Thu Oct 05, 2017 1:07 pm
Posts: 4
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.


Top
   
PostPosted: Sun Oct 08, 2017 6:07 pm 
Site Admin
User avatar

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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 7 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