nesrak1 / UABEA

c# uabe for newer versions of unity
MIT License
1.13k stars 144 forks source link

lost processing multiple assets files #177

Closed Bxaa closed 2 years ago

Bxaa commented 2 years ago
 private async void MenuOpen_Click(object? sender, RoutedEventArgs e)
         {
             OpenFileDialog ofd = new OpenFileDialog();
             ofd.AllowMultiple = true; --- <<< JUST ADD THIS
             ofd.Title = "Open assets or bundle file";

You lost a global multiple files processing at one operation, that fully supported (UABE) Multiple

nesrak1 commented 2 years ago

It's being worked on, but it's harder than just adding the allow multiple option.

Bxaa commented 2 years ago

Everything works - just allow multiple (all code already present)

nesrak1 commented 2 years ago

The issue is mainly with the AssetsFile detection code being bad. It falsely tries to read files as AssetsFiles that aren't and causes crashes when someone just selects all files in a _Data folder.

Bxaa commented 2 years ago

Even if that's the case, it's a matter of seconds to fix. (with everything I've tried no glitches) And yes, thank you very much for continuing to develop this tool.

nesrak1 commented 2 years ago

Going to rework the function a bit and fix nesrak1/AssetsTools.NET#76 at the same time

nesrak1 commented 2 years ago

That function needs more work, but if you need something right now check the latest build.

Bxaa commented 2 years ago

Thank you, if I catch any glitches I will report.

Also, suggestion: Add selection of all elements by type (e.g. textures) by double-clicking on one of them in the list. This function very useful for all.

Thx

nesrak1 commented 2 years ago

Yeah, I was thinking a filter option on selection or by name would be nice to have.