mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 21:55:34 +08:00
(GdOpener.TryOpen): adjusted entries name format.
This commit is contained in:
parent
25c584d2ca
commit
10e3846f51
@ -68,7 +68,7 @@ namespace GameRes.Formats.Xuse
|
|||||||
uint offset = idx.View.ReadUInt32 (index_offset);
|
uint offset = idx.View.ReadUInt32 (index_offset);
|
||||||
if (offset <= last_offset)
|
if (offset <= last_offset)
|
||||||
return null;
|
return null;
|
||||||
var name = string.Format ("{0}#{1:D4}", base_name, i++);
|
var name = string.Format ("{0}#{1:D5}", base_name, i++);
|
||||||
var entry = AutoEntry.Create (file, offset, name);
|
var entry = AutoEntry.Create (file, offset, name);
|
||||||
entry.Size = idx.View.ReadUInt32(index_offset+4);
|
entry.Size = idx.View.ReadUInt32(index_offset+4);
|
||||||
if (!entry.CheckPlacement (file.MaxOffset))
|
if (!entry.CheckPlacement (file.MaxOffset))
|
||||||
|
Loading…
Reference in New Issue
Block a user