(IResource.CanWrite): new property.

(ArchiveFormat.CanCreate): renamed to CanWrite.
This commit is contained in:
morkt 2016-10-11 00:05:22 +04:00
parent 3c5a61d580
commit f1d66206bc
248 changed files with 323 additions and 279 deletions

View File

@ -63,7 +63,7 @@ namespace GameRes.Formats.AZSys
public override string Description { get { return "AZ system resource archive"; } }
public override uint Signature { get { return 0x1a435241; } } // 'ARC\x1a'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public ArcOpener ()
{

View File

@ -172,7 +172,7 @@ namespace GameRes.Formats.AZSys
public override string Description { get { return "AZ system encrypted 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, EncryptionScheme> KnownSchemes = new Dictionary<string, EncryptionScheme>
{
@ -358,7 +358,7 @@ namespace GameRes.Formats.AZSys
public override string Description { get { return "AZ system encrypted 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 ArcIsaacEncryptedOpener ()
{

View File

@ -39,7 +39,7 @@ namespace GameRes.Formats.Abel
public override string Description { get { return "ADVEngine resource archive"; } }
public override uint Signature { get { return 0x00637261; } } // 'arc'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public ArcOpener ()
{

View File

@ -45,6 +45,7 @@ namespace GameRes.Formats.Abel
public override string Tag { get { return "GPS"; } }
public override string Description { get { return "ADVEngine compressed bitmap"; } }
public override uint Signature { get { return 0x535047; } } // 'GPS'
public override bool CanWrite { get { return false; } }
public GpsFormat ()
{

View File

@ -57,7 +57,7 @@ namespace GameRes.Formats.Actgs
public override string Description { get { return "ACTGS 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 DatOpener ()
{

View File

@ -38,7 +38,7 @@ namespace GameRes.Formats.AdPack
public override string Description { get { return "A98SYS 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 PakOpener ()
{
@ -85,7 +85,7 @@ namespace GameRes.Formats.AdPack
public override string Description { get { return "Active Soft resource archive"; } }
public override uint Signature { get { return 0x41504441; } } // "ADPA"
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public Pak32Opener ()
{

View File

@ -38,7 +38,7 @@ namespace GameRes.Formats.AdvSys
public override string Description { get { return "AdvSys_T engine resource archive"; } }
public override uint Signature { get { return 0x5957464D; } } // 'MFWY'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public FpkOpener ()
{

View File

@ -38,7 +38,7 @@ namespace GameRes.Formats.AliceSoft
public override string Description { get { return "AliceSoft System 4 resource archive"; } }
public override uint Signature { get { return 0x48414641; } } // 'AFAH'
public override bool IsHierarchic { get { return true; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public override ArcFile TryOpen (ArcView file)
{

View File

@ -38,7 +38,7 @@ namespace GameRes.Formats.AliceSoft
public override string Description { get { return "AliceSoft System 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 override ArcFile TryOpen (ArcView file)
{

View File

@ -37,7 +37,7 @@ namespace GameRes.Formats.AliceSoft
public override string Description { get { return "AliceSoft System 4 resource archive"; } }
public override uint Signature { get { return 0x304B4C41; } }
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)
{

View File

@ -89,9 +89,9 @@ namespace GameRes.Formats.Amaterasu
{
public override string Tag { get { return "AMI"; } }
public override string Description { get { return Strings.arcStrings.AMIDescription; } }
public override uint Signature { get { return 0x00494d41; } }
public override uint Signature { get { return 0x00494D41; } } // 'AMI'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return true; } }
public override bool CanWrite { get { return true; } }
public AmiOpener ()
{

View File

@ -37,7 +37,8 @@ namespace GameRes.Formats.Amaterasu
{
public override string Tag { get { return "GRP"; } }
public override string Description { get { return Strings.arcStrings.GRPDescription; } }
public override uint Signature { get { return 0x00505247; } }
public override uint Signature { get { return 0x00505247; } } // 'GRP'
public override bool CanWrite { get { return true; } }
public override ImageMetaData ReadMetaData (Stream stream)
{

View File

@ -40,7 +40,7 @@ namespace GameRes.Formats.Ags
public override string Description { get { return "AnimeGameSystem resource archive"; } }
public override uint Signature { get { return 0x6B636170; } } // 'pack'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public DatOpener ()
{

View File

@ -30,7 +30,7 @@ using System.IO;
namespace GameRes.Formats.Ags
{
[Export(typeof(AudioFormat))]
public class PcmAudio : WaveAudio
public class PcmAudio : AudioFormat
{
public override string Tag { get { return "PCM/AGS"; } }
public override string Description { get { return "AnimeGameSystem PCM audio"; } }

View File

@ -56,7 +56,7 @@ namespace GameRes.Formats.Ags
public override string Description { get { return "Anime Game System animation resource"; } }
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)
{

View File

@ -38,7 +38,7 @@ namespace GameRes.Formats.Ankh
public override string Description { get { return "Ice Soft 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 GrpOpener ()
{

View File

@ -50,7 +50,7 @@ namespace GameRes.Formats.Aoi
public override string Description { get { return "Aoi engine script archive"; } }
public override uint Signature { get { return 0x42494F41; } } // 'AOIB'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
static readonly Dictionary<int, byte> VersionKeyMap = new Dictionary<int, byte> {
{ 5, 0xAD },
@ -148,7 +148,7 @@ namespace GameRes.Formats.Aoi
public override string Description { get { return "Aoi engine script archive"; } }
public override uint Signature { get { return 0x4D494F41; } } // 'AOIM'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public AoiMyOpener ()
{
@ -220,7 +220,7 @@ namespace GameRes.Formats.Aoi
public override string Description { get { return "Aoi engine script archive"; } }
public override uint Signature { get { return 0x004F0041; } } // 'A O '
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)
{

View File

@ -38,7 +38,7 @@ namespace GameRes.Formats.Aoi
public override string Description { get { return "Aoi 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 VfsOpener ()
{

View File

@ -37,7 +37,7 @@ namespace GameRes.Formats.ArcX
public override string Description { get { return "ARCX resource archive"; } }
public override uint Signature { get { return 0x58435241; } } // 'ARCX'
public override bool IsHierarchic { get { return true; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public ArcOpener ()
{

View File

@ -47,7 +47,7 @@ namespace GameRes.Formats.AST
public override string Description { get { return "AST script engine resource archive"; } }
public override uint Signature { get { return 0x32435241; } } // 'ARC2'
public override bool IsHierarchic { get { return true; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public ArcOpener ()
{

View File

@ -65,7 +65,7 @@ namespace GameRes.Formats.AVC
public override string Description { get { return "AVC 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 DatOpener ()
{

View File

@ -39,7 +39,7 @@ namespace GameRes.Formats.Ail
public override string Description { get { return "Ail 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 ()
{

View File

@ -37,7 +37,7 @@ namespace GameRes.Formats.Parsley
public override string Description { get { return "Software House Parsley CG 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 CgOpener ()
{

View File

@ -40,7 +40,7 @@ namespace GameRes.Formats.X
public override string Description { get { return "X[iks] resource archive"; } }
public override uint Signature { get { return 0x5253504E; } } // 'NPSR'
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>() {
{ "Shikkan ~Hazukashimerareta Karada, Oreta Kokoro~", 0x66 },

View File

@ -38,7 +38,7 @@ namespace GameRes.Formats.ISM
public override string Description { get { return "ISM engine resource archive"; } }
public override uint Signature { get { return 0x204d5349; } } // 'ISM '
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)
{

View File

@ -55,7 +55,7 @@ namespace GameRes.Formats.Kogado
public override string Description { get { return arcStrings.KogadoDescription; } }
public override uint Signature { get { return 0x61507948; } } // 'HyPa'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return true; } }
public override bool CanWrite { get { return true; } }
public PakOpener ()
{

View File

@ -43,7 +43,7 @@ namespace GameRes.Formats.Nexton
public override string Description { get { return "Nexton LikeC 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 LstOpener ()
{

View File

@ -40,7 +40,7 @@ namespace GameRes.Formats.Miris
public override string Description { get { return "Studio Miris 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 ()
{
@ -93,7 +93,7 @@ namespace GameRes.Formats.Miris
public override string Description { get { return "Studio Miris resource archive"; } }
public override uint Signature { get { return 0x4B4E4C47; } } // 'GLNK'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public GlnkOpener ()
{

View File

@ -231,7 +231,7 @@ namespace GameRes.Formats.Neko
public override string Description { get { return "NekoPack resource archive"; } }
public override uint Signature { get { return 0x4f4b454e; } } // "NEKO"
public override bool IsHierarchic { get { return true; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public Pak1Opener ()
{
@ -407,7 +407,7 @@ namespace GameRes.Formats.Neko
public override string Description { get { return "NekoPack resource archive"; } }
public override uint Signature { get { return 0x4F4B454E; } } // "NEKO"
public override bool IsHierarchic { get { return true; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public Pak2Opener ()
{

View File

@ -42,7 +42,7 @@ namespace GameRes.Formats.SystemEpsylon
public override string Description { get { return "SYSTEM-ε resource archive"; } }
public override uint Signature { get { return 0x4B434150; } } // "PACK"
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public PakOpener ()
{

View File

@ -38,7 +38,7 @@ namespace GameRes.Formats.Terios
public override string Description { get { return "\"Pandora.box\" resource archive"; } }
public override uint Signature { get { return 0x646E6150; } } // 'Pand'
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)
{

View File

@ -40,7 +40,7 @@ namespace GameRes.Formats.Lune
public override string Description { get { return "Lune 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 override ArcFile TryOpen (ArcView file)
{

View File

@ -45,7 +45,7 @@ namespace GameRes.Formats.SPack
public override string Description { get { return "SPack resource archive"; } }
public override uint Signature { get { return 0x63615053; } } // 'SPac'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public DatOpener ()
{

View File

@ -88,7 +88,7 @@ namespace GameRes.Formats.PkWare
public override string Description { get { return "PKWARE archive format"; } }
public override uint Signature { get { return 0; } }
public override bool IsHierarchic { get { return true; } }
public override bool CanCreate { get { return true; } }
public override bool CanWrite { get { return true; } }
public override ArcFile TryOpen (ArcView file)
{

View File

@ -39,7 +39,7 @@ namespace GameRes.Formats.Astronauts
public override string Description { get { return "Astronauts resource archive"; } }
public override uint Signature { get { return 0x505847; } } // 'GXP'
public override bool IsHierarchic { get { return true; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
static readonly byte[] KnownKey = {
0x40, 0x21, 0x28, 0x38, 0xA6, 0x6E, 0x43, 0xA5, 0x40, 0x21, 0x28, 0x38, 0xA6, 0x43, 0xA5, 0x64,

View File

@ -92,6 +92,7 @@ namespace GameRes.Formats
public override string Tag { get { return "MP3"; } }
public override string Description { get { return "MPEG Layer 3 audio format"; } }
public override uint Signature { get { return 0; } }
public override bool CanWrite { get { return false; } }
public override SoundInput TryOpen (Stream file)
{

View File

@ -129,6 +129,7 @@ namespace GameRes.Formats
public override string Tag { get { return "OGG"; } }
public override string Description { get { return "Ogg/Vorbis audio format"; } }
public override uint Signature { get { return 0x5367674f; } } // 'OggS'
public override bool CanWrite { get { return false; } }
public override SoundInput TryOpen (Stream file)
{

View File

@ -162,6 +162,7 @@ namespace GameRes.Formats.Creative
public override string Tag { get { return "VOC"; } }
public override string Description { get { return "Creative Voice File"; } }
public override uint Signature { get { return 0x61657243; } } // 'Crea'
public override bool CanWrite { get { return false; } }
public override SoundInput TryOpen (Stream file)
{

View File

@ -39,7 +39,7 @@ namespace GameRes.Formats.Banana // namespace is arbitrary, actual format source
public override string Description { get { return "BANANA Shu-Shu 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 PkOpener ()
{

View File

@ -39,7 +39,7 @@ namespace GameRes.Formats.Bishop
public override string Description { get { return "Bishop resource archive"; } }
public override uint Signature { get { return 0x72415342; } } // 'BSAr'
public override bool IsHierarchic { get { return true; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public override ArcFile TryOpen (ArcView file)
{

View File

@ -38,7 +38,7 @@ namespace GameRes.Formats.Bishop
public override string Description { get { return "Bishop composite image archive"; } }
public override uint Signature { get { return 0x2D535342; } } // 'BSS-'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public BscOpener ()
{

View File

@ -90,7 +90,7 @@ namespace GameRes.Formats.Bishop
public override void Write (Stream file, ImageData image)
{
throw new System.NotImplementedException ("xxxFormat.Write not implemented");
throw new System.NotImplementedException ("BsgFormat.Write not implemented");
}
}

View File

@ -38,7 +38,7 @@ namespace GameRes.Formats.BlackCyc
public override string Description { get { return "Black Cyc engine images 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)
{

View File

@ -38,7 +38,7 @@ namespace GameRes.Formats.BlackCyc
public override string Description { get { return "Black Cyc engine audio 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)
{

View File

@ -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[]>();

View File

@ -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 ()
{

View File

@ -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 ()
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -37,7 +37,7 @@ namespace GameRes.Formats.BlueGale
public override string Description { get { return "BlueGale 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)
{

View File

@ -38,7 +38,7 @@ namespace GameRes.Formats.BlueGale
public override string Description { get { return "BlueGale animation format"; } }
public override uint Signature { get { return 0x56706D61; } } // 'ampV'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public AmvOpener ()
{

View File

@ -46,7 +46,7 @@ namespace GameRes.Formats.CaramelBox
public override string Description { get { return "Caramel BOX resource archive"; } }
public override uint Signature { get { return 0x33637261; } } // 'arc3'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public Arc3Opener ()
{

View File

@ -43,7 +43,7 @@ namespace GameRes.Formats.CaramelBox
public override string Description { get { return "Caramel BOX resource archive"; } }
public override uint Signature { get { return 0x34435241; } } // 'ARC4'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public Arc4Opener ()
{

View File

@ -37,7 +37,7 @@ namespace GameRes.Formats.CatSystem
public override string Description { get { return "CatSystem2 engine multi-image"; } }
public override uint Signature { get { return 0x322d4748; } } // 'HG-2'
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)
{

View File

@ -37,7 +37,7 @@ namespace GameRes.Formats.CatSystem
public override string Description { get { return "CatSystem2 engine multi-image"; } }
public override uint Signature { get { return 0x332d4748; } } // 'HG-3'
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)
{

View File

@ -115,9 +115,9 @@ namespace GameRes.Formats.CatSystem
{
public override string Tag { get { return "INT"; } }
public override string Description { get { return arcStrings.INTDescription; } }
public override uint Signature { get { return 0x0046494b; } }
public override uint Signature { get { return 0x0046494b; } } // 'KIF'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return true; } }
public override bool CanWrite { get { return true; } }
static readonly byte[] NameSizes = { 0x20, 0x40 };

View File

@ -40,7 +40,7 @@ namespace GameRes.Formats.Cherry
public override string Description { get { return "Cherry Soft PACK 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 PakOpener ()
{
@ -129,7 +129,7 @@ namespace GameRes.Formats.Cherry
public override string Description { get { return "Cherry Soft PACK resource archive v2"; } }
public override uint Signature { get { return 0x52454843; } } // 'CHER'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public Pak2Opener ()
{

View File

@ -35,7 +35,7 @@ namespace GameRes.Formats.Cherry
public override string Description { get { return "Cherry Soft resource archive"; } }
public override uint Signature { get { return 0x304B594D; } } // 'MYK0'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public DatOpener ()
{

View File

@ -38,7 +38,7 @@ namespace GameRes.Formats.Circus
public override string Description { get { return "Circus 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 DatOpener ()
{

View File

@ -37,7 +37,7 @@ namespace GameRes.Formats.Circus
public override string Description { get { return "Circus 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 PckOpener ()
{

View File

@ -50,7 +50,7 @@ namespace GameRes.Formats.Circus
public override string Description { get { return "Valkyrie Complex resource archive"; } }
public override uint Signature { get { return 0x62827582; } } // ''
public override bool IsHierarchic { get { return true; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
static readonly byte[] TrialSignature = Encodings.cp932.GetBytes ("VC体験版");
static readonly byte[] RetailSignature = Encodings.cp932.GetBytes ("VC製品版");
@ -286,7 +286,7 @@ namespace GameRes.Formats.Circus
public override string Description { get { return "Valkyrie Complex resource archive"; } }
public override uint Signature { get { return 1; } }
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public VcPacOpener ()
{

View File

@ -32,7 +32,7 @@ using GameRes.Utility;
namespace GameRes.Formats.Circus
{
[Export(typeof(AudioFormat))]
public class PcmAudio : WaveAudio
public class PcmAudio : AudioFormat
{
public override string Tag { get { return "PCM"; } }
public override string Description { get { return "Circus PCM audio"; } }

View File

@ -94,7 +94,7 @@ namespace GameRes.Formats.Purple
public override string Description { get { return "Purple Software resource archive"; } }
public override uint Signature { get { return 0x355A5043; } } // 'CPZ5'
public override bool IsHierarchic { get { return true; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public CpzOpener ()
{

View File

@ -65,7 +65,7 @@ namespace GameRes.Formats.Pvns
public override string Description { get { return "PVNS engine resource archive"; } }
public override uint Signature { get { return 0x315A4250; } } // 'PBZ1'
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, PbzKeys> KnownSchemes = new Dictionary<string, PbzKeys>();

View File

@ -35,7 +35,7 @@ namespace GameRes.Formats.Cri
public override string Description { get { return "PS2 resource archive"; } }
public override uint Signature { get { return 0x00534641; } } // "AFS"
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)
{

View File

@ -47,7 +47,7 @@ namespace GameRes.Formats.Cri
public override string Description { get { return "CRI Middleware resource archive"; } }
public override uint Signature { get { return 0x204B5043; } } // 'CPK '
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)
{

View File

@ -38,7 +38,7 @@ namespace GameRes.Formats.Cri
public override string Description { get { return "CRI MiddleWare texture container"; } }
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 SpcOpener ()
{

View File

@ -38,7 +38,7 @@ namespace GameRes.Formats.Crowd
public override string Description { get { return "Crowd 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 override ArcFile TryOpen (ArcView file)
{
@ -95,7 +95,7 @@ namespace GameRes.Formats.Crowd
public override string Description { get { return "Crowd engine audio archive"; } }
public override uint Signature { get { return 0x56574b50; } } // 'PKWV'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public PkwOpener ()
{

View File

@ -38,6 +38,7 @@ namespace GameRes.Formats.Crowd
public override string Tag { get { return "CWP"; } }
public override string Description { get { return "Crowd engine image format"; } }
public override uint Signature { get { return 0x50445743; } } // 'CWDP'
public override bool CanWrite { get { return true; } }
public override ImageMetaData ReadMetaData (Stream stream)
{

View File

@ -37,6 +37,7 @@ namespace GameRes.Formats.Crowd
public override string Tag { get { return "ZBM"; } }
public override string Description { get { return "Crowd LZ-compressed bitmap"; } }
public override uint Signature { get { return 0x44445A53u; } } // 'SZDD'
public override bool CanWrite { get { return false; } }
public override ImageMetaData ReadMetaData (Stream stream)
{

View File

@ -57,7 +57,7 @@ namespace GameRes.Formats.CsWare
public override string Description { get { return "C's ware resource archive"; } }
public override uint Signature { get { return 0x53434350; } } // 'PCCS'
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)
{

View File

@ -54,7 +54,7 @@ namespace GameRes.Formats.Cyberworks
public override string Description { get { return "Cyberworks/TinkerBell 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 ()
{

View File

@ -40,7 +40,7 @@ namespace GameRes.Formats.DDSystem
public override string Description { get { return "DDSystem engine resource archive"; } }
public override uint Signature { get { return 0x32504444; } } // 'DDP2'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public Ddp2Opener ()
{
@ -156,7 +156,7 @@ namespace GameRes.Formats.DDSystem
public override string Description { get { return "DDSystem engine resource archive"; } }
public override uint Signature { get { return 0x33504444; } } // 'DDP3'
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)
{

View File

@ -80,7 +80,7 @@ namespace GameRes.Formats.Dac
public override string Description { get { return "DAC engine resource archive"; } }
public override uint Signature { get { return 0x004b5044; } } // 'DPK'
public override bool IsHierarchic { get { return true; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public static DpkScheme[] KnownSchemes = new DpkScheme[0];

View File

@ -39,7 +39,7 @@ namespace GameRes.Formats.Debonosu
public override string Description { get { return "Debonosu Works resource archive"; } }
public override uint Signature { get { return 0x004B4150; } } // 'PAK'
public override bool IsHierarchic { get { return true; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public PakOpener ()
{

View File

@ -39,7 +39,7 @@ namespace GameRes.Formats.DenSdk
public override string Description { get { return "DenSDK resource archive"; } }
public override uint Signature { get { return 0x31464144; } } // 'DAF1'
public override bool IsHierarchic { get { return true; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public Daf1Opener ()
{
@ -93,7 +93,7 @@ namespace GameRes.Formats.DenSdk
public override string Description { get { return "DenSDK resource archive"; } }
public override uint Signature { get { return 0x32464144; } } // 'DAF2'
public override bool IsHierarchic { get { return true; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public override ArcFile TryOpen (ArcView file)
{

View File

@ -38,7 +38,7 @@ namespace GameRes.Formats.Dogenzaka
public override string Description { get { return "Dogenzaka Lab audio 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 BinOpener ()
{
@ -109,7 +109,7 @@ namespace GameRes.Formats.Dogenzaka
public override string Description { get { return "Dogenzaka Lab 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 GamedatOpener ()
{

View File

@ -44,6 +44,7 @@ namespace GameRes.Formats.Dogenzaka
public override string Tag { get { return "PNG/RC4"; } }
public override string Description { get { return "RC4 encrypted PNG image"; } }
public override uint Signature { get { return 0xC4F7F61A; } }
public override bool CanWrite { get { return false; } }
public Rc4PngFormat ()
{

View File

@ -56,7 +56,7 @@ namespace GameRes.Formats.DxLib
public override string Description { get { return "DxLib engine 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 DxOpener ()
{

View File

@ -97,7 +97,7 @@ namespace GameRes.Formats.DxLib
public override string Description { get { return "DxLib 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; } }
static readonly Lazy<ImageFormat> PrsFormat = new Lazy<ImageFormat> (() => ImageFormat.FindByTag ("PRS"));

View File

@ -39,7 +39,7 @@ namespace GameRes.Formats.Eagls
public override string Description { get { return "EAGLS 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 PakOpener ()
{

View File

@ -43,6 +43,7 @@ namespace GameRes.Formats.Eagls
public override string Tag { get { return "GR"; } }
public override string Description { get { return "EAGLS engine compressed bitmap"; } }
public override uint Signature { get { return 0; } }
public override bool CanWrite { get { return false; } }
public override ImageMetaData ReadMetaData (Stream stream)
{

View File

@ -48,7 +48,7 @@ namespace GameRes.Formats.Emic
public override string Description { get { return "Emic engine resource archive"; } }
public override uint Signature { get { return 0x4B434150; } } // 'PACK'
public override bool IsHierarchic { get { return true; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public PacOpener ()
{

View File

@ -40,7 +40,7 @@ namespace GameRes.Formats.EmonEngine
public override string Description { get { return "Emon Engine resource archive"; } } // 'えもんエンジン'
public override uint Signature { get { return 0x44455252; } } // 'RREDATA'
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)
{

View File

@ -56,7 +56,7 @@ namespace GameRes.Formats.Emote
public override string Description { get { return "E-mote engine texture container"; } }
public override uint Signature { get { return 0x425350; } } // 'PSB'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
static uint[] KnownKeys = new uint[] { 970396437u };

View File

@ -40,7 +40,7 @@ namespace GameRes.Formats.Entis
public override string Description { get { return "Entis multi-frame image format"; } }
public override uint Signature { get { return 0x69746e45u; } } // 'Enti'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public EriOpener ()
{

View File

@ -72,7 +72,7 @@ namespace GameRes.Formats.Entis
public override string Description { get { return "Entis GLS engine resource archive"; } }
public override uint Signature { get { return 0x69746e45; } } // 'Enti'
public override bool IsHierarchic { get { return true; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public NoaOpener ()
{

View File

@ -36,7 +36,7 @@ namespace GameRes.Formats.Escude
public override string Description { get { return "Escu:de resource archive"; } }
public override uint Signature { get { return 0x2D435345; } } // 'ESC-'
public override bool IsHierarchic { get { return true; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public override ArcFile TryOpen (ArcView file)
{

View File

@ -38,7 +38,7 @@ namespace GameRes.Formats.BGI
public override string Description { get { return "BGI/Ethornell engine resource archive"; } }
public override uint Signature { get { return 0x6b636150; } } // "Pack"
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public ArcOpener ()
{
@ -103,7 +103,7 @@ namespace GameRes.Formats.BGI
public override string Description { get { return "BGI/Ethornell engine resource archive v2"; } }
public override uint Signature { get { return 0x49525542; } } // "BURI"
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)
{

View File

@ -39,7 +39,7 @@ namespace GameRes.Formats.Eushully
public override string Description { get { return "Eushully 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; } }
static string[] IndexNames = new string[] { "sys4ini.bin", "sys3ini.bin" };

View File

@ -34,7 +34,7 @@ namespace GameRes.Formats.Eushully
{
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; } }
protected ArcFile TryOpenWithIndex (ArcView file, string entry_type, string entry_ext = "")
{

View File

@ -50,7 +50,7 @@ namespace GameRes.Formats.FC01
public override string Description { get { return "F&C Co. multi-frame image format"; } }
public override uint Signature { get { return 0x2041434D; } } // 'MCA'
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)
{

View File

@ -44,7 +44,7 @@ namespace GameRes.Formats.FC01
public override string Description { get { return "F&C Co. engine resource archive"; } }
public override uint Signature { get { return 0x0047524D; } } // 'MRG'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public static readonly Tuple<byte[], byte[]> KnownKey = Tuple.Create (
// Konata yori Kanata made
@ -180,7 +180,7 @@ namespace GameRes.Formats.FC01
public override string Description { get { return "Overture engine resource archive"; } }
public override uint Signature { get { return 0x0047524D; } } // 'MRG'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public Mrg2Opener ()
{

View File

@ -37,7 +37,7 @@ namespace GameRes.Formats.FVP
public override string Description { get { return "Favorite View Point 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 Bin2Opener ()
{

View File

@ -38,7 +38,7 @@ namespace GameRes.Formats.FVP
public override string Description { get { return "Favorite View Point resource archive"; } }
public override uint Signature { get { return 0x58504341; } } // "ACPX"
public override bool IsHierarchic { get { return true; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public BinOpener ()
{

View File

@ -50,7 +50,7 @@ namespace GameRes.Formats.FVP
public override string Description { get { return "Favorite View Point multi-frame image"; } }
public override uint Signature { get { return 0x31637A68; } } // 'HZC1'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public HzcOpener ()
{

View File

@ -39,7 +39,7 @@ namespace GameRes.Formats.Ffa
public override string Description { get { return "FFA System 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 ()
{
@ -105,7 +105,7 @@ namespace GameRes.Formats.Ffa
public override string Description { get { return "FFA System resource archive v2"; } }
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 JDatOpener ()
{

View File

@ -38,7 +38,7 @@ namespace GameRes.Formats.Ffa
public override string Description { get { return "FFA System resource archive"; } }
public override uint Signature { get { return 0x5954324d; } }
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public ArcOpener ()
{

View File

@ -55,7 +55,7 @@ namespace GameRes.Formats.Fs
public override string Description { get { return arcStrings.PDDescription; } }
public override uint Signature { get { return 0x6b636150; } } // Pack
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return true; } }
public override bool CanWrite { get { return true; } }
public override ArcFile TryOpen (ArcView file)
{
@ -227,7 +227,7 @@ namespace GameRes.Formats.Fs
public override string Description { get { return "Flying Shine resource archive version 2"; } }
public override uint Signature { get { return 0x69796c46; } } // 'Flyi'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public FlyingShinePdOpener ()
{

View File

@ -39,7 +39,7 @@ namespace GameRes.Formats.G2
public override string Description { get { return "G2 engine resource archive"; } }
public override uint Signature { get { return 0x58454347; } } // 'GCEX'
public override bool IsHierarchic { get { return true; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public PakOpener ()
{

Some files were not shown because too many files have changed in this diff Show More