implemented XP3 archive creation.

This commit is contained in:
morkt
2014-07-26 23:13:17 +04:00
parent bedba61ff5
commit b72d9194e8
10 changed files with 495 additions and 21 deletions

View File

@@ -69,5 +69,53 @@ namespace GameRes.Formats.Properties {
this["INTEncryption"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool XP3CompressHeader {
get {
return ((bool)(this["XP3CompressHeader"]));
}
set {
this["XP3CompressHeader"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool XP3CompressContents {
get {
return ((bool)(this["XP3CompressContents"]));
}
set {
this["XP3CompressContents"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("2")]
public int XP3Version {
get {
return ((int)(this["XP3Version"]));
}
set {
this["XP3Version"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool XP3RetainStructure {
get {
return ((bool)(this["XP3RetainStructure"]));
}
set {
this["XP3RetainStructure"] = value;
}
}
}
}

View File

@@ -14,5 +14,17 @@
<Setting Name="INTEncryption" Type="GameRes.Formats.IntEncryptionInfo" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="XP3CompressHeader" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="XP3CompressContents" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="XP3Version" Type="System.Int32" Scope="User">
<Value Profile="(Default)">2</Value>
</Setting>
<Setting Name="XP3RetainStructure" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
</Settings>
</SettingsFile>