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

Error when trying to extract BND files #52

Closed steamedowl closed 2 years ago

steamedowl commented 2 years ago

I'm new at this, so apologies if there's something basic I'm missing. I'm using the Elden Ring branch. As I understand it, any file type ending in BND should be extractable with BinderTool. .geombnd, .mapbnd etc. When I try and run it, I get this error;

Unhandled Exception: System.NotSupportedException: The given path's format is not supported. at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath) at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost) at BinderTool.Program.Process(Options options) at BinderTool.Program.Main(String[] args)

I've tried multiple files all of which have thrown this error, and I don't have the expertise to troubleshoot the problem.

Atvaark commented 2 years ago

Well I can't exactly troubleshoot this without you sharing the exact command you are trying to execute.

steamedowl commented 2 years ago

BinderTool "C:\Users\myname\Desktop\Elden Ring Ripping\Data 0\other\decaltex.tpf" ["C:\Users\myname\Desktop\Elden Ring Ripping\Tast"]

Atvaark commented 2 years ago

Did you include these square brackets on purpose? This is not a valid windows path.

These usually just symbolize optional parameters in the documentation. You can omit them if you want the tool to use the default output path.

steamedowl commented 2 years ago

Oh dear, that's how inexperienced I am. That was the problem, thanks!