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

Multiple files at once #30

Open mostlyhuman opened 6 years ago

mostlyhuman commented 6 years ago

I tried doing a BinderTool.exe *.bnd hoping it would do each file in the directory and create subfolders for each but it didnt appear to have this functionality. Would it be possible to include that?

tony9959 commented 6 years ago

cd path_to_root for /R %%f in (*.bnd) do ( "C:\your binder directory\Bindertool.exe" "%%f" ) Run this as a .bat files. Cheers

googleben commented 2 years ago

This functionality is included in the Elden Ring branch and should be merged into the main branch when backwards compatibility with older games is checked out.

whitelightning76 commented 2 years ago

Can this Elden Ring branch version be used to unpack SOTF textures ?

if so , what would be the command ?
I tried BinderTool d:_MODDING\unpack\ d:_MODDING\unpack textures\ --recurse true , but i get error "System.IO.IOException: Cannot create "d:_MODDING\unpack\chr\c0001.bnd" because a file or directory with the same name already exists." with a lot of files. So i am really unsure I am doing the right procedure at all.

HunterAP23 commented 2 years ago

Can this Elden Ring branch version be used to unpack SOTF textures ?

if so , what would be the command ? I tried BinderTool d:_MODDING\unpack\ d:_MODDING\unpack textures\ --recurse true , but i get error "System.IO.IOException: Cannot create "d:_MODDING\unpack\chr\c0001.bnd" because a file or directory with the same name already exists." with a lot of files. So i am really unsure I am doing the right procedure at all.

Look at the command line usage section of the README in the Elden Ring branch: https://github.com/Atvaark/BinderTool/tree/elden-ring#usage

The Elden Ring branch should just autodetect the game for you, but you can specify it with -g DarkSouls2 But the main thing is that the path D:\MODDING\unpack textures\ has a space in it at unpack textures - you either need to rename the folder to not have spaces like unpack_textures or unpack-textures, or put quotes around that path in the command line like "D:\MODDING\unpack textures\"

Last thing is that you're not actually specifying to extract textures - you'll have to add --extract-bnd true --extract-tpf true to do that