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.

Taikou Risshiden V (Data.bin)

Featured Replies

  • Author
  • Localization

sigroon365, posted Tue May 12, 2015 1:41 pm (5241)


I wonder what is the comtype of this game.
PPHD, PPTN, PPVAH, KSEF0130,... - maybe uncompressed
TK5P, CMPS - some TK5P may uncompressed, but most of this type seems compressed

Data file https://drive.google.com/file/d/0B8iw-j0BGWKIRHU4RGN3YnFNVzQ/view?usp=sharing

Code:
#Extract tk5 from Taikou_Risshiden_V DATA.BIN

endian little
math files = 6688

FindLoc OFFSET string "TK5P"

for i = 0 < files
goto OFFSET
getdstring SIGN 4
get UNK1 long
get UNK2 long
get UNK3 long - SIZE..?
get UNK4 long - SIZE..?

if UNK3 != UNK4
math SIZE = UNK3

log "" OFFSET SIZE
FindLoc NEXT_OFF binary "\x00\x00\x00\x00\x00\x00\x00\x00" 0 ""

else
FindLoc NEXT_OFF binary "\x00\x00\x00\x00\x00\x00\x00\x00" 0 ""
xmath ZSIZE "NEXT_OFF - OFFSET"
log "" OFFSET ZSIZE
endif

FindLoc OFFSET string "TK5P" 0 ""

next i
  • Author
  • Localization

aluigi, posted Tue May 12, 2015 6:08 pm (5250)


I suggest you to find the index file because it will make the whole work easier.
A scanner must be just the last hope.

The compression scanner works at 100% when you know the exact compressed size of the input file.
I tried it with a CMPS file but I had no good results.
  • Author
  • Localization

sigroon365, posted Wed May 13, 2015 4:22 am (5252)


aluigi wrote:
I suggest you to find the index file because it will make the whole work easier.
A scanner must be just the last hope.

The compression scanner works at 100% when you know the exact compressed size of the input file.
I tried it with a CMPS file but I had no good results.

Image
Image
Unfortunately, in the USRDIR folder, there is only one file, Data.bin.

Are there any cases, eboot files hold index information?
Here is decrypted eboot file. https://www.sendspace.com/file/fcipw3
  • Author
  • Localization

aluigi, posted Wed May 13, 2015 6:48 am (5254)


Code:
open FDSE "data.bin"
open FDSE "boot.bin" 1
goto 0x3cb0b4 1
for OFFSET = 0
    get SIZE long 1
    if SIZE == 0
        break
    endif
    log "" OFFSET SIZE
    math OFFSET SIZE
    math OFFSET x 0x800
next

Regarding the compression used by the CMPS files, I don't know what should be their content.
There is a certain huffman encoding (bcl_sf) that gives something like a bitmap, I mean just the output data in the hex editor and not a real image.
  • Author
  • Localization

sigroon365, posted Wed May 13, 2015 8:15 am (5255)


aluigi wrote:
Code:
open FDSE "data.bin"
open FDSE "boot.bin" 1
goto 0x3cb0b4 1
for OFFSET = 0
    get SIZE long 1
    if SIZE == 0
        break
    endif
    log "" OFFSET SIZE
    math OFFSET SIZE
    math OFFSET x 0x800
next

Regarding the compression used by the CMPS files, I don't know what should be their content.
There is a certain huffman encoding (bcl_sf) that gives something like a bitmap, I mean just the output data in the hex editor and not a real image.


Thanks a lot. :)
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.