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

    Warkeepers RESOURCES Unpack Script

    Site: here

    Script by h4x0r

    For unpack you need QuickBMS Tool.

    PHP Code:
    # Warkeepers (Resources format)

    # Written by Ekey (h4x0r)
    # https://progamercity.net

    # script for QuickBMS http://quickbms.aluigi.org

    comtype unzip_dynamic

    idstring 
    "dS.resources"
    get FILES long
    goto 0x14
    get TABLEOFFSET long
    get TABLEZSIZE long
    get TABLESIZE long
    savepos PTEMP

    if TABLEZSIZE == TABLESIZE
            callfunction UNPACK 1
        
    else
            
    clog MEMORY_FILE PTEMP TABLEZSIZE TABLESIZE
            callfunction UNPACK_COMPRESSED 1
    endif

    startfunction UNPACK
    for FILES
        get NAME string
        savepos OFFNAMES
        
    goto TABLEOFFSET
        get ZSIZE long
        get OFFSET long
        get TYPE long
        get SIZE long
        get DUMMY long 
    # DATE YY
        
    get DUMMY long # DATE NN
        
    get DUMMY long # DATE MM
        
    get DUMMY long # TIME HH
        
    get DUMMY long # TIME MM 
        
    get DUMMY long # TIME SS
        
    savepos TEMP

        
    if ZSIZE == SIZE
            filexor 
    "\x55"
            
    log NAME OFFSET SIZE
            filexor 
    ""
        
    else
            
    clog NAME OFFSET ZSIZE SIZE
        
    endif
       
        
    math TABLEOFFSET TEMP
        
    goto OFFNAMES
    next i
    endfunction

    startfunction UNPACK_COMPRESSED
    for FILES
        get NAME string MEMORY_FILE
        savepos OFFNAMES MEMORY_FILE
        
    goto TABLEOFFSET
        get ZSIZE long
        get OFFSET long
        get TYPE long
        get SIZE long
        get DUMMY long 
    # DATE YY
        
    get DUMMY long # DATE NN
        
    get DUMMY long # DATE MM
        
    get DUMMY long # TIME HH
        
    get DUMMY long # TIME MM 
        
    get DUMMY long # TIME SS
        
    savepos TEMP

        
    if ZSIZE == SIZE
            filexor 
    "\x55"
            
    log NAME OFFSET SIZE
            filexor 
    ""
        
    else
            
    clog NAME OFFSET ZSIZE SIZE
        
    endif
       
        
    math TABLEOFFSET TEMP
        
    goto OFFNAMES
    next i
    endfunction 
    HOW TO Use:

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

Similar Threads

  1. [Info] HighStreet 5 PCG Unpack Script
    By h4x0r in forum Game Files
    Replies: 1
    Last Post: 2013-12-04, 04:08 PM
  2. [Info] The War Z BIN Unpack Script
    By h4x0r in forum Game Files
    Replies: 0
    Last Post: 2012-10-24, 10:20 PM
  3. [Info] CW Online Unpack Script
    By h4x0r in forum Game Files
    Replies: 0
    Last Post: 2012-02-16, 08:24 PM
  4. [Info] Lunia CFP / CPV Unpack Script
    By h4x0r in forum Game Files
    Replies: 0
    Last Post: 2012-02-15, 02:49 PM
  5. [Info] HuoShi PAK Unpack Script
    By h4x0r in forum Game Files
    Replies: 0
    Last Post: 2012-02-10, 12:57 PM
Visitors found this page by searching for:
Nobody landed on this page from a search engine, yet!

Posting Permissions

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