mos9527 / sssekai_blender_io

Project SEKAI Blender Asset Importer / PJSK 资源导入插件
https://github.com/mos9527/sssekai
MIT License
10 stars 0 forks source link

Directory dialog crashes Blender, or will not allow you to select bundle file #6

Closed Platonic-DIVA closed 3 months ago

Platonic-DIVA commented 3 months ago

Using Blender 4.2 LTS, the add-on will not let me import bundle files grabbed directly from the CDN (with Sssekai). The files do load in other Unity file viewers.

The Directory dialog will either immediately crash then I try to open it, or when it opens, I can not select the bundle file (As in, Blender will not let me highlight it inside the window)

All of the python dependencies are downloaded and confirmed to work. I am using the most recent update

mos9527 commented 3 months ago

The Directory dialog will either immediately crash then I try to open it...

The plugin shouldn't crash Blender by itself. Should you be able to reproduce it, please attach Blender's crash log (https://docs.blender.org/manual/en/latest/troubleshooting/crash.html#crash-log) so it can be debugged.

or when it opens, I can not select the bundle file (As in, Blender will not let me highlight it inside the window)

This is by design, as you don't load files per-se, you'd load the entire folder that the files reside in. Everything in the folder (that can be loaded) would be read into the plugin's Unity environment.

AssetStudio has it, too. (i.e. File > Load Folder)

This is motivated by how asset bundles can depend on other asset bundles (i.e. dependencies). Loading by folder allows the plugin to resolve the dependency graph on demand.

You may want to,however,only load a subset of the assets at once since parsing the entire game's asset registery will be rather time-consuming. See https://github.com/mos9527/sssekai/wiki#using-abcache-to-download-bundle-files for more info.

To load the bundle file with the file dialog, simply navigate to the folder containing the file,and then click Accept. e.g. image