Results 1 to 1 of 1
  1. #1
    Baso
    Baso is offline
    New member
    Join Date
    2012 Jan
    Posts
    27
    Thanks
    0
    Thanked 6 Times in 3 Posts
    Rep Power
    0

    Twelve sky 2 unpack script

    this is the bms script for unpack file "subject" and "mobject" from data files of TwelveSky and TwelveSky2

    # Game: TwelveSky & TwelveSky 2 (PC)
    # by fatduck Jul2011
    # script for QuickBMS Luigi Auriemma

    get PRENAME basename
    get NUMRES long
    savepos OFS_RES
    for i = 1 to NUMRES
    goto OFS_RES
    get FLAG1 long
    get USIZE long
    if FLAG1 != 1
    math FLAG1 -= USIZE
    math FLAG1 *= -1
    else
    math FLAG1 -= 1
    endif
    get CSIZE long
    savepos OFS_RES
    set RESNAME PRENAME
    string RESNAME += _
    if i < 10
    string RESNAME += "0"
    endif
    string RESNAME += i
    string RESNAME += .mdl
    if USIZE > 0
    clog RESNAME OFS_RES CSIZE USIZE
    endif
    math OFS_RES += CSIZE
    math OFS_RES += FLAG1

    goto OFS_RES
    get FLAG1 long
    get USIZE long
    if FLAG1 != 1
    math FLAG1 -= USIZE
    math FLAG1 *= -1
    else
    math FLAG1 -= 1
    endif
    get CSIZE long
    savepos OFS_RES
    set RESNAME PRENAME
    string RESNAME += _
    if i < 10
    string RESNAME += "0"
    endif
    string RESNAME += i
    string RESNAME += .dds
    if USIZE > 0
    clog RESNAME OFS_RES CSIZE USIZE
    endif
    math OFS_RES += CSIZE
    math OFS_RES += FLAG1
    next i
    credit by fatduck

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. [Info] Elsword KOP Unpack Script
    By h4x0r in forum Game Files
    Replies: 0
    Last Post: 2012-02-27, 09:27 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] TZ Online EVP Unpack Script
    By h4x0r in forum Game Files
    Replies: 1
    Last Post: 2012-02-09, 05:13 AM
  5. [Info] ShotOnline SOR Unpack Script
    By h4x0r in forum Game Files
    Replies: 0
    Last Post: 2012-02-04, 06:23 PM
Visitors found this page by searching for:

twelvesky

twelve sky 2 data file

Posting Permissions

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