Grimrukh / soulstruct-blender

Blender plugins for FromSoft games, via `soulstruct`.
97 stars 4 forks source link

NotADirectoryError when importing/exporting Bloodborne flver on Soulstruct 2.0 #62

Closed fromsoftserve closed 2 months ago

fromsoftserve commented 2 months ago

Just trying to import a Bloodborne flver and then export it with or without any edits, as I know prior versions of Soulstruct couldn't export them yet. Keep running into this issue on both Blender 4.1 or 4.2.

Screenshot 2024-09-08 160832

I've made sure I'm selecting the root folder of Bloodborne (dvdroot_ps4) in the general settings. Unless I'm missing something basic, which is likely lol.

fromsoftserve commented 2 months ago

Oh so it did just work if I selected export mappiece, instead of export loose flver which is what I had become used to with exporting DSR mappieces.

Grimrukh commented 2 months ago

Hmm, strange. So to clarify, you get that error in the screenshot when you click Export Loose FLVER? Because the error is being raised from the Import Map Piece operator (or is the error happening when you try to re-import the loose exported FLVER?).

Grimrukh commented 2 months ago

Regardless, I can definitely see at least one issue in the code here that I'll fix, which could be causing this.

Grimrukh commented 2 months ago

OK, I've replicated this - it looks like the FLVER export does actually work (the file appears), but the error is a separate issue occurring in the polling (availability check) of the Import Map Piece operator.

Grimrukh commented 2 months ago

Fixed in 2.0.1.