XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Mon Aug 21, 2017 3:12 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 83 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: Dark Souls 3 *.bdt and *.bhd Files
PostPosted: Wed Apr 13, 2016 2:22 pm 
Offline
n00b

Joined: Thu Jan 15, 2015 10:10 pm
Posts: 15
Has thanked: 1 time
Have thanks: 0 time

I would like to know if anyone can break the encryption of dark souls 3's files
here is sample of the files BDT and BHD:
https://drive.google.com/folderview?id= ... aring#grid

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: Dark Souls 3 *.bdt and *.bhd Files
PostPosted: Wed Apr 13, 2016 4:56 pm 
Offline
ultra-n00b

Joined: Mon Oct 21, 2013 9:50 pm
Posts: 7
Has thanked: 6 times
Have thanks: 1 time
Me too. More specifically, I would like to extract all the textures and item images from these files. Hope someone can figure this out :)

EDIT: Managed to extract the bdt files partially using offzip.

Now I have a folder full of TPF files that I can't see to open. I tried using Rick's tools but it crashes every time I try (so probably incompatible)

Anyone have any ideas on how to work with these TPF files?


Top
 Profile  
 
 Post subject: Re: Dark Souls 3 *.bdt and *.bhd Files
PostPosted: Wed Apr 13, 2016 6:18 pm 
Offline
n00b

Joined: Thu Jan 15, 2015 10:10 pm
Posts: 15
Has thanked: 1 time
Have thanks: 0 time
can you please post step-by-step how you were able to extract them using offzip?
the tpf files I think there is a tool with Rick Tewls that can extract tpf files

EDIT: i tried using Offzip but it uses a different zip format or something....


Top
 Profile  
 
 Post subject: Re: Dark Souls 3 *.bdt and *.bhd Files
PostPosted: Wed Apr 13, 2016 8:10 pm 
Offline
beginner

Joined: Mon Aug 10, 2015 7:03 am
Posts: 36
Has thanked: 13 times
Have thanks: 5 times
If you can explain on how to unencrypted the files, I'll be glad to look into the TPF files.


Top
 Profile  
 
 Post subject: Re: Dark Souls 3 *.bdt and *.bhd Files
PostPosted: Thu Apr 14, 2016 2:26 pm 
Offline
ultra-n00b

Joined: Mon Oct 21, 2013 9:50 pm
Posts: 7
Has thanked: 6 times
Have thanks: 1 time
I have already tried using Rick's Tools unpack the TPF files, but like I said, the tool crashes.

Here's how I unpacked them using offzip. Thanks to chrrox's post in this thread: http://forum.xentax.com/viewtopic.php?f=10&t=7453&start=15

Optional steps but make the process a bit easier:
1. Copy the relevant Data.bdt file to your system's root for ease of access. (Data5.bdt contains all the TFP files as far as I know)
2. Create a new folder on that same drive in root called extract.
3. Copy your offzip folder to the same drive's root

Your folder structure should look something like this now:
Code:
D:\Data5.bdt
D:\offzip
D:\extract


Extracting the files
4. Run the windows command line as Administrator by going to Start and typing cmd, then right click cmd.exe and choose Run as Administrator
5. Write the command line to unpack the files. Look at the optional steps to see why I use these paths. For me it was the following:

Code:
D:\offzip\offzip.exe -a D:\Data5.bdt D:\extract 0x0


6. Press Enter and let it run until finished.
7. Share any new information you may find out in this thread :)

Note that you will probably see a lot of errors. So far, I've only been able to successfully extract most files from Data5.bdt. (About 7GB worth of TPF files) The other Data*.bdt files have barely extracted any content for me. Maybe someone can figure out how to properly extract those files as well.


Last edited by Haoose on Fri Apr 15, 2016 1:06 am, edited 1 time in total.
dat→bdt


Top
 Profile  
 
 Post subject: Re: Dark Souls 3 *.bdt and *.bhd Files
PostPosted: Thu Apr 14, 2016 2:58 pm 
Offline
n00b

Joined: Thu Jan 15, 2015 10:10 pm
Posts: 15
Has thanked: 1 time
Have thanks: 0 time
Okay so I was able to extract multiple .BND files from Data3.bdt and I tried using BinderTool to extract them but I come up with a files named "N" with no extension. Maybe we are getting closer

EDIT: Okay I was able to extract the BND files using offzip command. I came up with alot of extensions including dat and txt.


Top
 Profile  
 
 Post subject: Re: Dark Souls 3 *.bdt and *.bhd Files
PostPosted: Sat Apr 16, 2016 3:17 am 
Offline
beginner

Joined: Mon Aug 10, 2015 7:03 am
Posts: 36
Has thanked: 13 times
Have thanks: 5 times
Extracting the BDT files right now, but you should be able to open the TPF texture files with a hex editor and see if it's a DDS file with a TPF header. That's what it was like for Demon Souls, Dark Souls, DSII, and DSII SotFS.

It also looks like all the filed named N are also DDS files with a TPF header, and all the WAAW files I believe are HKX animations. The DAT files seem to be the engine's coding for shaders and lighting.


Top
 Profile  
 
 Post subject: Re: Dark Souls 3 *.bdt and *.bhd Files
PostPosted: Sat Apr 16, 2016 7:35 pm 
Offline
Moderator

