Temp fix for AI parsing.

This commit is contained in:
Razmoth
2022-12-13 23:53:27 +04:00
parent ee86efa0c8
commit 925c42fff2
3 changed files with 6 additions and 11 deletions

View File

@@ -237,7 +237,7 @@ namespace AssetStudioCLI
case ClassIDType.MiHoYoBinData:
if (indexObject.Names.TryGetValue(objectReader.m_PathID, out var binName))
{
var path = ResourceIndex.GetContainerFromBinName(file, binName);
var path = ResourceIndex.GetContainerFromBinName(binName);
asset.Container = path;
asset.Name = !string.IsNullOrEmpty(path) ? Path.GetFileName(path) : binName;
}