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 Thanks Given 
    64
    Thanks Thanks Received 
    525
    Thanked in
    205 Posts
    Rep Power
    14

    Lunia CFP / CPV Unpack Script

    Script by aluigi
    Game: Lunia

    For unpack you need QuickBMS Tool.

    PHP Code:
    # Lunia
    # script for QuickBMS http://quickbms.aluigi.org

    comtype lzma
    open FDDE 
    "cfp"
    getdstring TYPE 2
    get DUMMY longlong
    get OFFSET longlong
    goto OFFSET
    set PATH string 
    ""
    set NAME string ""
    math VAL1 0
    math VAL2 
    0
    callfunction ENTRY 1
    callfunction EXTRACT

    startfunction EXTRACT
        string PATH 
    += NAME
        string PATH 
    += /

        
    math FOLDERS VAL1
        math FILES 
    VAL2
        
    for FOLDERS
            callfunction ENTRY 1
            callfunction EXTRACT
        next i
        
    for FILES
            callfunction ENTRY 1
            set FNAME string PATH
            string FNAME 
    += NAME
            savepos TMP
            
    goto VAL1
            get SIZE long
            get ZSIZE long
            savepos OFFSET
            
    goto TMP
            math ZSIZE 
    += 5
            clog FNAME OFFSET ZSIZE SIZE
        next i
    endfunction

    startfunction ENTRY
        getdstring TYPE 2
        get VAL1 long
        get VAL2 long
        get NAMESZ short
        math NAMESZ 
    *- 2
        getdstring NAME NAMESZ
        set NAME unicode NAME
    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] HuoShi PAK Unpack Script
    By h4x0r in forum Game Files
    Replies: 0
    Last Post: 2012-02-10, 12:57 PM
  2. [Info] TZ Online EVP Unpack Script
    By h4x0r in forum Game Files
    Replies: 1
    Last Post: 2012-02-09, 05:13 AM
  3. [Info] DK Online XAC Unpack Script
    By h4x0r in forum Game Files
    Replies: 0
    Last Post: 2012-02-08, 09:31 PM
  4. [Info] ShotOnline SOR Unpack Script
    By h4x0r in forum Game Files
    Replies: 0
    Last Post: 2012-02-04, 06:23 PM
  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
  •