diff --git a/AM2RLauncher/AM2RLauncherLib/AM2RLauncherLib.csproj b/AM2RLauncher/AM2RLauncherLib/AM2RLauncherLib.csproj index 8471a6a..8827b0a 100644 --- a/AM2RLauncher/AM2RLauncherLib/AM2RLauncherLib.csproj +++ b/AM2RLauncher/AM2RLauncherLib/AM2RLauncherLib.csproj @@ -13,4 +13,25 @@ + + + ResXFileCodeGenerator + Text.Designer.cs + + + + + + True + True + Text.resx + + + + + + ..\..\..\..\..\.cache\NuGet\system.componentmodel.annotations\5.0.0\ref\netstandard2.0\System.ComponentModel.Annotations.dll + + + \ No newline at end of file diff --git a/AM2RLauncher/AM2RLauncherLib/Language/Text.Designer.cs b/AM2RLauncher/AM2RLauncherLib/Language/Text.Designer.cs new file mode 100644 index 0000000..4379d5a --- /dev/null +++ b/AM2RLauncher/AM2RLauncherLib/Language/Text.Designer.cs @@ -0,0 +1,78 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace AM2RLauncherLib.Language { + using System; + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class Text { + + private static System.Resources.ResourceManager resourceMan; + + private static System.Globalization.CultureInfo resourceCulture; + + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Text() { + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public static System.Resources.ResourceManager ResourceManager { + get { + if (object.Equals(null, resourceMan)) { + System.Resources.ResourceManager temp = new System.Resources.ResourceManager("AM2RLauncherLib.Language.Text", typeof(Text).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public static System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + public static string AM2R11SuccessfulDescription { + get { + return ResourceManager.GetString("AM2R11SuccessfulDescription", resourceCulture); + } + } + + public static string AM2R11MissingExeDescription { + get { + return ResourceManager.GetString("AM2R11MissingExeDescription", resourceCulture); + } + } + + public static string AM2R11MissingD3DDescription { + get { + return ResourceManager.GetString("AM2R11MissingD3DDescription", resourceCulture); + } + } + + public static string AM2R11MissingDataDescription { + get { + return ResourceManager.GetString("AM2R11MissingDataDescription", resourceCulture); + } + } + + public static string AM2R11SubfolderDescription { + get { + return ResourceManager.GetString("AM2R11SubfolderDescription", resourceCulture); + } + } + } +} \ No newline at end of file diff --git a/AM2RLauncher/AM2RLauncherLib/Language/Text.de.resx b/AM2RLauncher/AM2RLauncherLib/Language/Text.de.resx new file mode 100644 index 0000000..0db1973 --- /dev/null +++ b/AM2RLauncher/AM2RLauncherLib/Language/Text.de.resx @@ -0,0 +1,14 @@ + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/AM2RLauncher/AM2RLauncherLib/Language/Text.es.resx b/AM2RLauncher/AM2RLauncherLib/Language/Text.es.resx new file mode 100644 index 0000000..56d5ba6 --- /dev/null +++ b/AM2RLauncher/AM2RLauncherLib/Language/Text.es.resx @@ -0,0 +1,30 @@ + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + El zip es una copia válida de AM2R_11. + + + No hay archivo "AM2R.exe" en el zip, o no es válido. Por favor, comprueba que se trata de una copia de AM2R_11 válida. + + + No hay archivo "D3DX9_43.dll" en el zip, o no es válido. Por favor, comprueba que se trata de una copia de AM2R_11 válida. + + + + No hay archivo "data.win" en el zip, o no es válido. Por favor, comprueba que se trata de una copia de AM2R_11 válida. + + + El juego se encuentra ubicado en una subcarpeta, lo cual no es compatible. Esto puede solucionarse extrayendo el zip en una carpeta, abriendo esta carpeta, seleccionando todos los archivos y creando un nuevo zip con ellos. + + \ No newline at end of file diff --git a/AM2RLauncher/AM2RLauncherLib/Language/Text.fr.resx b/AM2RLauncher/AM2RLauncherLib/Language/Text.fr.resx new file mode 100644 index 0000000..9aed4f9 --- /dev/null +++ b/AM2RLauncher/AM2RLauncherLib/Language/Text.fr.resx @@ -0,0 +1,29 @@ + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + L'archive est une copie valide de AM2R_11 + + + Le fichier "AM2R.exe" est manquant dans l'archive, ou invalide. Vérifiez que le ficher est une copie correcte de AM2R_11. + + + Le fichier "D3DX9_43.dll" est manquant dans l'archive, ou invalide. Vérifiez que le ficher est une copie correcte de AM2R_11. + + + Le fichier "data.win" est manquant dans l'archive, ou invalide. Vérifiez que le ficher est une copie correcte de AM2R_11. + + + Mettre le jeu dans un sous-dossier n'est pas supporté. Pour le corriger, extraire l'archive, puis sélectionnez les fichiers pour recréer une nouvelle archive. + + \ No newline at end of file diff --git a/AM2RLauncher/AM2RLauncherLib/Language/Text.it.resx b/AM2RLauncher/AM2RLauncherLib/Language/Text.it.resx new file mode 100644 index 0000000..c9479a8 --- /dev/null +++ b/AM2RLauncher/AM2RLauncherLib/Language/Text.it.resx @@ -0,0 +1,29 @@ + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Il file zip è una copia valida di AM2R_11. + + + Il file "AM2R.exe" è mancante dal file zip o non è valido. Perfavore assicurati che hai la copia corretta di AM2R_11. + + + Il file "D3DX9_43.dll" è mancante dal file zip o non è valido. Perfavore assicurati che hai la copia corretta di AM2R_11. + + + Il file "data.win" è mancante dal file zip o non è valido. Perfavore assicurati che hai la copia corretta di AM2R_11. + + + Il gioco si trova su una sottocartella, che non è supportata. Per sistemare il problema estrai il file zip in una cartella, entraci, seleziona tutti i file e poi crea un nuovo zip da essi. + + \ No newline at end of file diff --git a/AM2RLauncher/AM2RLauncherLib/Language/Text.ja.resx b/AM2RLauncher/AM2RLauncherLib/Language/Text.ja.resx new file mode 100644 index 0000000..2be54cd --- /dev/null +++ b/AM2RLauncher/AM2RLauncherLib/Language/Text.ja.resx @@ -0,0 +1,29 @@ + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + これは正常なAM2R_11のZIPアーカイブです。 + + + AM2R.exeが存在しないか、あるいは破損しています。正常なAM2R_11アーカイブであるか確認してください。 + + + D3DX9_43.dllファイルが存在しないか、あるいは破損しています。正常なAM2R_11アーカイブであるか確認してください。 + + + data.winファイルが存在しないか、あるいは破損しています。正常なAM2R_11アーカイブであるか確認してください。 + + + ゲームがサポート外のサブフォルダ内にあります。ZIPアーカイブをフォルダに解凍し、その中身のすべてのファイルを選択し、そこから新たにZIPに圧縮することで修正可能です。 + + \ No newline at end of file diff --git a/AM2RLauncher/AM2RLauncherLib/Language/Text.pt.resx b/AM2RLauncher/AM2RLauncherLib/Language/Text.pt.resx new file mode 100644 index 0000000..0db1973 --- /dev/null +++ b/AM2RLauncher/AM2RLauncherLib/Language/Text.pt.resx @@ -0,0 +1,14 @@ + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/AM2RLauncher/AM2RLauncherLib/Language/Text.resx b/AM2RLauncher/AM2RLauncherLib/Language/Text.resx new file mode 100644 index 0000000..bdc9a37 --- /dev/null +++ b/AM2RLauncher/AM2RLauncherLib/Language/Text.resx @@ -0,0 +1,37 @@ + + + + + + + + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + The zip is a valid copy of AM2R_11. + + + The "AM2R.exe" file is missing from the zip, or it is invalid. Please ensure you have a correct AM2R_11 copy. + + + The "D3DX9_43.dll" file is missing from the zip, or it is invalid. Please ensure you have a correct AM2R_11 copy. + + + The "data.win" file is missing from the zip, or it is invalid. Please ensure you have a correct AM2R_11 copy. + + + + The game is located in a subfolder, which is unsupported. This can be fixed by extracting the zip into a folder, navigating into there, selecting all files and then creating a new zip from it. + + \ No newline at end of file diff --git a/AM2RLauncher/AM2RLauncherLib/Language/Text.ru.resx b/AM2RLauncher/AM2RLauncherLib/Language/Text.ru.resx new file mode 100644 index 0000000..1ad5a94 --- /dev/null +++ b/AM2RLauncher/AM2RLauncherLib/Language/Text.ru.resx @@ -0,0 +1,29 @@ + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + В архиве отсутствует файл библиотеки "D3DX9_43.dll", либо он непригоден. Пожалуйста, убедитесь, что вы обладаете валидной копией AM2R_11. + + + В архиве отсутствует исполняемый файл "AM2R.exe", либо он непригоден. Пожалуйста, убедитесь, что вы обладаете валидной копией AM2R_11. + + + Архив AM2R_11 валиден. + + + В архиве отсутствует файл библиотеки "D3DX9_43.dll", либо он непригоден. Пожалуйста, убедитесь, что вы обладаете валидной копией AM2R_11. + + + Игра расположена в дочерней папке, что приведёт к ошибкам выполнения. Это можно исправить: распаковав архив в папку, войдите в неё, выберите все файлы и создайте новый архив с ними. + + \ No newline at end of file diff --git a/AM2RLauncher/AM2RLauncherLib/Language/Text.zh-hans.resx b/AM2RLauncher/AM2RLauncherLib/Language/Text.zh-hans.resx new file mode 100644 index 0000000..853474c --- /dev/null +++ b/AM2RLauncher/AM2RLauncherLib/Language/Text.zh-hans.resx @@ -0,0 +1,29 @@ + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 该 Zip 压缩文件是有效的 AM2R_11 副本 + + + 该 Zip 压缩文件缺少“AM2R.exe”,或者所包含的“AM2R.exe”不是有效的文件。请确保使用的 Zip 压缩文件为正确的 AM2R_11 副本。 + + + 该 Zip 压缩文件缺少“D3DX9_43.dll”,或者所包含的“D3DX9_43.dll”不是有效的文件。请确保使用的 Zip 压缩文件为正确的 AM2R_11 副本。 + + + 该 Zip 压缩文件缺少“data.win”,或者所包含的“data.win”不是有效的文件。请确保使用的 Zip 压缩文件为正确的 AM2R_11 副本。 + + + 游戏文件位于子文件夹中,因此不支持该 Zip 压缩文件。可以将该 Zip 压缩文件解压到单独的文件夹中,解压之后打开并进入文件夹,全选文件夹中的所有文件再创建新的 Zip 压缩文件即可解决该问题。 + + \ No newline at end of file diff --git a/AM2RLauncher/AM2RLauncherLib/Profile.cs b/AM2RLauncher/AM2RLauncherLib/Profile.cs index 6b9f0d2..db814b7 100644 --- a/AM2RLauncher/AM2RLauncherLib/Profile.cs +++ b/AM2RLauncher/AM2RLauncherLib/Profile.cs @@ -17,6 +17,7 @@ namespace AM2RLauncherLib; /// public enum IsZipAM2R11ReturnCodes { + //TODO: add meaningful descriptions to here so one can reference these later. Or implement them another way. Successful, MissingOrInvalidAM2RExe, MissingOrInvalidD3DX943Dll,