NX-Editor / NxEditor.EpdPlugin

EPD plugin for NX-Editor
GNU Affero General Public License v3.0
2 stars 1 forks source link

Files being put into .msbt file locations if they are simultaneously opened #12

Closed Waikuteru closed 8 months ago

Waikuteru commented 11 months ago

Hello,

I edited a language pack USen, and inside a .msbt. Saving worked fine until I opened the RSTB as well in this active NX-Editor instance. When I saved, the language pack went from 2MB to 4MB and I wondered why. I then also opened the GameDataList, made some changes, saved, and also saved the language pack again and it put both the RSTB as well as the GameDataList file into the location in where the .msbt I was editing can be found. I'll attach a screenshot (the 2 files are found at the top and normally don't belong in there): image image

Why is this an issue? The language pack got very big because of that and the game cannot boot with such a big language file anymore.

ArchLeaders commented 11 months ago

Sounds like an issue with the sarc sub-file saving logic, I'll look into it when I can.

ArchLeaders commented 8 months ago

I couldn't recreate this, do you think you could be more specific about what you were doing?

Waikuteru commented 8 months ago

Sounds like an issue with the sarc sub-file saving logic, I'll look into it when I can.

I opened USen, copied the contents from my Randomizer.msbt from USen, then also dragged EUde onto NX to open it, then also opened Randomizer.msbt, and it defaulted to the Randomizer.msbt tab I had for USen instead of creating a new one.

So currently what I do is usually close NX for every language pack I edit to make sure nothing is cached or a file from another language pack is accidentally edited.

ArchLeaders commented 8 months ago

Couldn't find the issue, but I did a lot of work on the IO so this shouldn't be an issue. Feel free to re-open if it's still an issue.