Black Clover Quartet Knights

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
demonslayerx8
beginner
Posts: 31
Joined: Mon Jul 06, 2015 12:48 am
Has thanked: 7 times
Been thanked: 2 times

Black Clover Quartet Knights

Post by demonslayerx8 » Sat Sep 15, 2018 5:33 pm

Would anyone be willing to make a script/tool to unpack the files from Black Clover Quartet Knights?
I'd upload the files, but they're pretty big and would take too long to upload, but looks like the DATH files are for file directories I think, but can be grabbed down below.
Image
Image
You do not have the required permissions to view the files attached to this post.

User avatar
Bigchillghost
ultra-veteran
ultra-veteran
Posts: 409
Joined: Tue Jul 05, 2016 9:37 am
Has thanked: 18 times
Been thanked: 247 times

Re: Black Clover Quartet Knights

Post by Bigchillghost » Sun Sep 16, 2018 2:13 pm

You can use the following BMS commands to unpack the dat archives:

Code: Select all

idstring "GDAT"
get EXT extension
if EXT != "dath"
	cleanexit
endif
get DatName basename
set Path string ArcName
string Path + \
string DatName + ".dat"
open "." DatName 1
get Count long
for i = 0 < Count
	get Unknown longlong
	get Offset longlong
	get Size longlong
	set Name string Path
	string Name + i
	string Name + ".dmp"
	log Name Offset Size 1
next i
Select the dath files as input and the files within the dat archive would be dumped into a folder with the same name as the archive.
But the filenames are at the start of the corresponding data chunk in the dat file, which seem to be encrypted.
The code above instead would name the output files using the loop index.
"No investigation means no right to speak."
- An Imitable Workflow for Reverse Engineering a Game Model
- Reverse Model Wireframe


Say it with action: click the Image when you get helped.:)

Post Reply