Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Atvaark/BinderTool.git
Browse files Browse the repository at this point in the history
  • Loading branch information
Atvaark committed Feb 19, 2015
2 parents 1ea2801 + bbbcbcd commit 046c287
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# BinderTool
A Dark Souls II bdt, bnd and dcx unpacking tool

##Requirements
```
Microsoft .NET Framework 4.5
SharpZipLib
BouncyCastle
```

##Usage
```
BinderTool input_file_path [output_folder_path]
```
If no output folder path is specified then the files are unpacked in a folder called after the archive that is getting unpacked.

##Examples

Unpacking an encrypted bdt file. This requires the corresponding KeyCode.pem and Ebl.bhd files to be in the same folder.
```
BinderTool GameDataEbl.bdt
```

Unpacking an unencrypted bdt file. This requires the corresponding bhd file to be in the same folder.
```
BinderTool t10_23_00_00.tpfbdt
```

Unpacking a bnd file
```
BinderTool c0001.bnd
```

Unpacking a dcx file
```
BinderTool 01.febnd.dcx
```

##Remarks

###Alternative file extensions for bdt files
Extension | Content
---------------- | ------------
gibdt | Map models
hkdbdt | Map models (Havok)
mapbdt | Map models
tpfbdt | Map textures

###File names
The file names in the PossibleFilenames.csv are just guesses. They were automatically generated and contain several collisions. When there are multiple file names for a hash the first file name gets picked.
If a file name can not be found by its hash value, the file extension is guessed and the file is called after the hash and the archive it originates from. Since there are a few file formats (e.g. .param) without a magic number at offset 0 there will be a few .dat files that could contain anything.

0 comments on commit 046c287

Please sign in to comment.