mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(IResource.CanWrite): new property.
(ArchiveFormat.CanCreate): renamed to CanWrite.
This commit is contained in:
@@ -46,7 +46,7 @@ namespace GameRes.Formats.BlackRainbow
|
||||
public override string Description { get { return "ADVDX engine resource archive"; } }
|
||||
public override uint Signature { get { return 0; } }
|
||||
public override bool IsHierarchic { get { return false; } }
|
||||
public override bool CanCreate { get { return false; } }
|
||||
public override bool CanWrite { get { return false; } }
|
||||
|
||||
public static Dictionary<string, byte[]> KnownKeys = new Dictionary<string, byte[]>();
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace GameRes.Formats.BlackRainbow
|
||||
public override string Description { get { return "GSP resource archive"; } }
|
||||
public override uint Signature { get { return 0; } }
|
||||
public override bool IsHierarchic { get { return false; } }
|
||||
public override bool CanCreate { get { return false; } }
|
||||
public override bool CanWrite { get { return false; } }
|
||||
|
||||
public override ArcFile TryOpen (ArcView file)
|
||||
{
|
||||
@@ -75,7 +75,7 @@ namespace GameRes.Formats.BlackRainbow
|
||||
public override string Description { get { return "BlackRainbow resource archive"; } }
|
||||
public override uint Signature { get { return 0; } }
|
||||
public override bool IsHierarchic { get { return false; } }
|
||||
public override bool CanCreate { get { return false; } }
|
||||
public override bool CanWrite { get { return false; } }
|
||||
|
||||
public DatOpener ()
|
||||
{
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace GameRes.Formats.BlackRainbow
|
||||
public override string Description { get { return "BlackRainbow/Melty resource archive"; } }
|
||||
public override uint Signature { get { return 0; } }
|
||||
public override bool IsHierarchic { get { return true; } }
|
||||
public override bool CanCreate { get { return false; } }
|
||||
public override bool CanWrite { get { return false; } }
|
||||
|
||||
public PakOpener ()
|
||||
{
|
||||
|
||||
@@ -49,6 +49,7 @@ namespace GameRes.Formats.BlackRainbow
|
||||
public override string Tag { get { return "BMD"; } }
|
||||
public override string Description { get { return "Black Rainbow bitmap format"; } }
|
||||
public override uint Signature { get { return 0x444d425fu; } } // '_BMD'
|
||||
public override bool CanWrite { get { return true; } }
|
||||
|
||||
public override ImageMetaData ReadMetaData (Stream stream)
|
||||
{
|
||||
|
||||
@@ -37,6 +37,7 @@ namespace GameRes.Formats.BlackRainbow
|
||||
public override string Tag { get { return "BMZ"; } }
|
||||
public override string Description { get { return "Compressed bitmap format"; } }
|
||||
public override uint Signature { get { return 0x33434c5au; } } // 'ZLC3'
|
||||
public override bool CanWrite { get { return true; } }
|
||||
|
||||
public override void Write (Stream file, ImageData image)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user