mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
updated formats.
(PICT): fixed 16bpp images. (GDT): added image format. (DXR): tweaks to recognizing DXR inside exe files. (NSA): recognize mp3 files named as nsa. (TLZ): added ContainedFormats. (WrapSingleFileAchive): class that represents single file as an archive. (DesertCgOPener): Software House Parsley archive. (Triangle.RleReader): utilize UnpackV2, replaced BinaryReader with IBinaryStream.
This commit is contained in:
@@ -107,6 +107,9 @@ namespace GameRes.Formats.NScripter
|
||||
catch { /* ignore parse errors */ }
|
||||
if (zero_signature || !file.Name.HasExtension (".nsa"))
|
||||
return null;
|
||||
uint signature = file.View.ReadUInt32 (0);
|
||||
if ((signature & 0xFFFFFF) == 0x90FBFF) // looks like mp3 file
|
||||
return new WrapSingleFileArchive (file, Path.GetFileNameWithoutExtension (file.Name)+".mp3");
|
||||
|
||||
var password = QueryPassword();
|
||||
if (string.IsNullOrEmpty (password))
|
||||
|
||||
Reference in New Issue
Block a user