implemented key extraction from executable resources for encrypted INT archives.

This commit is contained in:
morkt
2015-11-20 01:01:25 +04:00
parent 5a5c10d91a
commit 33e83b196d
7 changed files with 276 additions and 24 deletions

View File

@@ -178,6 +178,15 @@ namespace GameRes.Formats.Strings {
}
}
/// <summary>
/// Looks up a localized string similar to Choose game executable file.
/// </summary>
public static string INTChooseExe {
get {
return ResourceManager.GetString("INTChooseExe", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Encrypted archives creation is not implemented..
/// </summary>
@@ -196,6 +205,33 @@ namespace GameRes.Formats.Strings {
}
}
/// <summary>
/// Looks up a localized string similar to Check EXE.
/// </summary>
public static string INTExeButton {
get {
return ResourceManager.GetString("INTExeButton", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Executable Files.
/// </summary>
public static string INTExeFiles {
get {
return ResourceManager.GetString("INTExeFiles", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Key not found within {0}..
/// </summary>
public static string INTKeyNotFound {
get {
return ResourceManager.GetString("INTKeyNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Numeric key should be a 32-bit hexadecimal integer.
/// </summary>
@@ -215,9 +251,25 @@ namespace GameRes.Formats.Strings {
}
/// <summary>
/// Looks up a localized string similar to Archive directory is encrypted.
///Enter archive encryption key or choose
///predefined encryption scheme..
/// Looks up a localized string similar to Press &quot;Check EXE&quot; button to look for key within game executable file..
/// </summary>
public static string INTMessage1 {
get {
return ResourceManager.GetString("INTMessage1", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Alternatively, enter archive encryption key or choose one of the predefined encryption schemes..
/// </summary>
public static string INTMessage2 {
get {
return ResourceManager.GetString("INTMessage2", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Archive directory is encrypted..
/// </summary>
public static string INTNotice {
get {

View File

@@ -161,9 +161,7 @@
<value>숫자 값</value>
</data>
<data name="INTNotice" xml:space="preserve">
<value>아카이브 폴더가 암호화됨.
아카이브 암호값을 입력하거나
미리정의된 암호체계를 고르세요.</value>
<value>아카이브 폴더가 암호화됨.</value>
</data>
<data name="KogadoDescription" xml:space="preserve">
<value>Kogado 게임 엔진 리소스 아카이브</value>
@@ -339,4 +337,28 @@
암호값 추측이 실패하였습니다.
적절한 암호체계를 선택하세요.</value>
</data>
<data name="INTChooseExe" xml:space="preserve">
<value>Choose game executable file</value>
<comment>translation pending</comment>
</data>
<data name="INTExeButton" xml:space="preserve">
<value>Check EXE</value>
<comment>translation pending</comment>
</data>
<data name="INTExeFiles" xml:space="preserve">
<value>Executable Files</value>
<comment>translation pending</comment>
</data>
<data name="INTKeyNotFound" xml:space="preserve">
<value>Key not found within {0}.</value>
<comment>translation pending</comment>
</data>
<data name="INTMessage1" xml:space="preserve">
<value>Press "Check EXE" button to look for key within game executable file.</value>
<comment>translation pending</comment>
</data>
<data name="INTMessage2" xml:space="preserve">
<value>Alternatively, enter archive encryption key or choose one of the predefined encryption schemes.</value>
<comment>translation pending</comment>
</data>
</root>

View File

@@ -161,9 +161,7 @@ Choose appropriate encryption scheme.</value>
<value>Numeric key</value>
</data>
<data name="INTNotice" xml:space="preserve">
<value>Archive directory is encrypted.
Enter archive encryption key or choose
predefined encryption scheme.</value>
<value>Archive directory is encrypted.</value>
</data>
<data name="KogadoDescription" xml:space="preserve">
<value>Kogado game engine resource archive</value>
@@ -342,4 +340,22 @@ Choose appropriate encryption scheme.</value>
<data name="QLIEDefaultScheme" xml:space="preserve">
<value>Use default encryption scheme</value>
</data>
<data name="INTChooseExe" xml:space="preserve">
<value>Choose game executable file</value>
</data>
<data name="INTExeButton" xml:space="preserve">
<value>Check EXE</value>
</data>
<data name="INTExeFiles" xml:space="preserve">
<value>Executable Files</value>
</data>
<data name="INTMessage1" xml:space="preserve">
<value>Press "Check EXE" button to look for key within game executable file.</value>
</data>
<data name="INTMessage2" xml:space="preserve">
<value>Alternatively, enter archive encryption key or choose one of the predefined encryption schemes.</value>
</data>
<data name="INTKeyNotFound" xml:space="preserve">
<value>Key not found within {0}.</value>
</data>
</root>

View File

@@ -148,19 +148,35 @@
<data name="DPKKeys" xml:space="preserve">
<value>Ключи шифрования</value>
</data>
<data name="INTChooseExe" xml:space="preserve">
<value>Выберите исполняемый файл</value>
</data>
<data name="INTCreationNotice" xml:space="preserve">
<value>Создание зашифрованных архивов не реализовано.</value>
</data>
<data name="INTExeButton" xml:space="preserve">
<value>Искать EXE</value>
</data>
<data name="INTExeFiles" xml:space="preserve">
<value>Исполняемые файлы</value>
</data>
<data name="INTKeyNotFound" xml:space="preserve">
<value>В файле {0} ключа не обнаружено.</value>
</data>
<data name="INTKeyRequirement" xml:space="preserve">
<value>Цифровой ключ должен быть 32-битным шестнадцатиричным числом</value>
</data>
<data name="INTLabelNumericKey" xml:space="preserve">
<value>Цифровой ключ</value>
</data>
<data name="INTMessage1" xml:space="preserve">
<value>Нажмите кнопку "Искать EXE", чтобы попытаться найти ключ в исполняемом файле игры.</value>
</data>
<data name="INTMessage2" xml:space="preserve">
<value>Или же выберите один из известных методов шифрования, либо введите ключ вручную.</value>
</data>
<data name="INTNotice" xml:space="preserve">
<value>Заголовок архива зашифрован.
Введите ключ шифрования или выберите
один из предопределённых вариантов.</value>
<value>Оглавление архива зашифровано.</value>
</data>
<data name="ISFIgnoreEncryption" xml:space="preserve">
<value>Игнорировать шифрование</value>