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.

[PS4] The Witch And The Hundred Knight .dat Archive

Featured Replies

  • Author
  • Localization

akderebur, posted Sun Apr 22, 2018 2:53 pm (34240)


Hello,

I have an archive from a ps4 game called The Witch And The Hundred Knight, with the extension ".dat". I need some assistance in unpacking it.

Unfortunately I can't post it here, since it is a single 5 GB file. PM me about this, if you are interested. I will post the start of the file and some Hex Editor screenshots to give a general idea.



Here is how the start of the file looks like :
Image

And at the end are the file names :
Image

I know this is probably not enough to understand the format. I can provide more stuff if requested. Maybe I can extract parts of the file, that might be useful. Like I said better PM me about this.

Thanks.
  • Author
  • Localization

akderebur, posted Sun Apr 22, 2018 4:37 pm (34249)


aluigi wrote:
that start.bin is not much useful.

Yea, I realized that after I started working on the archive :D

Anyway I was able to write a quickbms script, by checking out some other scripts. Folders are fine and the exported phyre files look similar to other phyre games that I worked on. So I assume it is exporting correctly. There seems to be no compression.

Image

Here is the script :
Code:
#The Witch And The Hundred Knight (PS4) .dat
idstring "FAFULLFS"
get FILES longlong
get NSOFF longlong #names
get NSIZE longlong
get TABLEOFF longlong
goto TABLEOFF
savepos TMP
for i = 0 goto TMP
get UNK1 longlong
get NOFF longlong
get NULL longlong
get SIZE longlong
get FOFF longlong
get UNK3 longlong
savepos TMP
xmath NTMP "NSOFF NOFF"
goto NTMP
get FNAME string
goto FOFF
log FNAME FOFF SIZE
next i
  • Author
  • Localization

aluigi, posted Sun Apr 22, 2018 5:47 pm (34254)


Well done.
Anyway I would appreciate if you can upload the filecutted sample just for my collection of scripts :)
  • Author
  • Localization

akderebur, posted Sun Apr 22, 2018 5:59 pm (34258)


aluigi wrote:
Anyway I would appreciate if you can upload the filecutted sample just for my collection of scripts :)

Of course. I run the script with the default values, I hope it is fine.
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.