Results 1 to 7 of 7
  1. #1
    h4x0r
    h4x0r is offline
    h4x0r's Avatar
    Join Date
    2011 Aug
    Location
    ..\root\home\pgc
    Posts
    826
    Thanks Thanks Given 
    64
    Thanks Thanks Received 
    525
    Thanked in
    205 Posts
    Rep Power
    15

    ArcheAge PAK Unpack Script

    Author: aluigi
    Site: here

    For unpack you need QuickBMS Tool.

    PHP Code:
    # WORK-IN-PROGRESS SCRIPT ONLY FOR DEVELOPERS, DO NOT USE!
    # version 0.3.1

    math SIZE 0x200
    goto 0 0 SEEK_END
    savepos OFFSET
    math OFFSET 
    -= SIZE
    callfunction DECRYPT 1

    idstring MEMORY_FILE 
    "WIBO"
    get DUMMY long MEMORY_FILE
    get FILES long MEMORY_FILE
    get EXTRA_FILES long MEMORY_FILE
    get DUMMY long MEMORY_FILE
    get DUMMY long MEMORY_FILE
    get DUMMY long MEMORY_FILE
    get DUMMY long MEMORY_FILE
    print "Files:              %FILES|x%"
    print "Extra files:        %EXTRA_FILES|x%"

    math SIZE FILES
    math SIZE 
    += EXTRA_FILES
    math SIZE 
    *= 0x150
    goto 0 0 SEEK_END
    savepos INFO_OFF
    math INFO_OFF 
    -= 0x200
    for INFO_OFF -= SIZE >= 0
        
    if INFO_OFF 0x200
            math INFO_OFF 
    -= 0x10
        
    else
            break
        endif
    next
    print "FileTable offset:   %INFO_OFF|x%"

    for FILES
        math SIZE 
    0x150
        math OFFSET 
    INFO_OFF
        callfunction DECRYPT 1
        math INFO_OFF 
    += 0x150

        getdstring NAME 0x108 MEMORY_FILE
        get OFFSET longlong MEMORY_FILE
        get SIZE longlong MEMORY_FILE
        get XSIZE longlong MEMORY_FILE  
    # used for encryption alignment?
        
    get ZSIZE long MEMORY_FILE      # ???
        
    getdstring DUMMY 16 MEMORY_FILE
        get DUMMY1 long MEMORY_FILE
        get TIMESTAMP longlong MEMORY_FILE
        get TIMESTAMP longlong MEMORY_FILE
        get DUMMY2 longlong MEMORY_FILE

        set EXT extension NAME
        
    if EXT == "sqlite3"
            
    #encryption aes? ???
        
    endif
        
    log NAME OFFSET SIZE            # don't use clog for the moment
        
    encryption "" ""
    next i

    startfunction DECRYPT
        encryption aes_128_cbc 
    "\x32\x1F\x2A\xEE\xAA\x58\x4A\xB4\x9A\x6C\x9E\x09\xD5\x9E\x9C\x6F"
        
    log MEMORY_FILE OFFSET SIZE
        encryption 
    "" ""
    endfunction 
    HOW TO Use:

    1. Run QuickBMS
    2. Select script
    3. Select file for unpack
    4. Select dir to unpack
    5. Enjoy


    PS: Use quickbms_4gb_files

  2. The Following 2 Users Say Thank You to h4x0r For This Useful Post:


  3. #2
    Snape
    Snape is offline
    Guest
    Join Date
    2012 Sep
    Posts
    1
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0

    ArcheAge PAK Unpack Script

    Script seems to work fine, but one mostly important file stays encoded or even unpacks corrupted. It's game/db/compact.sqlite3 (CBT5 client). Did anyone managed to do something about it?

  4. #3
    ragingwolf
    ragingwolf is offline
    Guest
    Join Date
    2012 Oct
    Posts
    2
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0
    Hello,
    I've successfully decoded 'game_pak' from CBT5 but actually I'm stuck on "compact.sqlite3" and your link http://www.mediafire.com/?k3i7ismmu5tt9up is dead .I'm interested by this file because I would start creating a database like wowhead, Teratom etc ...

    thanks

  5. #4
    lanceaurion
    lanceaurion is offline
    Senior Member lanceaurion's Avatar
    Join Date
    2012 Mar
    Posts
    305
    Thanks Thanks Given 
    59
    Thanks Thanks Received 
    127
    Thanked in
    88 Posts
    Rep Power
    0
    this is to a specific program or it is for all games?
    <---- If I helped, click the button thanks!

  6. #5
    jowsss
    jowsss is offline
    New member
    Join Date
    2011 Dec
    Posts
    17
    Thanks Thanks Given 
    9
    Thanks Thanks Received 
    1
    Thanked in
    1 Post
    Rep Power
    0
    Требуется свежий ключ от compact.sqlite3 (ру клиента - файлы предоставлю), готов оплатить работу.
    Skype: Light-Of-The-Moon

  7. #6
    hounder
    hounder is offline
    New member
    Join Date
    2012 Mar
    Posts
    36
    Thanks Thanks Given 
    4
    Thanks Thanks Received 
    8
    Thanked in
    2 Posts
    Rep Power
    0
    h4x0r can you update this for NA alpha? I have files if necessary.

    need help decerypting DB>

  8. #7
    Tythesly
    Tythesly is offline
    New member
    Join Date
    2013 May
    Posts
    7
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0

    Question

    Is there anyway to limit what gets unpacked??? There are THOUSANDS of files... yet the only ones im interested in are the compact.sqlite3 and the UI folder. Im using this to see what they change when they update the game to help a wiki. Yet extracting and deleting the new and old files will wear down my HDD.... Does anybody know a way to help me?

Similar Threads

  1. [Info] KnightAge CVF Unpack Script
    By h4x0r in forum Game Files
    Replies: 1
    Last Post: 2013-02-13, 04:35 PM
  2. [Info] Lunia CFP / CPV Unpack Script
    By h4x0r in forum Game Files
    Replies: 0
    Last Post: 2012-02-15, 02:49 PM
  3. [Info] HuoShi PAK Unpack Script
    By h4x0r in forum Game Files
    Replies: 0
    Last Post: 2012-02-10, 12:57 PM
  4. [Info] TZ Online EVP Unpack Script
    By h4x0r in forum Game Files
    Replies: 1
    Last Post: 2012-02-09, 05:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •