mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-25 04:14:13 +08:00
(QLIE): set ContainedFormats property.
This commit is contained in:
parent
eb04122443
commit
1ffca62364
@ -84,6 +84,7 @@ namespace GameRes.Formats.Qlie
|
|||||||
public PackOpener ()
|
public PackOpener ()
|
||||||
{
|
{
|
||||||
Extensions = new string [] { "pack" };
|
Extensions = new string [] { "pack" };
|
||||||
|
ContainedFormats = new[] { "ABMP/QLIE", "DPNG", "PNG", "JPEG", "OGG", "WAV" };
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -147,7 +148,7 @@ namespace GameRes.Formats.Qlie
|
|||||||
if (name_length != index.Read (name_buffer, 0, name_length))
|
if (name_length != index.Read (name_buffer, 0, name_length))
|
||||||
return null;
|
return null;
|
||||||
var name = enc.DecryptName (name_buffer, name_length);
|
var name = enc.DecryptName (name_buffer, name_length);
|
||||||
var entry = FormatCatalog.Instance.Create<QlieEntry> (name);
|
var entry = Create<QlieEntry> (name);
|
||||||
if (use_pack_keyfile)
|
if (use_pack_keyfile)
|
||||||
entry.RawName = name_buffer.Take (name_length).ToArray();
|
entry.RawName = name_buffer.Take (name_length).ToArray();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user