Important information: this site is currently scheduled to go offline indefinitely by December 1st 2023.
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe

Prime World (zlib uncompress \ compress)

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
SySTeL
ultra-n00b
Posts: 7
Joined: Sat Aug 22, 2009 3:34 pm
Has thanked: 1 time
Contact:

Prime World (zlib uncompress \ compress)

Post 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.
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 667 times
Contact:

Re: Prime World (zlib uncompress \ compress)

Post 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)
SySTeL
ultra-n00b
Posts: 7
Joined: Sat Aug 22, 2009 3:34 pm
Has thanked: 1 time
Contact:

Re: Prime World (zlib uncompress \ compress)

Post 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 :(
Image

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?
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 667 times
Contact:

Re: Prime World (zlib uncompress \ compress)

Post 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
SySTeL
ultra-n00b
Posts: 7
Joined: Sat Aug 22, 2009 3:34 pm
Has thanked: 1 time
Contact:

Re: Prime World (zlib uncompress \ compress)

Post 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)
Image

UPD2:
I have tried to make small changes.
Has changed the name, but game began to give out Crit error :(
SySTeL
ultra-n00b
Posts: 7
Joined: Sat Aug 22, 2009 3:34 pm
Has thanked: 1 time
Contact:

Re: Prime World (zlib uncompress \ compress)

Post 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
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: Prime World (zlib uncompress \ compress)

Post by Ekey »

It's CRC check :)
SySTeL
ultra-n00b
Posts: 7
Joined: Sat Aug 22, 2009 3:34 pm
Has thanked: 1 time
Contact:

Re: Prime World (zlib uncompress \ compress)

Post by SySTeL »

The contents of this post was deleted because of possible forum rules violation.
gamerlock
ultra-n00b
Posts: 1
Joined: Tue Apr 03, 2012 3:37 pm

Re: Prime World (zlib uncompress \ compress)

Post by gamerlock »

I have managed to access the world and previewed this prime world game
Post Reply