Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.
Zero Tolerance for Disrespect

PSP Game Bleach Soul Catnival2 cfc.dig unpack help

Featured Replies

  • Author
  • Localization

pgw00k, posted Sun Jun 28, 2015 11:45 am (5968)


Hi,all,i get some files from the game package,but i can't get the real format,so i hope someone can give me some help.
1.First type files are like 0302_UnPack,i think it may be some texture files but i can't sure.They have the head strings PPHD8.

2.And second type files are like 0D02_Pack,i think it may be a compress files,they all have the 00 05 on start.And it have many 38 70 symbols.

There are some simple files.
  • Author
  • Localization

aluigi, posted Sun Jun 28, 2015 4:02 pm (5972)


The unpack files seem to contain VAG data from about offset 0x400
  • Author
  • Localization

pgw00k, posted Mon Jul 06, 2015 9:20 am (6160)


aluigi wrote:
The unpack files seem to contain VAG data from about offset 0x400

thank you aluigi!It seem to be true,but I also can't do anything about the pphd8 files,would you have some ideas?They should be textures but i can find the size or other useful thing.
  • Author
  • Localization

aluigi, posted Mon Jul 06, 2015 11:23 am (6165)


In the files you provided I see only VAG data.
There 4 chunk types at the beginning PPHD, PPPG, PPTN, PPVA that may contain some information about the vag files in the archive.
But I see absolutely nothing about textures.

Try this script:
Code:
goto 0x28
get BASE_OFF long
math BASE_OFF 0x20
for OFFSET = 0x38 < BASE_OFF
    goto OFFSET
    getdstring TYPE 4
    get SIZE long
    savepos OFFSET
    if TYPE == "PPVA"
        getdstring DUMMY 0x18
        xmath FILES "(SIZE - 0x18) / 0x10"
        for i = 0 < FILES
            get OFFSET long
            get XSIZE long
            get SIZE long
            get DUMMY long
            math OFFSET BASE_OFF
            log "" OFFSET SIZE
        next i
    else
        log TYPE OFFSET SIZE
    endif
    math OFFSET SIZE
next
  • Author
  • Localization

pgw00k, posted Tue Jul 07, 2015 3:55 am (6171)


aluigi wrote:
The unpack files seem to contain VAG data from about offset 0x400

Thanks your help.
i use the script but it can't get a right VAG file which can play,it doesn't matter ,i care about the textures more.
This is the whole packhttps://yadi.sk/d/LST9MftJhiARs,
and this can unpack it (forgive me poor bms language)
Code:
for OFFSET = 0x10 < 0x6b00
    goto OFFSET   
    get BASE_OFF long
    get XSIZE long
    get FILES short
    get Z short
    get SIZE long
    math BASE_OFF * 0x800
    goto BASE_OFF
    log BASE_OFF BASE_OFF XSIZE
    math OFFSET 0x10
next


i guess the FILES is the number of compression contain,and the Z is show it whether compress because it only have 1 or 0.
and the BOOT.BIN have some C code (looks like),and some file name?may be you could find something in it.
  • Author
  • Localization

aluigi, posted Tue Jul 07, 2015 8:29 am (6184)


It's more complex than what it looks.
The following is the corrected script (same extracted files so it's not a real correction), I guess that the compressed files are splitted in chunks of 0x4000 bytes.
Code:
goto 0x10
for
    get OFFSET long
    if OFFSET == 0
        break
    endif
    get ZSIZE long
    get CHUNKS short
    get ZIP short
    get SIZE long
    math OFFSET * 0x800
    if ZIP == 0
        log "" OFFSET SIZE
    else
        # unsupported, must handle chunks too
        log "" OFFSET ZSIZE
    endif
next

I don't know what is the compression.
  • Author
  • Localization

pgw00k, posted Thu Jul 09, 2015 2:48 pm (6258)


aluigi wrote:
I don't know what is the compression.

Thank you aluigi,i will try some others way about it,thank for your help again!!
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.