Joined: Sun Mar 27, 2011 8:42 pm
Posts: 933
Has thanked: 10 times
Have thanks: 120 times
not sure what are you doing now but DS3 is supported... https://github.com/Atvaark/BinderTool

_________________
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/


Top
 Profile  
 
 Post subject: Re: Dark Souls 3 *.bdt and *.bhd Files
PostPosted: Sat Apr 16, 2016 8:44 pm 
Offline
n00b

Joined: Thu Jan 15, 2015 10:10 pm
Posts: 15
Has thanked: 1 time
Have thanks: 0 time
How can I use the source files? I can't seem to find an exe version and I have no experience in compiling programs whatsoever....


Top
 Profile  
 
 Post subject: Re: Dark Souls 3 *.bdt and *.bhd Files
PostPosted: Sun Apr 17, 2016 1:06 am 
Offline
beginner

Joined: Thu Jul 30, 2015 5:05 am
Posts: 39
Has thanked: 13 times
Have thanks: 3 times
i get a error when trying to use the binder tool

C:\WINDOWS\system32>D:\binder\BinderTool.exe D:\A\Data5.bdt D:\Extract

Unhandled Exception: System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
at System.IO.BinaryReader.ReadInt32()
at BinderTool.Core.Bhf4.Bhf4Entry.Read(Stream inputStream) in c:\Users\Tim\Documents\GitHub\BinderTool\BinderTool.Core\Bhf4\Bhf4Entry.cs:line 27
at BinderTool.Core.Bhf4.Bhf4File.Read(Stream inputStream) in c:\Users\Tim\Documents\GitHub\BinderTool\BinderTool.Core\Bhf4\Bhf4File.cs:line 78
at BinderTool.Program.UnpackBdf4File(Options options)
at BinderTool.Program.Main(String[] args)


Top
 Profile  
 
 Post subject: Re: Dark Souls 3 *.bdt and *.bhd Files
PostPosted: Sun Apr 17, 2016 2:53 am 
Offline
ultra-n00b

Joined: Tue Jun 10, 2014 5:37 pm
Posts: 8
Has thanked: 2 times
Have thanks: 1 time
pewposterous, this happens when you don't spell the BDT filename correctly, BinderTool is case sensitive.


Top
 Profile  
 
 Post subject: Re: Dark Souls 3 *.bdt and *.bhd Files
PostPosted: Sun Apr 17, 2016 4:10 am 
Offline
beginner

Joined: Thu Jul 30, 2015 5:05 am
Posts: 39
Has thanked: 13 times
Have thanks: 3 times
Thanks for the help but im not sure i follow. I type this "D:\binder>BinderTool.exe D:\A\Data5.bdt D:\Extract". This is all case sensitive as far as i can tell and ive triple checked that im spelling everything right. Am i missing something?

I even tried copying the bdt/bhd files into the binder tool folder and mounting from there "D:\binder>BinderTool.exe Data5.bdt" but still get the same error


Top
 Profile  
 
 Post subject: Re: Dark Souls 3 *.bdt and *.bhd Files
PostPosted: Sun Apr 17, 2016 5:06 am 
Offline
beginner

Joined: Mon Aug 10, 2015 7:03 am
Posts: 36
Has thanked: 13 times
Have thanks: 5 times
Some things to note:
The new version of BinderTool doesn't have a file name / folder hierarchy dictionary, so all the files are just named after thier archive with a hash after them, making finding what textures relate to what models nearly impossible. This mean even if you got all the files out, you'd spend months to try to arrange the files accordingly. Might as well wait until an update that includes a dictionary comes out.

Secondly, and also ironically, the updated BinderTool actually found less TPF files than using offzip. BinderTool also has trouble with all the DCX files, but I tried offzip and it seemed to work fine (but without any file naming whatsoever). Whatever DCX files BinderTool did unpack, it unpacked BND files without the BND extension, making the process just that much harder to deal with. I haven't tried out using offzip yet, but I'll look into it.

I'd still recommend waiting until a file/folder dictionary is created, you won't get far from unpacking a bunch of unnamed/unstructured files.


Top
 Profile  
 
 Post subject: Re: Dark Souls 3 *.bdt and *.bhd Files
PostPosted: Sun Apr 17, 2016 5:03 pm 
Offline
ultra-n00b

Joined: Tue Jun 10, 2014 5:37 pm
Posts: 8
Has thanked: 2 times
Have thanks: 1 time
pewposterous wrote:
Thanks for the help but im not sure i follow *snip*


I'm not sure what the problem is then, I put BinderTool and its required DLLs in my path and call it without specifying the absolute path to the exe, but looking through the source that shouldn't make any difference at all and it'd be weird if that was your problem. I managed to unpack by following the readme instructions exactly, but as HunterAP states above, it's not incredibly useful at this point. I'll look more into it during the upcoming week as well as seeing if ResoRep can be used for texture replacement.


Top
 Profile  
 
 Post subject: Re: Dark Souls 3 *.bdt and *.bhd Files
PostPosted: Mon Apr 18, 2016 1:31 am 
Offline
ultra-n00b

Joined: Mon Oct 21, 2013 9:50 pm
Posts: 7
Has thanked: 6 times
Have thanks: 1 time
So, has anyone been able to successfully extract and view any of the game's files yet? Personally, I'm most interested in the texture files, item images and sound files. Has anyone been able to extract these in a usable format yet?



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 83 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: Crazy31139, Yahoo [Bot] and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group