added InstallShield CAB Extractor

This commit is contained in:
James
2015-07-21 21:11:38 +01:00
parent 0ba54b425e
commit 8468ce5fe6
3 changed files with 531 additions and 0 deletions

View File

@@ -74,6 +74,8 @@ namespace OpenRA.FileSystem
throw new NotImplementedException("The creation of .PAK archives is unimplemented");
if (filename.EndsWith(".big", StringComparison.InvariantCultureIgnoreCase))
throw new NotImplementedException("The creation of .big archives is unimplemented");
if (filename.EndsWith(".cab", StringComparison.InvariantCultureIgnoreCase))
throw new NotImplementedException("The creation of .cab archives is unimplemented");
return new Folder(filename, order, content);
}
@@ -103,6 +105,8 @@ namespace OpenRA.FileSystem
return new BigFile(filename, order);
if (filename.EndsWith(".bag", StringComparison.InvariantCultureIgnoreCase))
return new BagFile(filename, order);
if (filename.EndsWith(".hdr", StringComparison.InvariantCultureIgnoreCase))
return new InstallShieldCABExtractor(filename, order);
return new Folder(filename, order);
}