Close to Saints Row IV ISO Mods!

BillyBillium Aug 21, 2013

  1. BillyBillium

    BillyBillium ϟƘƦƖןןΣ✘ Gold Subscriber
    0/47

    Joined:
    Jul 14, 2011
    Messages:
    290
    Likes Received:
    51
    Trophy Points:
    35
    Gender:
    Male
    Location:
    Tennessee, USA
    Console:
    Xbox
    Alright guys, I need some help. I have used QuickBMS GUI along with a script from Gh0stBlade on XeNTaX forums to be able to extract .vpp_xbox2 files for Saints Row 4. Now the output folder contains all of these .xtbl files which used to be simple to edit (SR1,SR2), but now seem to be encrypted. This is where I need y'all's help, to decyrpt/un-encrypt the .xtbl files so we can have ISO mods! The misc_tables.vpp_xbox2 file contains all of the goodies ;). Here are the files you will need as well as a few screenshots:

    http://www.mediafire.com/?mzj1sq3bv3a287c

    [​IMG][​IMG]
     
  2. ad

    aden34 Newbie
    0/47

    Joined:
    Nov 22, 2010
    Messages:
    142
    Likes Received:
    70
    Trophy Points:
    0
    Console:
    Xbox
    not to burst your bubble but xtbl files are just models. so you can't really do anything with these. at least not for iso I'm pretty sure. maybe jtag/ rgh
     
  3. BillyBillium

    BillyBillium ϟƘƦƖןןΣ✘ Gold Subscriber
    35/47

    Joined:
    Jul 14, 2011
    Messages:
    290
    Likes Received:
    51
    Trophy Points:
    35
    Gender:
    Male
    Location:
    Tennessee, USA
    Console:
    Xbox
    I modded Saints Row 2 with the .xtbl files ;). All they are is a special variation of xml file. Trust me, once it has been decompressed, there will be mods :).
     
  4. Super Geek No.1

    Super Geek No.1 SG-1 Always No.1 BANNED
    35/47

    Joined:
    Oct 26, 2010
    Messages:
    550
    Likes Received:
    58
    Trophy Points:
    35
    Gender:
    Male
    Location:
    London
    Console:
    Xbox
    Sorry off topic when you modded SR2 was there mod for quick King Pin?
     
  5. BillyBillium

    BillyBillium ϟƘƦƖןןΣ✘ Gold Subscriber
    35/47

    Joined:
    Jul 14, 2011
    Messages:
    290
    Likes Received:
    51
    Trophy Points:
    35
    Gender:
    Male
    Location:
    Tennessee, USA
    Console:
    Xbox
    Sorry, no there wasn't :/
     
  6. Super Geek No.1

    Super Geek No.1 SG-1 Always No.1 BANNED
    35/47

    Joined:
    Oct 26, 2010
    Messages:
    550
    Likes Received:
    58
    Trophy Points:
    35
    Gender:
    Male
    Location:
    London
    Console:
    Xbox
    ok kool thanks
     
  7. Super Geek No.1

    Super Geek No.1 SG-1 Always No.1 BANNED
    35/47

    Joined:
    Oct 26, 2010
    Messages:
    550
    Likes Received:
    58
    Trophy Points:
    35
    Gender:
    Male
    Location:
    London
    Console:
    Xbox
    one more question about sr2 is there a way like one to increase the reward money at the end of a match?
     
  8. BillyBillium

    BillyBillium ϟƘƦƖןןΣ✘ Gold Subscriber
    35/47

    Joined:
    Jul 14, 2011
    Messages:
    290
    Likes Received:
    51
    Trophy Points:
    35
    Gender:
    Male
    Location:
    Tennessee, USA
    Console:
    Xbox
    Most likely, but I only did single player mods, not mp.
     
  9. SavageZombie

    SavageZombie STONED 4 REAL Lifetime Gold
    0/47

    Joined:
    Oct 21, 2011
    Messages:
    455
    Likes Received:
    191
    Trophy Points:
    0
    Gender:
    Male
    Location:
    DETROIT
    Console:
    Xbox
    I'll take a look into this for ya when i get home from work tomorrow! There is a way to convert those files to a read/write format then convert them back but I can't remember how off the top of my head lol. I've done it on different game before but the only problem was it changed the file size and did'nt work iso wise but worked on the j-tag/rgh systems fine.
     
  10. BillyBillium

    BillyBillium ϟƘƦƖןןΣ✘ Gold Subscriber
    35/47

    Joined:
    Jul 14, 2011
    Messages:
    290
    Likes Received:
    51
    Trophy Points:
    35
    Gender:
    Male
    Location:
    Tennessee, USA
    Console:
    Xbox
    Sweet, thanks! If it's any help my buddy said that the .xtbl files are compressed with MS-LZX "XCompress". He said he would work on a decompression tool as well.
     
  11. CRACKbomber

    CRACKbomber Resident Xbox Guru XPG Developer
    25/47

    Joined:
    Sep 12, 2011
    Messages:
    276
    Likes Received:
    235
    Trophy Points:
    25
    Gender:
    Male
    Location:
    Michigan
    Console:
    Xbox
  12. CRACKbomber

    CRACKbomber Resident Xbox Guru XPG Developer
    25/47

    Joined:
    Sep 12, 2011
    Messages:
    276
    Likes Received:
    235
    Trophy Points:
    25
    Gender:
    Male
    Location:
    Michigan
    Console:
    Xbox
    Negatory. Doesn't have the file ident. ( 0x0FF512ED or 0x0FF512EE for native ). IIRC it could be zlib compression, no encryption.
     
  13. BillyBillium

    BillyBillium ϟƘƦƖןןΣ✘ Gold Subscriber
    35/47

    Joined:
    Jul 14, 2011
    Messages:
    290
    Likes Received:
    51
    Trophy Points:
    35
    Gender:
    Male
    Location:
    Tennessee, USA
    Console:
    Xbox
    Alright then, so is it hopeless? Or is there a way we can decrypt/decompress the .xtbl files? So how do you decompress zlib?
     
  14. CRACKbomber

    CRACKbomber Resident Xbox Guru XPG Developer
    25/47

    Joined:
    Sep 12, 2011
    Messages:
    276
    Likes Received:
    235
    Trophy Points:
    25
    Gender:
    Male
    Location:
    Michigan
    Console:
    Xbox
    No it's not hopeless, zlib is really common compression. I will work on it later.
    Also I updated your script

    Code:
    # [/Xbox360/PS3] Saints Row IV Unpacker [.VPP]
    # Script v1.1
    # By Gh0stblade!
    # Thanks Chrrox for you know what (:
    # Fixed by CRACKbomber
    endian big
    
    get IDENT long                  #File ident - 0x00
    if IDNET != 0xB184B10
        log "Incorrect IDENT Exiting!"
        CleanExit 
    else
    
    
    
        get VERSION long                #10 for SRIV - 0x04
        get HASH long                   #Checksum - 0x08
        get VPP_SIZE long               #File size - 0x0C
        get FLAGS long                  #Flags - 0x10
        get FILES long                  #Number of files 0x014
        get DIR_SIZE long               #Directory size 0x18
        get FILENAME_SIZE long          #Filename size 0x1C
        get DSIZE long                  #Size of the data section 0x20
        get COMPSIZE long               #Size of the compressed data section 0x24
    
        #Each file table entry is 0x18 in length!
        for i = 0 < FILES
    
            get NAME_OFF long       #This is the relative name offset relative to base offset PTR_NAMES + 0x28
            get PADDING long        #PADDING
            get OFFSET long         #This is the relative data offset relative to base offset 0x28 + PTR_NAMES + PTR_DATA
            get SIZE long           #The size of the file!
            get COMPSIZE long       #Compressed data size
            get FLAGS short         #Flags of the file
            get ALIGNMENT short     #Alignment of the file either 1 or 16
            
            #Get the correct offset and read the name string!
            math NAME_OFF += 0x28
            math NAME_OFF += DIR_SIZE
            savepos TEMP
            goto NAME_OFF
            get NAME string
            goto TEMP
    
            #Get the correct offset for the data!
            math OFFSET += 0x28
            math OFFSET += DIR_SIZE
            math OFFSET += FILENAME_SIZE
    
            log NAME OFFSET SIZE
            next i
    endif
    
     
  15. BillyBillium

    BillyBillium ϟƘƦƖןןΣ✘ Gold Subscriber
    35/47

    Joined:
    Jul 14, 2011
    Messages:
    290
    Likes Received:
    51
    Trophy Points:
    35
    Gender:
    Male
    Location:
    Tennessee, USA
    Console:
    Xbox
     
  16. MastaOfEvil

    MastaOfEvil Dev XPG Developer Lifetime Gold TeamXPG
    0/47

    Joined:
    Dec 21, 2011
    Messages:
    660
    Likes Received:
    330
    Trophy Points:
    0
    Gender:
    Male
    Console:
    Xbox
    I just get - c_structs: "log" "Incorrect IDENT Exiting!" when trying with the new script.
     
  17. BillyBillium

    BillyBillium ϟƘƦƖןןΣ✘ Gold Subscriber
    35/47

    Joined:
    Jul 14, 2011
    Messages:
    290
    Likes Received:
    51
    Trophy Points:
    35
    Gender:
    Male
    Location:
    Tennessee, USA
    Console:
    Xbox
    Same, it partially worked the first time, but failed extracting. But after that, I get the same error as you.
     
  18. Steptov2lol

    Steptov2lol Newbie
    0/47

    Joined:
    May 14, 2012
    Messages:
    42
    Likes Received:
    5
    Trophy Points:
    0
    Console:
    Xbox
    the old script works,the new one doesnt and also need a way to open xtbl files
     
  19. Wh

    Whatsamod Newbie
    0/47

    Joined:
    Oct 15, 2012
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    0
    Console:
    Xbox
    The old script format doesn't work on all files. My GUI editor has been updated

    [​IMG]


    Also, here is my docs on the entry's
    NameOffset - Int32 (+ the name pointer + 0x28)
    Null - Int32 (Const 0?)
    DataOffset - Int32 (+ the name pointer + data pointer + 0x28)
    DecompressedSize - Int32
    Compressed Size - Int32 (if this is -1, then the file is not compressed, if it isn't, then read this from the file)
    Unk - Int32 (observed 00 00 00 01 on uncompressed files, 00 01 00 01 on compressed, compression type?)
     
  20. jk

    jkoodo Newbie
    0/47

    Joined:
    Jan 25, 2013
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    0
    Console:
    Xbox

Share This Page

Close