mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-25 04:14:13 +08:00
(RAW): entries name format.
This commit is contained in:
parent
b0fcb19c08
commit
1ca690d4d9
@ -55,7 +55,7 @@ namespace GameRes.Formats.Patisserie
|
|||||||
while (current_offset < end)
|
while (current_offset < end)
|
||||||
{
|
{
|
||||||
var entry = new Entry {
|
var entry = new Entry {
|
||||||
Name = string.Format (i.ToString ("D4")),
|
Name = string.Format ("{0:D4}.tga", i++),
|
||||||
Type = "image",
|
Type = "image",
|
||||||
Offset = current_offset,
|
Offset = current_offset,
|
||||||
};
|
};
|
||||||
@ -66,7 +66,6 @@ namespace GameRes.Formats.Patisserie
|
|||||||
return null;
|
return null;
|
||||||
dir.Add (entry);
|
dir.Add (entry);
|
||||||
current_offset += entry.Size;
|
current_offset += entry.Size;
|
||||||
++i;
|
|
||||||
}
|
}
|
||||||
return new ArcFile (file, this, dir);
|
return new ArcFile (file, this, dir);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user