TexTools / FFXIV_TexTools_UI

GNU General Public License v3.0
391 stars 64 forks source link

[Bug]: Penumbra Transaction Manager errors out on restore and wipes mod directory #321

Open NCC-Lykos opened 1 month ago

NCC-Lykos commented 1 month ago

Expected behavior?

Clicking "Restore Mod Backup" should restore the backup TexTools took.

Actual behavior?

Has an error message and wipes the mod folder.

Steps to reproduce the problem

  1. Attach to Penumbra Mod
  2. Make changes to mod
  3. Click "Restore Mod Backup" ...

Error messages?

image

That path exists and I can grab the files from it manually.

What aspect of FFXIV TexTools were you using, and what Item were you interacting with?

Component: None yet Item: N/A

Has this has been confirmed as an actual bug?

NCC-Lykos commented 1 month ago

Textools should not nuke the directory before verifying that it can read the backup.

Lunaretic commented 3 weeks ago

I believe this should be fixed by Senko's PR that just got merged, but will wait to verify.