diff --git a/Atomic/Atomic.csproj b/Atomic/Atomic.csproj
index 5d22965..be4c29f 100644
--- a/Atomic/Atomic.csproj
+++ b/Atomic/Atomic.csproj
@@ -6,45 +6,38 @@
-
- ResXFileCodeGenerator
- Resources.Designer.cs
-
-
- ResXFileCodeGenerator
- Text.Designer.cs
-
- ResXFileCodeGenerator
- Text.Designer.cs
+ Never
+
- ResXFileCodeGenerator
- Text.Designer.cs
+
+ Never
- ResXFileCodeGenerator
- Text.Designer.cs
+ Never
+
- ResXFileCodeGenerator
- Text.Designer.cs
+ Never
+
- ResXFileCodeGenerator
- Text.Designer.cs
+
+ Never
-
- ResXFileCodeGenerator
+
+ PublicResXFileCodeGenerator
+ Never
Text.Designer.cs
- ResXFileCodeGenerator
- Text.Designer.cs
+ Never
+
-
+
ResXFileCodeGenerator
- Text.Designer.cs
+ Resources.Designer.cs
diff --git a/Atomic/Language/Text.Designer.cs b/Atomic/Language/Text.Designer.cs
index 99f12be..2c054b0 100644
--- a/Atomic/Language/Text.Designer.cs
+++ b/Atomic/Language/Text.Designer.cs
@@ -14,7 +14,7 @@ namespace Atomic.Language {
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Text {
+ public class Text {
private static System.Resources.ResourceManager resourceMan;
@@ -25,10 +25,10 @@ namespace Atomic.Language {
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static System.Resources.ResourceManager ResourceManager {
+ public static System.Resources.ResourceManager ResourceManager {
get {
if (object.Equals(null, resourceMan)) {
- System.Resources.ResourceManager temp = new System.Resources.ResourceManager("Atomic.Language.Text_fr", typeof(Text).Assembly);
+ System.Resources.ResourceManager temp = new System.Resources.ResourceManager("Atomic.Language.Text", typeof(Text).Assembly);
resourceMan = temp;
}
return resourceMan;
@@ -36,7 +36,7 @@ namespace Atomic.Language {
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static System.Globalization.CultureInfo Culture {
+ public static System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
@@ -45,280 +45,244 @@ namespace Atomic.Language {
}
}
- internal static string ModName {
+ public static string ModName {
get {
return ResourceManager.GetString("ModName", resourceCulture);
}
}
- internal static string Author {
+ public static string Author {
get {
return ResourceManager.GetString("Author", resourceCulture);
}
}
- internal static string Version {
+ public static string Version {
get {
return ResourceManager.GetString("Version", resourceCulture);
}
}
- internal static string ModNotes {
+ public static string ModNotes {
get {
return ResourceManager.GetString("ModNotes", resourceCulture);
}
}
- internal static string UsesCustomSaves {
+ public static string UsesCustomSaves {
get {
return ResourceManager.GetString("UsesCustomSaves", resourceCulture);
}
}
- internal static string SelectFolder {
+ public static string SelectFolder {
get {
return ResourceManager.GetString("SelectFolder", resourceCulture);
}
}
- internal static string UsesCustomMusic {
+ public static string UsesCustomMusic {
get {
return ResourceManager.GetString("UsesCustomMusic", resourceCulture);
}
}
- internal static string UsesYYC {
+ public static string UsesYYC {
get {
return ResourceManager.GetString("UsesYYC", resourceCulture);
}
}
- internal static string SupportsWindows {
- get {
- return ResourceManager.GetString("SupportsWindows", resourceCulture);
- }
- }
-
- internal static string LoadWindowsZip {
- get {
- return ResourceManager.GetString("LoadWindowsZip", resourceCulture);
- }
- }
-
- internal static string WindowsLoaded {
- get {
- return ResourceManager.GetString("WindowsLoaded", resourceCulture);
- }
- }
-
- internal static string BundleAndroid {
+ public static string BundleAndroid {
get {
return ResourceManager.GetString("BundleAndroid", resourceCulture);
}
}
- internal static string LoadAndroidAPK {
+ public static string LoadAndroidAPK {
get {
return ResourceManager.GetString("LoadAndroidAPK", resourceCulture);
}
}
- internal static string AndroidLoaded {
+ public static string AndroidLoaded {
get {
return ResourceManager.GetString("AndroidLoaded", resourceCulture);
}
}
- internal static string SupportsLinux {
- get {
- return ResourceManager.GetString("SupportsLinux", resourceCulture);
- }
- }
-
- internal static string LinuxLoaded {
- get {
- return ResourceManager.GetString("LinuxLoaded", resourceCulture);
- }
- }
-
- internal static string SupportsMac {
- get {
- return ResourceManager.GetString("SupportsMac", resourceCulture);
- }
- }
-
- internal static string LoadMacZip {
- get {
- return ResourceManager.GetString("LoadMacZip", resourceCulture);
- }
- }
-
- internal static string MacLoaded {
- get {
- return ResourceManager.GetString("MacLoaded", resourceCulture);
- }
- }
-
- internal static string LoadAM2R11 {
+ public static string LoadAM2R11 {
get {
return ResourceManager.GetString("LoadAM2R11", resourceCulture);
}
}
- internal static string AM2R11Loaded {
+ public static string AM2R11Loaded {
get {
return ResourceManager.GetString("AM2R11Loaded", resourceCulture);
}
}
- internal static string CreateModPackage {
+ public static string CreateModPackage {
get {
return ResourceManager.GetString("CreateModPackage", resourceCulture);
}
}
- internal static string ModPackageCreated {
+ public static string ModPackageCreated {
get {
return ResourceManager.GetString("ModPackageCreated", resourceCulture);
}
}
- internal static string LoadLinuxZip {
- get {
- return ResourceManager.GetString("LoadLinuxZip", resourceCulture);
- }
- }
-
- internal static string ZipArchivesFileFilter {
+ public static string ZipArchivesFileFilter {
get {
return ResourceManager.GetString("ZipArchivesFileFilter", resourceCulture);
}
}
- internal static string APKFileFilter {
+ public static string APKFileFilter {
get {
return ResourceManager.GetString("APKFileFilter", resourceCulture);
}
}
- internal static string InvalidSaveDirectory {
+ public static string InvalidSaveDirectory {
get {
return ResourceManager.GetString("InvalidSaveDirectory", resourceCulture);
}
}
- internal static string YYCMacUnsupported {
+ public static string YYCMacUnsupported {
get {
return ResourceManager.GetString("YYCMacUnsupported", resourceCulture);
}
}
- internal static string Warning {
+ public static string Warning {
get {
return ResourceManager.GetString("Warning", resourceCulture);
}
}
- internal static string SelectAM2R11FileDialog {
+ public static string SelectAM2R11FileDialog {
get {
return ResourceManager.GetString("SelectAM2R11FileDialog", resourceCulture);
}
}
- internal static string FieldsMissing {
+ public static string FieldsMissing {
get {
return ResourceManager.GetString("FieldsMissing", resourceCulture);
}
}
- internal static string Error {
+ public static string Error {
get {
return ResourceManager.GetString("Error", resourceCulture);
}
}
- internal static string NameInvalidCharacters {
+ public static string NameInvalidCharacters {
get {
return ResourceManager.GetString("NameInvalidCharacters", resourceCulture);
}
}
- internal static string AM2R11Invalid {
+ public static string AM2R11Invalid {
get {
return ResourceManager.GetString("AM2R11Invalid", resourceCulture);
}
}
- internal static string PackagingMods {
+ public static string PackagingMods {
get {
return ResourceManager.GetString("PackagingMods", resourceCulture);
}
}
- internal static string ModPackagingAborted {
+ public static string ModPackagingAborted {
get {
return ResourceManager.GetString("ModPackagingAborted", resourceCulture);
}
}
- internal static string ModdedGameNotFound {
+ public static string ModdedGameNotFound {
get {
return ResourceManager.GetString("ModdedGameNotFound", resourceCulture);
}
}
- internal static string Mac {
+ public static string Mac {
get {
return ResourceManager.GetString("Mac", resourceCulture);
}
}
- internal static string Linux {
+ public static string Linux {
get {
return ResourceManager.GetString("Linux", resourceCulture);
}
}
- internal static string Windows {
+ public static string Windows {
get {
return ResourceManager.GetString("Windows", resourceCulture);
}
}
- internal static string ProfileXMLFound {
+ public static string ProfileXMLFound {
get {
return ResourceManager.GetString("ProfileXMLFound", resourceCulture);
}
}
- internal static string SaveOSModProfile {
+ public static string SaveOSModProfile {
get {
return ResourceManager.GetString("SaveOSModProfile", resourceCulture);
}
}
- internal static string Android {
+ public static string Android {
get {
return ResourceManager.GetString("Android", resourceCulture);
}
}
- internal static string SelectModdedFile {
+ public static string SelectModdedFile {
get {
return ResourceManager.GetString("SelectModdedFile", resourceCulture);
}
}
- internal static string APK {
+ public static string APK {
get {
return ResourceManager.GetString("APK", resourceCulture);
}
}
- internal static string Zip {
+ public static string Zip {
get {
return ResourceManager.GetString("Zip", resourceCulture);
}
}
+
+ public static string OSGameLoaded {
+ get {
+ return ResourceManager.GetString("OSGameLoaded", resourceCulture);
+ }
+ }
+
+ public static string SupportsOS {
+ get {
+ return ResourceManager.GetString("SupportsOS", resourceCulture);
+ }
+ }
+
+ public static string LoadOSZip {
+ get {
+ return ResourceManager.GetString("LoadOSZip", resourceCulture);
+ }
+ }
}
}
diff --git a/Atomic/Language/Text.de.resx b/Atomic/Language/Text.de.resx
index b6dcc78..fa501d4 100644
--- a/Atomic/Language/Text.de.resx
+++ b/Atomic/Language/Text.de.resx
@@ -42,15 +42,6 @@
Uses YoYo Compiler
-
- Supports Windows
-
-
- Load modded Windows .zip
-
-
- Modded Mac game loaded!
-
Additionally bundle Android
@@ -60,21 +51,6 @@
Modded APK loaded!
-
- Supports Linux .zip
-
-
- Modded Linux game loaded!
-
-
- Supports Mac
-
-
- Load modded Mac .zip
-
-
- Modded Mac game loaded!
-
Load 1.1
@@ -87,9 +63,6 @@
Mod package created!
-
- Load modded Linux .zip
-
Zip-Archive (*.zip)
@@ -156,4 +129,13 @@
zip
+
+ Modded $1 game loaded!
+
+
+ Supports $1
+
+
+ Load modded $1 .zip
+
\ No newline at end of file
diff --git a/Atomic/Language/Text.es.resx b/Atomic/Language/Text.es.resx
index b8a4e8b..f9f5d4a 100644
--- a/Atomic/Language/Text.es.resx
+++ b/Atomic/Language/Text.es.resx
@@ -42,15 +42,6 @@
Uses YoYo Compiler
-
- Supports Windows
-
-
- Load modded Windows .zip
-
-
- Modded Mac game loaded!
-
Additionally bundle Android
@@ -60,21 +51,6 @@
Modded APK loaded!
-
- Supports Linux .zip
-
-
- Modded Linux game loaded!
-
-
- Supports Mac
-
-
- Load modded Mac .zip
-
-
- Modded Mac game loaded!
-
Load 1.1
@@ -87,9 +63,6 @@
Mod package created!
-
- Load modded Linux .zip
-
Archivos zip (*.zip)
@@ -156,4 +129,13 @@
zip
+
+ Modded $1 game loaded!
+
+
+ Supports $1
+
+
+ Load modded $1 .zip
+
\ No newline at end of file
diff --git a/Atomic/Language/Text.fr.resx b/Atomic/Language/Text.fr.resx
index c6a8da7..6bb2757 100644
--- a/Atomic/Language/Text.fr.resx
+++ b/Atomic/Language/Text.fr.resx
@@ -42,15 +42,6 @@
Uses YoYo Compiler
-
- Supports Windows
-
-
- Load modded Windows .zip
-
-
- Modded Mac game loaded!
-
Additionally bundle Android
@@ -60,21 +51,6 @@
Modded APK loaded!
-
- Supports Linux .zip
-
-
- Modded Linux game loaded!
-
-
- Supports Mac
-
-
- Load modded Mac .zip
-
-
- Modded Mac game loaded!
-
Load 1.1
@@ -87,9 +63,6 @@
Mod package created!
-
- Load modded Linux .zip
-
Archives Zip (*.zip)
@@ -156,4 +129,13 @@
zip
+
+ Modded $1 game loaded!
+
+
+ Supports $1
+
+
+ Load modded $1 .zip
+
\ No newline at end of file
diff --git a/Atomic/Language/Text.it.resx b/Atomic/Language/Text.it.resx
index 40faf16..45c7699 100644
--- a/Atomic/Language/Text.it.resx
+++ b/Atomic/Language/Text.it.resx
@@ -42,15 +42,6 @@
Uses YoYo Compiler
-
- Supports Windows
-
-
- Load modded Windows .zip
-
-
- Modded Mac game loaded!
-
Additionally bundle Android
@@ -60,21 +51,6 @@
Modded APK loaded!
-
- Supports Linux .zip
-
-
- Modded Linux game loaded!
-
-
- Supports Mac
-
-
- Load modded Mac .zip
-
-
- Modded Mac game loaded!
-
Load 1.1
@@ -87,9 +63,6 @@
Mod package created!
-
- Load modded Linux .zip
-
Archivi Zip (.zip)
@@ -156,4 +129,13 @@
zip
+
+ Modded $1 game loaded!
+
+
+ Supports $1
+
+
+ Load modded $1 .zip
+
\ No newline at end of file
diff --git a/Atomic/Language/Text.ja.resx b/Atomic/Language/Text.ja.resx
index 6e8314d..5c30c7e 100644
--- a/Atomic/Language/Text.ja.resx
+++ b/Atomic/Language/Text.ja.resx
@@ -42,15 +42,6 @@
Uses YoYo Compiler
-
- Supports Windows
-
-
- Load modded Windows .zip
-
-
- Modded Mac game loaded!
-
Additionally bundle Android
@@ -60,21 +51,6 @@
Modded APK loaded!
-
- Supports Linux .zip
-
-
- Modded Linux game loaded!
-
-
- Supports Mac
-
-
- Load modded Mac .zip
-
-
- Modded Mac game loaded!
-
Load 1.1
@@ -87,9 +63,6 @@
Mod package created!
-
- Load modded Linux .zip
-
ZIPファイル (*.zip)
@@ -156,4 +129,13 @@
zip
+
+ Modded $1 game loaded!
+
+
+ Supports $1
+
+
+ Load modded $1 .zip
+
\ No newline at end of file
diff --git a/Atomic/Language/Text.pt.resx b/Atomic/Language/Text.pt.resx
index 37f8db0..ca3ac0b 100644
--- a/Atomic/Language/Text.pt.resx
+++ b/Atomic/Language/Text.pt.resx
@@ -42,15 +42,6 @@
Uses YoYo Compiler
-
- Supports Windows
-
-
- Load modded Windows .zip
-
-
- Modded Mac game loaded!
-
Additionally bundle Android
@@ -60,21 +51,6 @@
Modded APK loaded!
-
- Supports Linux .zip
-
-
- Modded Linux game loaded!
-
-
- Supports Mac
-
-
- Load modded Mac .zip
-
-
- Modded Mac game loaded!
-
Load 1.1
@@ -87,9 +63,6 @@
Mod package created!
-
- Load modded Linux .zip
-
Arquivos Zip (*.zip)
@@ -156,4 +129,13 @@
zip
+
+ Modded $1 game loaded!
+
+
+ Supports $1
+
+
+ Load modded $1 .zip
+
\ No newline at end of file
diff --git a/Atomic/Language/Text.resx b/Atomic/Language/Text.resx
index da21667..3e6ef7a 100644
--- a/Atomic/Language/Text.resx
+++ b/Atomic/Language/Text.resx
@@ -42,15 +42,6 @@
Uses YoYo Compiler
-
- Supports Windows
-
-
- Load modded Windows .zip
-
-
- Modded Mac game loaded!
-
Additionally bundle Android
@@ -60,21 +51,6 @@
Modded APK loaded!
-
- Supports Linux .zip
-
-
- Modded Linux game loaded!
-
-
- Supports Mac
-
-
- Load modded Mac .zip
-
-
- Modded Mac game loaded!
-
Load 1.1
@@ -87,9 +63,6 @@
Mod package created!
-
- Load modded Linux .zip
-
Zip Archives (*.zip)
@@ -156,4 +129,13 @@
zip
+
+ Modded $1 game loaded!
+
+
+ Supports $1
+
+
+ Load modded $1 .zip
+
\ No newline at end of file
diff --git a/Atomic/Language/Text.ru.resx b/Atomic/Language/Text.ru.resx
index 10632b0..2d59347 100644
--- a/Atomic/Language/Text.ru.resx
+++ b/Atomic/Language/Text.ru.resx
@@ -42,15 +42,6 @@
Uses YoYo Compiler
-
- Supports Windows
-
-
- Load modded Windows .zip
-
-
- Modded Mac game loaded!
-
Additionally bundle Android
@@ -60,21 +51,6 @@
Modded APK loaded!
-
- Supports Linux .zip
-
-
- Modded Linux game loaded!
-
-
- Supports Mac
-
-
- Load modded Mac .zip
-
-
- Modded Mac game loaded!
-
Load 1.1
@@ -87,9 +63,6 @@
Mod package created!
-
- Load modded Linux .zip
-
Архивы ZIP (*.zip)
@@ -156,4 +129,13 @@
zip
+
+ Modded $1 game loaded!
+
+
+ Supports $1
+
+
+ Load modded $1 .zip
+
\ No newline at end of file
diff --git a/Atomic/Language/Text.zh-Hans.resx b/Atomic/Language/Text.zh-Hans.resx
index c5e06b6..7f35199 100644
--- a/Atomic/Language/Text.zh-Hans.resx
+++ b/Atomic/Language/Text.zh-Hans.resx
@@ -42,15 +42,6 @@
Uses YoYo Compiler
-
- Supports Windows
-
-
- Load modded Windows .zip
-
-
- Modded Mac game loaded!
-
Additionally bundle Android
@@ -60,21 +51,6 @@
Modded APK loaded!
-
- Supports Linux .zip
-
-
- Modded Linux game loaded!
-
-
- Supports Mac
-
-
- Load modded Mac .zip
-
-
- Modded Mac game loaded!
-
Load 1.1
@@ -87,9 +63,6 @@
Mod package created!
-
- Load modded Linux .zip
-
Zip 压缩文件 (*.zip)
@@ -156,4 +129,13 @@
zip
+
+ Modded $1 game loaded!
+
+
+ Supports $1
+
+
+ Load modded $1 .zip
+
\ No newline at end of file
diff --git a/Atomic/ModPacker.Designer.cs b/Atomic/ModPacker.Designer.cs
index 66037f1..f06c5ea 100644
--- a/Atomic/ModPacker.Designer.cs
+++ b/Atomic/ModPacker.Designer.cs
@@ -53,6 +53,11 @@ public partial class ModPacker : Form
};
#endregion
+ // loop through all resource files for test
+ //ResXResourceReader rsxr = new ResXResourceReader("items.resx");
+
+
+
Title = "Atomic v" + version;
Icon = new Icon(1f, new Bitmap(Resources.icon64));
@@ -159,21 +164,21 @@ public partial class ModPacker : Form
private CheckBox yycCheckBox = new CheckBox() { Text = Text.UsesYYC };
- private CheckBox windowsCheckBox = new CheckBox() { Text = Text.SupportsWindows };
- private Button windowsButton = new Button() { Text = Text.LoadWindowsZip, Enabled = false };
- private Label windowsLabel = new Label() { Text = Text.WindowsLoaded, Visible = false };
+ private CheckBox windowsCheckBox = new CheckBox() { Text = Text.SupportsOS.Replace("$1", Text.Windows) };
+ private Button windowsButton = new Button() { Text = Text.LoadOSZip.Replace("$1", Text.Windows), Enabled = false };
+ private Label windowsLabel = new Label() { Text = Text.OSGameLoaded.Replace("$1", Text.Windows), Visible = false };
private CheckBox apkCheckBox = new CheckBox() { Text = Text.BundleAndroid };
private Button apkButton = new Button() { Text = Text.LoadAndroidAPK, Enabled = false };
private Label apkLabel = new Label() { Text = Text.AndroidLoaded, Visible = false };
- private CheckBox linuxCheckBox = new CheckBox() { Text = Text.SupportsLinux};
- private Button linuxButton = new Button() { Text = Text.LoadLinuxZip, Enabled = false };
- private Label linuxLabel = new Label() { Text = Text.LinuxLoaded, Visible = false };
+ private CheckBox linuxCheckBox = new CheckBox() { Text = Text.SupportsOS.Replace("$1", Text.Linux)};
+ private Button linuxButton = new Button() { Text = Text.LoadOSZip.Replace("$1", Text.Linux), Enabled = false };
+ private Label linuxLabel = new Label() { Text = Text.OSGameLoaded.Replace("$1", Text.Linux), Visible = false };
- private CheckBox macCheckBox = new CheckBox() { Text = Text.SupportsMac };
- private Button macButton = new Button() { Text = Text.LoadMacZip, Enabled = false };
- private Label macLabel = new Label() { Text = Text.MacLoaded, Visible = false };
+ private CheckBox macCheckBox = new CheckBox() { Text = Text.SupportsOS.Replace("$1", Text.Mac) };
+ private Button macButton = new Button() { Text = Text.LoadOSZip.Replace("$1", Text.Mac), Enabled = false };
+ private Label macLabel = new Label() { Text = Text.OSGameLoaded.Replace("$1", Text.Mac), Visible = false };
private Button originalZipButton = new Button() { Text = Text.LoadAM2R11 };
private Label originalZipLabel = new Label() { Text = Text.AM2R11Loaded, Visible = false};