katalash / dstools

Level editor for DS1/DS3/Bloodborne/Sekiro
136 stars 13 forks source link

FMGUtils doesn't support renamed .fmg files. #4

Open vawser opened 5 years ago

vawser commented 5 years ago

Currently the FMGUtils class has a hardcoded filename used when reloading the FMG files. This fails when I load my renamed .fmg files, breaking the Import Map button.

This appears to be the line that causes the issue. ItemFMG = FMG.Read(fmgBnd.Files.Find(x => Path.GetFileName(x.Name) == "アイテム名.fmg").Bytes);

katalash commented 4 years ago

Should hopefully be fixed in the next release