Atvaark / BinderTool

Dark Souls II / Dark Souls III / Bloodborne / Elden Ring bdt, bhd, bnd, dcx, tpf, fmg and param unpacking tool
MIT License
310 stars 50 forks source link

DDS file extraction #6

Closed ComeOnAndSlam closed 8 years ago

ComeOnAndSlam commented 8 years ago

I don't know if you already know about this or not, but it seems that some (most) textures do not extract correctly. The broken files extract correctly up until it reaches the file's header, which in working files is "DX1" and in broken files, "DX10". Afterwards, shit goes wild in the DX10 files. Example

Atvaark commented 8 years ago

This isn't a BinderTool issue.

Does the tool you are using to view the DX10 DDS files even support DX10 compression?

ComeOnAndSlam commented 8 years ago

Are you certain? Because the entirety of the file following that header statement is the exact same line, repeated over and over again. I could be wrong, but it seems to me that regardless of compression methods used, any valid file would have at least some variation, unless it was entirely homogenous, which shouldn't be the case in a nigh-30MB texture. I've tried GIMP, PDN, Photoshop, and the Windows 10 Image Viewer and none of them are capable of opening them, nor does Windows 10 display a thumbnail, as it does for the DX1-labeled images.

If it's not a BinderTool issue, it's not a BinderTool issue, sorry for wasting your time.

Atvaark commented 8 years ago

It's most likely a solid black texture. You can try to convert it to another format with DirectXTex and see for yourself.

The other files in that .tpf archive aren't solid black by the way.

Atvaark commented 8 years ago

Any news on this?

amornthep144 commented 8 years ago

Works fine for me though I had to convert to another format in order to read the files.