[PS2] Shadow Hearts .PKB (Series)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

[PS2] Shadow Hearts .PKB (Series)

Post by makc_ar »

Last edited by makc_ar on Sun Jul 15, 2018 8:15 am, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [PS2] Shadow Hearts .PKB

Post by aluigi »

How many PKB files you have there?
Apparently PKFINFO.TBL says that there are at least 14 PKB archives.

I leave my work-in-progress script here for updating it later:

Code: Select all

putarray 0 -1 "BTLBG.PKB"
putarray 0 -1 "COMMON.PKB"
putarray 0 -1 "EFFECT.PKB"
putarray 0 -1 "MODELS.PKB"
putarray 0 -1 "MOVIE.PKB"
putarray 0 -1 "MPS.PKB"
putarray 0 -1 "PIC.PKB"
putarray 0 -1 "SOUND.PKB"
putarray 0 -1 "TEXTURE.PKB"

open FDSE "PKFINFO.TBL"

get FILES short
get ENTRY_SIZE short  # or INFO_OFF
get TBL_SIZE long
goto ENTRY_SIZE
math PKB_IDX = -1
for i = 0 < FILES
    get DUMMY longlong
    get OFFSET long
    get SIZE long
    if SIZE & 0x80000000
    else
        if OFFSET == 0
            math PKB_IDX + 1
            getarray TMP 0 PKB_IDX
            open FDSE TMP 1
        endif
        log "" OFFSET SIZE 1
    endif
next i
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: [PS2] Shadow Hearts .PKB

Post by makc_ar »

9 .PKB in Shadow Hearts. How about Shadow Hearts: Covenant and Shadow Hearts: From the New World .PKB?

Image

Example: https://www83.zippyshare.com/v/xJqXJPAZ/file.html

Image

Example: https://www83.zippyshare.com/v/9xDB1qvP/file.html
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [PS2] Shadow Hearts .PKB (Series)

Post by aluigi »

No idea. There are for sure more than 12 references to archives based on the offsets 00000000 and no reference to the name of the archive so don't know what set of entries is assigned to what package
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [PS2] Shadow Hearts .PKB (Series)

Post by aluigi »

Feel free to share your working script if you plan to continue working on it.
ShadowCross
Posts: 1
Joined: Wed Aug 08, 2018 12:23 pm

Re: [PS2] Shadow Hearts .PKB (Series)

Post by ShadowCross »

Is there any way to open the .txd files from shadow heart covenant? I would like to edit the textures in the game.
jeimisson
Posts: 1
Joined: Fri Jul 05, 2019 12:43 am

Re: [PS2] Shadow Hearts .PKB (Series)

Post by jeimisson »

Could you make the Uplod files to download please? Because the links are OFF
"File has expired and does not exist anymore on this server"