mirror of
https://github.com/lifegpc/GARbro.git
synced 2026-06-06 05:28:49 +08:00
updated formats.
(ExeFile): limited support for 16-bit Windows executables. (MbImageFormat): recognize 'MK' signature. (XP3, VF, YPF): added common executable signature. (PICT): improved parser. (Macromedia): improved support, recognize archives within windows executables. (SEEN): fixed decompression.
This commit is contained in:
@@ -38,17 +38,18 @@ namespace GameRes.Formats
|
||||
|
||||
public MbImageFormat ()
|
||||
{
|
||||
Extensions = new[] { "bmp", "gra" };
|
||||
Extensions = new[] { "bmp", "gra", "xxx" };
|
||||
}
|
||||
|
||||
public override ImageMetaData ReadMetaData (IBinaryStream stream)
|
||||
{
|
||||
int c1 = stream.ReadByte();
|
||||
int c2 = stream.ReadByte();
|
||||
// MB/MC/MK/CL
|
||||
switch (c1)
|
||||
{
|
||||
case 'M':
|
||||
if ('B' != c2 && 'C' != c2)
|
||||
if ('B' != c2 && 'C' != c2 && 'K' != c2)
|
||||
return null;
|
||||
break;
|
||||
case 'C':
|
||||
|
||||
Reference in New Issue
Block a user