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

Why doesn't BinderTool not extract .dcx files? to Why doesn't BinderTool extract .dcx files? #17

Closed ponaromixxx closed 7 years ago

ponaromixxx commented 7 years ago

How to extract these files:

Msg: /rusRU/item_dlc1.msgbnd.dcx Msg: /rusRU/item_dlc2.msgbnd.dcx Msg: /rusRU/menu_dlc1.msgbnd.dcx Msg: /rusRU/menu_dlc2.msgbnd.dcx Msg: /rusRU/ngword.msgbnd.dcx

Only these are extracted:

Msg: /rusRU/item_dlc1.msgbnd Msg: /rusRU/item_dlc2.msgbnd Msg: /rusRU/menu_dlc1.msgbnd Msg: /rusRU/menu_dlc2.msgbnd Msg: /rusRU/ngword.msgbnd

Atvaark commented 7 years ago

The latter files are already extracted from the former files.

item_dlc1.msgbnd.dcx is a compressed item_dlc1.msgbnd.

If you want to extract the compressed .dcx files for whatever reason you're going to have to comment out the part that automatically decompresses dcx files and build your own version of the tool. See: Program.cs#L178-L194

ponaromixxx commented 7 years ago

Thank you, I did not want to change the whole text!