Page 1 of 1

Help with .pak archive agency 2

Posted: Sun Mar 11, 2012 8:15 pm
by danny
I want to decompress the archive data.pak but the code for agency of anomalies Hospital Mystic Not function

The Archive

<link removed due forum rules violation>

Thanks for Help! And sorry for my bad english

Re: Help with .pak archive in The Agency of Anomalies 2

Posted: Mon Mar 12, 2012 4:56 pm
by aluigi
the format is the same of the other Orneon games but the xor key is different (unknown).

the following is the reference thread (echoes of the past):
viewtopic.php?f=10&t=3919

Re: Help with .pak archive in The Agency of Anomalies 2

Posted: Mon Mar 12, 2012 8:11 pm
by Ekey
key - a26551. here script :)

Code: Select all

idstring "\xcf\x01"
get ZSIZE short
savepos OFFSET
clog MEMORY_FILE OFFSET ZSIZE 0x10000

get DUMMY byte MEMORY_FILE  # zip?
get FILES short MEMORY_FILE
for i = 0 < FILES
    math OFFSET += ZSIZE
    get NAMESZ byte MEMORY_FILE
    getdstring NAME NAMESZ MEMORY_FILE
    get ZSIZE long MEMORY_FILE
    get SIZE long MEMORY_FILE

    # thanx bacter
    filexor  "0x61 0x32 0x36 0x35 0x35 0x31" OFFSET   # The Agency of Anomalies 2 - Cinderstone Orphanage CE
    clog NAME OFFSET ZSIZE SIZE
    filexor ""
next i
enjoy

Re: Help with .pak archive agency 2

Posted: Sun Apr 15, 2012 7:25 pm
by ubrax
Hi Ekey
How do you determine the Xor password? Echoes = e34596; Secrets = tm7224; Anomalies = a26551
I'll appreciate help with the Xor password and the modified lines for the QuickBMS script for "Echoes of the Past The Revenge of the Witch".
The head and tail of the data.pak file may be downloaded here:
<link removed due forum rules violation>
Regards, and thanks

Re: Help with .pak archive agency 2

Posted: Mon Apr 16, 2012 5:23 pm
by Ekey
Upload only main executable with all modules (dlls)