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

    Scarlet Legacy PAK Unpack Script

    Script by WRS
    Game: Scarlet Legacy

    For unpack you need QuickBMS Tool.

    PHP Code:
    # Scarlet Legacy PAK files
    # script for QuickBMS
    # WRS, xentax.com

    idstring "PAK\0"
    get ver byte
    getdstring DUMMY 16
    get headSize long

    get cdOffset long
    get cdSize long
    get cdZSize long

    get dataStart long
    get dataSize long

    get fileSize long

    clog MEMORY_FILE cdOffset cdZSize cdSize

    set base string 
    ""

    callfunction recursiveDir

    cleanexit



    startfunction recursiveDir

      get subFils long MEMORY_FILE
      get subDirs long MEMORY_FILE
      get dirName string MEMORY_FILE

      
    # quick fix for the initial dir

      
    if dirName != "/"
        
    string base += /
        
    string base += dirName
      
    endif

      for 
    subd subDirs
        callfunction recursiveDir
      next subd

      
    for subf subFils
        callfunction extractFile
      next subf

    endfunction


    startfunction extractFile

      get fileOffs long MEMORY_FILE
      get fileSize long MEMORY_FILE
      get fileName string MEMORY_FILE

      math fileOffs 
    += dataStart

      set filePath string base
      string filePath 
    += /
      
    string filePath += fileName

      log filePath fileOffs fileSize

    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] TZ Online EVP Unpack Script
    By h4x0r in forum Game Files
    Replies: 1
    Last Post: 2012-02-09, 05:13 AM
  2. [Info] DK Online XAC Unpack Script
    By h4x0r in forum Game Files
    Replies: 0
    Last Post: 2012-02-08, 09:31 PM
  3. [Info] All Points Bulletin (APB) PCK Unpack Script
    By h4x0r in forum Game Files
    Replies: 0
    Last Post: 2012-02-04, 06:30 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
Visitors found this page by searching for:

scarlet legacy script

scarlet legacy xentax

scarlet legacy pak scripts

scarlet legacy unpack

scarlet legacy unpacker

asa cristal jogo

quickbms unpack

quickbms scarlet

scarlet the pro gamer

maestia xentax

Posting Permissions

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