Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  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

    Queens Blade GFPK Unpack Script

    Script by chrrox
    Game: Queens Blade

    For unpack you need QuickBMS Tool.

    PHP Code:
    goto 0x104
    get files short
    get null short
    filexor 
    "0x73 0x64 0x66 0x61 0x73 0x6C 0x64 0x66 0x6B 0x6A 0x66 0x73 0x6C 0x6B 0x65 0xA4 0xA9 0xA4 0xB8 0xA4 0xA7 0xA4 0xA9 0xA4 0xA9 0xA4 0xA4 0xA4 0xB7 0x73 0x64 0x66 0x21 0x40 0x40 0x23 0x21 0x40 0x46 0x24 0x47 0x67 0x66 0x67 0x64 0x73 0x00"
    for files
    get id long
    putarray 0 i id
    next i
    for files
    get id1 long
    putarray 1 i id1
    next i
    for files
    getarray OFFSET 1 i
    if OFFSET == -1
    getdstring null 0x310 
    #this is the recursive directory info but we can skip it in this game
    endif
    if 
    OFFSET != -1
    getdstring basename 0xF8
    get SIZE long
    get UNK01 long
    get UNK02 long
    getdstring NULL 0x18
    getdstring NAME 0x1EC
    getdstring basename 0x8
    putarray 2 i SIZE
    putarray 3 i NAME
    endif
    next i
    filexor 
    ""
    savepos base
    for files
    getarray OFFSET 1 i
    getarray SIZE 2 i
    getarray NAME 3 i
    math OFFSET 
    base
    if NAME != 0
    log NAME OFFSET SIZE
    endif
    next i 
    HOW TO Use:

    1. Run QuickBMS
    2. Select script
    3. Select file for unpack
    4. Select dir to unpack
    5. Enjoy
    Last edited by h4x0r; 2012-08-21 at 11:23 PM.

  2. The Following 2 Users Say Thank You to h4x0r For This Useful Post:


  3. #2
    Nezumi
    Nezumi is offline
    Guest
    Join Date
    2013 Mar
    Posts
    1
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0
    Just thought you might want to know that the latest tex.gfpk breaks this script. The new files spew out into the target directory without their proper paths or names.

  4. #3
    queenfantasy
    queenfantasy is offline
    Guest
    Join Date
    2013 Apr
    Posts
    1
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0
    Thank you for your great sharing, but unable to extract the AG.gfpk, want to update script

  5. #4
    Zius
    Zius is offline
    Guest
    Join Date
    2012 Sep
    Posts
    2
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0
    im trying this script for scarlet blade and its working fine
    except for larger .gfpk files like ...ScarletBlade\Cache\app\3.0\data\data.gfpk

    here is the message i get

    - select the output folder where extracting the files
    - open input file D:\Scarlet blade\ScarletBlade\Cache\app\3.0\data\data.gfpk
    - open script D:\Scarlet blade\unpacked data\script2.txt
    - set output folder D:\Scarlet blade\ScarletBlade\Cache\app\3.0\data

    offset filesize filename
    ------------------------------

    - error in src\xalloc.h line 536: xdbg_malloc()

    Error: memory allocation problem
    Not enough storage is available to process this command.


    press RETURN to quit

    i have 21 GB free space and the data.gfpk file size is only 205 MB , so i dont think its a storage space related problem.

    can someone help me ?

  6. #5
    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
    What the QuickBMS version you use ? You need latest version 0.5.19

  7. #6
    coralfrenzy
    coralfrenzy is offline
    Guest
    Join Date
    2013 Apr
    Posts
    2
    Thanks Thanks Given 
    1
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0
    Hmm I'm also getting a similar error, would it be possible to get a .zipped up pack with all the files so that I won't run into this error?

    Thanks a lot

  8. #7
    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
    Script for Queens Blade not for Scarlet Blade. Scarlet Blade seems used other XOR key for decrypt file names and so you get an error

  9. The Following 2 Users Say Thank You to h4x0r For This Useful Post:


  10. #8
    coralfrenzy
    coralfrenzy is offline
    Guest
    Join Date
    2013 Apr
    Posts
    2
    Thanks Thanks Given 
    1
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0
    Ah I see >< , would you know of a working script for scarlet blade? And thanks for your time.

  11. #9
    Syncroz
    Syncroz is offline
    Guest
    Join Date
    2013 Jun
    Posts
    2
    Thanks Thanks Given 
    1
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0

    Thumbs up

    Got to say thank you and nice work for this one. Been looking for a tool like this

  12. #10
    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
    For help need direct link for download client.

Page 1 of 2 12 LastLast

Similar Threads

  1. [Release] Queens Blade Themida Unpacked
    By h4x0r in forum Other MMO
    Replies: 7
    Last Post: 2013-11-28, 07:39 PM
  2. [Info] Dragona Online GFPK Unpack Script
    By h4x0r in forum Game Files
    Replies: 2
    Last Post: 2013-01-12, 12:15 AM
  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

Posting Permissions

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