Results 1 to 2 of 2
  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

    Dragon Sword (JianLong) BAG Unpack Script

    Script by h4x0r and chrrox
    Game: Dragon Sword (JianLong)

    For unpack you need QuickBMS Tool.

    PHP Code:
    # Dragon Sword (JianLong) (BAG format)
    #
    # Written by Ekey (h4x0r) / a little from chrrox
    # https://progamercity.net
    #
    # script for QuickBMS http://quickbms.aluigi.org
    comtype lzo1x

    get PAKSIZE asize
    get ID long

    if ID == 0x62616731
        set TotalFiles_Key 
    "0xe7356461"
        
    set TableOffset_Key "0xcb449442"
        
    set UNK1_Key "0x698346bd"
        
    set UNK2_Key "0x867389fe"
        
    set UNK3_Key "0xabedc59d"
    else ID == 0x62616732
        set TotalFiles_Key 
    "0x27252421"
        
    set TableOffset_Key "0x3b343432"
        
    set UNK1_Key "0x5953565d"
        
    set UNK2_Key "0x6663696e"
        
    set UNK3_Key "0x7b7d757d"
    endif

    filexor TotalFiles_Key
    get FILES long
    math FILES 
    1
    filexor TableOffset_Key
    get TABLEOFFSET long
    filexor 
    ""

    set TABLESIZE PAKSIZE
    math TABLESIZE 
    -= TABLEOFFSET
    math TABLESIZE 
    -= 4

    goto TABLEOFFSET

    for FILES
    filexor UNK1_Key
    get HASH long
    filexor UNK2_Key
    get OFFSET long
    filexor UNK3_Key
    get SIZE long
    math HASH 
    TABLEOFFSET
    math OFFSET 
    TABLEOFFSET
    math SIZE 
    TABLEOFFSET
    filexor 
    ""
    log MEMORY_FILE OFFSET SIZE
    goto 0x18 MEMORY_FILE
    math SIZE 
    -= 0x18
    if SIZE 0
    get tmp long MEMORY_FILE
    if tmp 0x5A5A5A5A
    get TSIZE long MEMORY_FILE
    math SIZE 
    0x8
    clog 
    "" 0x20 SIZE TSIZE MEMORY_FILE
    else
    log "" 0x18 SIZE MEMORY_FILE
    endif
    else
    log "" OFFSET 0x18
    endif
    math TABLEOFFSET += 12
    next i 
    HOW TO Use:

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

  2. #2
    carlorf
    carlorf is offline
    Guest
    Join Date
    2013 Jun
    Posts
    2
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    1
    Thanked in
    1 Post
    Rep Power
    0
    Hi, sorry apology for disturbing, but I would like to know what the password of tool "Dragon Sword (JianLong) BAG Unpacker" of this forum "http://forum.xentax.com/viewtopic.php?f=10&t=9777&start=0" please i need that tool

Similar Threads

  1. [Info] The War Z BIN Unpack Script
    By h4x0r in forum Game Files
    Replies: 0
    Last Post: 2012-10-24, 10:20 PM
  2. Dragon sword
    By pixellegolas in forum Research Requests
    Replies: 10
    Last Post: 2012-10-23, 10:01 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
  5. [Info] Maestia MVD Unpack Script
    By h4x0r in forum Game Files
    Replies: 0
    Last Post: 2012-01-23, 05:37 PM

Posting Permissions

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