diff --git a/ArcFormats/ArcABM.cs b/ArcFormats/ArcABM.cs index a998758e..b6b4c2c1 100644 --- a/ArcFormats/ArcABM.cs +++ b/ArcFormats/ArcABM.cs @@ -87,10 +87,11 @@ namespace GameRes.Formats.Lilim var dir = new List (count); long next_offset = file.View.ReadUInt32 (0x42); uint current_offset = 0x46; + string base_name = Path.GetFileNameWithoutExtension (file.Name); for (int i = 0; i < count; ++i) { var entry = new AbmEntry { - Name = i.ToString ("D4") + ".tga", + Name = string.Format ("{0}#{1:D4}.tga", base_name, i), Type = "image", Offset = next_offset, Index = i,