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 :
And at the end are the file names :
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.
[PS4] The Witch And The Hundred Knight .dat Archive
-
- Posts: 68
- Joined: Wed Nov 15, 2017 1:54 pm
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: [PS4] The Witch And The Hundred Knight .dat Archive
Use ever http://aluigi.org/bms/filecutter.bms because that start.bin is not much useful.
-
- Posts: 68
- Joined: Wed Nov 15, 2017 1:54 pm
Re: [PS4] The Witch And The Hundred Knight .dat Archive
aluigi wrote:that start.bin is not much useful.
Yea, I realized that after I started working on the archive
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.
Here is the script :
Code: Select all
#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 < FILES
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
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: [PS4] The Witch And The Hundred Knight .dat Archive
Well done.
Anyway I would appreciate if you can upload the filecutted sample just for my collection of scripts
Anyway I would appreciate if you can upload the filecutted sample just for my collection of scripts
-
- Posts: 68
- Joined: Wed Nov 15, 2017 1:54 pm
Re: [PS4] The Witch And The Hundred Knight .dat Archive
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.