Page 1 of 1
Prime World (zlib uncompress \ compress)
Posted: Sun Feb 19, 2012 6:24 pm
by SySTeL
Hi.
Game: ru.playpw.com (Russian Dota)
Link on resource pack:
http://narod.ru/disk/41254771001/_data.pile.html (400 mb

)
At me it has turned uncompress it.
1) i'm use offzip, but it unpacks without catalogs. And all names of files others =(
2) But me interests, how to pack files back?
3) Some resources are packed with the help sharpziplib, somebody can prompt than it is possible to unpack such archive?
Please help who can, I badly know programming
And sorry me for my bad English.
Re: Prime World (zlib uncompress \ compress)
Posted: Mon Feb 20, 2012 3:36 am
by aluigi
Code: Select all
# Prime World
# script for QuickBMS http://quickbms.aluigi.org
idstring "Pile"
goto -0x18
idstring "Pile"
get DUMMY short
get DUMMY short
get FILES long
get NAMES_OFF long
get NAMES_SIZE long
log MEMORY_FILE NAMES_OFF NAMES_SIZE
get OFFSET long
goto OFFSET
for i = 0 < FILES
get ZSIZE long
get SIZE long
get OFFSET long
get ZIP long
get NAME_OFF long
get CRC long
goto NAME_OFF MEMORY_FILE
get NAME string MEMORY_FILE
if ZIP == 0
log NAME OFFSET SIZE
else
clog NAME OFFSET ZSIZE SIZE
endif
next i
read section 3 of quickbms.txt for reinjecting the modified files back (size <= original size)
Re: Prime World (zlib uncompress \ compress)
Posted: Mon Feb 20, 2012 12:03 pm
by SySTeL
aluigi wrote:Code: Select all
# Prime World
# script for QuickBMS http://quickbms.aluigi.org
idstring "Pile"
goto -0x18
idstring "Pile"
get DUMMY short
get DUMMY short
get FILES long
get NAMES_OFF long
get NAMES_SIZE long
log MEMORY_FILE NAMES_OFF NAMES_SIZE
get OFFSET long
goto OFFSET
for i = 0 < FILES
get ZSIZE long
get SIZE long
get OFFSET long
get ZIP long
get NAME_OFF long
get CRC long
goto NAME_OFF MEMORY_FILE
get NAME string MEMORY_FILE
if ZIP == 0
log NAME OFFSET SIZE
else
clog NAME OFFSET ZSIZE SIZE
endif
next i
read section 3 of quickbms.txt for reinjecting the modified files back (size <= original size)
Thanks! All its work! (During unpacking swears on identical names files, but it is a trifle)
All files uncompress.
But reimport not worked

It is impossible to specify an imported folder, only a file
In the client there is one more file with resources (
http://narod.ru/disk/41327896001/resources.assets.html )
But he compress sharpziplib, maybe you know how it to uncompress?
Re: Prime World (zlib uncompress \ compress)
Posted: Mon Feb 20, 2012 3:40 pm
by aluigi
you must do the exact steps you did for the extraction, it's the job of quickbms to do the rest.
looking at your image seems you did it correctly but you specified an internal folder instead of the output one specified during the extraction.
so you must specify c:\1 and not c:\1\sub_folder\sub_folder
Re: Prime World (zlib uncompress \ compress)
Posted: Mon Feb 20, 2012 8:13 pm
by SySTeL
i'm understand, but quickbms don't select folder.
If I try to allocate [choose] to a folder (c:\1), he opens it.
UP1:
I can choose folder, but not worker reimport

Example (I tried on version 0.5.8 - too most)
UPD2:
I have tried to make small changes.
Has changed the name, but game began to give out Crit error

Re: Prime World (zlib uncompress \ compress)
Posted: Tue Feb 21, 2012 12:52 pm
by SySTeL
UPD3:
Files reimport it is normal, but! Then the client can't open files from a folder which we reimport.
Look a screenshot log of game [i'm reimport 1 file, but he don't open all files in folder

]
http://i39.tinypic.com/2aewgsz.jpg
Re: Prime World (zlib uncompress \ compress)
Posted: Tue Feb 21, 2012 1:08 pm
by Ekey
It's CRC check

Re: Prime World (zlib uncompress \ compress)
Posted: Tue Feb 21, 2012 1:57 pm
by SySTeL
The contents of this post was deleted because of possible forum rules violation.
Re: Prime World (zlib uncompress \ compress)
Posted: Tue Apr 03, 2012 3:40 pm
by gamerlock
I have managed to access the world and previewed this
prime world game