implemented Nitro+ archives creation.

encryption not implemented yet.
This commit is contained in:
morkt
2014-08-18 09:07:35 +04:00
parent 881a95c165
commit 8697257e79
12 changed files with 451 additions and 46 deletions

View File

@@ -25,10 +25,10 @@ namespace GameRes.Formats.Properties {
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("NotEncrypted")]
public global::GameRes.Formats.NpaTitleId NPAScheme {
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string NPAScheme {
get {
return ((global::GameRes.Formats.NpaTitleId)(this["NPAScheme"]));
return ((string)(this["NPAScheme"]));
}
set {
this["NPAScheme"] = value;
@@ -201,5 +201,41 @@ namespace GameRes.Formats.Properties {
this["RPAKey"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool NPACompressContents {
get {
return ((bool)(this["NPACompressContents"]));
}
set {
this["NPACompressContents"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("1095188814")]
public uint NPAKey1 {
get {
return ((uint)(this["NPAKey1"]));
}
set {
this["NPAKey1"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("555831124")]
public uint NPAKey2 {
get {
return ((uint)(this["NPAKey2"]));
}
set {
this["NPAKey2"] = value;
}
}
}
}