BinderTool icon indicating copy to clipboard operation
BinderTool copied to clipboard

Multiple files at once

Open mostlyhuman opened this issue 7 years ago • 4 comments

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?

mostlyhuman avatar Mar 01 '18 03:03 mostlyhuman

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

tony9959 avatar May 22 '18 10:05 tony9959

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.

googleben avatar Mar 20 '22 23:03 googleben

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.

whitelightning76 avatar Jul 21 '22 15:07 whitelightning76

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

HunterAP23 avatar Jul 21 '22 17:07 HunterAP23