From a90a6a3e55b20a861d4fdae88731c9b3b5b6dab9 Mon Sep 17 00:00:00 2001 From: Louis Date: Thu, 30 Jun 2022 22:22:21 +0200 Subject: [PATCH] Changed version number to v4.2.2 for upcoming release --- README.md | 2 +- build.gradle | 2 +- changelog.md | 4 ++-- .../java/com/github/lmh01/mgt2mt/MadGamesTycoon2ModTool.java | 2 +- .../github/lmh01/mgt2mt/content/manager/AntiCheatManager.java | 2 +- .../lmh01/mgt2mt/content/manager/CopyProtectionManager.java | 2 +- .../lmh01/mgt2mt/content/manager/EngineFeatureManager.java | 2 +- .../lmh01/mgt2mt/content/manager/GameplayFeatureManager.java | 2 +- .../com/github/lmh01/mgt2mt/content/manager/GenreManager.java | 2 +- .../lmh01/mgt2mt/content/manager/HardwareFeatureManager.java | 2 +- .../github/lmh01/mgt2mt/content/manager/HardwareManager.java | 2 +- .../github/lmh01/mgt2mt/content/manager/LicenceManager.java | 2 +- .../github/lmh01/mgt2mt/content/manager/NpcEngineManager.java | 2 +- .../github/lmh01/mgt2mt/content/manager/NpcGameManager.java | 2 +- .../com/github/lmh01/mgt2mt/content/manager/NpcIpManager.java | 2 +- .../github/lmh01/mgt2mt/content/manager/PlatformManager.java | 2 +- .../github/lmh01/mgt2mt/content/manager/PublisherManager.java | 2 +- .../com/github/lmh01/mgt2mt/content/manager/ThemeManager.java | 2 +- 18 files changed, 19 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index be1bcc5f..e0d1e8fc 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ To update the initial backup go to `Backup -> Create backup -> Create new initia #### WHEN THE GAME IS UPDATED IT MIGHT BE POSSIBLE THAT YOUR MODIFICATIONS TO THE GAME FILES ARE LOST #### TO COUNTERACT THIS YOU CAN CREATE A MOD RESTORE POINT IN THE BACKUP MENU -## Download: [v4.2.1](https://github.com/LMH01/MGT2_Mod_Tool/releases/download/v4.2.1/MGT2_Mod_Tool_4.2.1.zip) +## Download: [v4.2.2](https://github.com/LMH01/MGT2_Mod_Tool/releases/download/v4.2.2/MGT2_Mod_Tool_4.2.2.zip) #### Getting started: - Install Java 8 (if not already installed) - Download and extract the `.zip` file diff --git a/build.gradle b/build.gradle index 9fa1e3a6..792dde2a 100644 --- a/build.gradle +++ b/build.gradle @@ -38,7 +38,7 @@ dependencies { sourceCompatibility = 1.8 targetCompatibility = 1.8 -project.version = "4.2.1" //remember to change version in main class +project.version = "4.2.2" //remember to change version in main class archivesBaseName = "MGT2_Mod_Tool" group = "com.github.lmh01" diff --git a/changelog.md b/changelog.md index fd08d0fc..2902049b 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,6 @@ # Changelog -## v4.2.2 +## [v4.2.2](https://github.com/LMH01/MGT2_Mod_Tool/releases/tag/v4.2.2) (Latest Version) ### Other - Updated default content files @@ -9,7 +9,7 @@ - Deleting backups from the uninstallation menu would sometimes fail - Deleting export folder would throw exception when it did not exist -## [v4.2.1](https://github.com/LMH01/MGT2_Mod_Tool/releases/tag/v4.2.1) (Latest Version) +## [v4.2.1](https://github.com/LMH01/MGT2_Mod_Tool/releases/tag/v4.2.1) ### Other - Safety feature settings are now printed to log file diff --git a/src/main/java/com/github/lmh01/mgt2mt/MadGamesTycoon2ModTool.java b/src/main/java/com/github/lmh01/mgt2mt/MadGamesTycoon2ModTool.java index 6ba4b91a..c5461c02 100644 --- a/src/main/java/com/github/lmh01/mgt2mt/MadGamesTycoon2ModTool.java +++ b/src/main/java/com/github/lmh01/mgt2mt/MadGamesTycoon2ModTool.java @@ -19,7 +19,7 @@ public class MadGamesTycoon2ModTool { public static final OSType OS_TYPE; private static final Logger LOGGER = LoggerFactory.getLogger(MadGamesTycoon2ModTool.class); - public static final String VERSION = "4.2.1";//Version numbers that include "dev" are not checked for updates / tool will notify if update is available + public static final String VERSION = "4.2.2";//Version numbers that include "dev" are not checked for updates / tool will notify if update is available public static final String CURRENT_RELEASE_VERSION = "4.2.2";//When this version number has been detected as the newest release version the update available message is held back static { diff --git a/src/main/java/com/github/lmh01/mgt2mt/content/manager/AntiCheatManager.java b/src/main/java/com/github/lmh01/mgt2mt/content/manager/AntiCheatManager.java index d467ebe0..ab7fa8c2 100644 --- a/src/main/java/com/github/lmh01/mgt2mt/content/manager/AntiCheatManager.java +++ b/src/main/java/com/github/lmh01/mgt2mt/content/manager/AntiCheatManager.java @@ -23,7 +23,7 @@ public class AntiCheatManager extends AbstractAdvancedContentManager { public static final AntiCheatManager INSTANCE = new AntiCheatManager(); - public static final String compatibleModToolVersions[] = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", MadGamesTycoon2ModTool.VERSION}; private AntiCheatManager() { super("antiCheat", "anti_cheat", "default_anti_cheat.txt", MGT2Paths.TEXT_DATA.getPath().resolve("AntiCheat.txt").toFile(), StandardCharsets.UTF_8); diff --git a/src/main/java/com/github/lmh01/mgt2mt/content/manager/CopyProtectionManager.java b/src/main/java/com/github/lmh01/mgt2mt/content/manager/CopyProtectionManager.java index bce1f040..9d180fea 100644 --- a/src/main/java/com/github/lmh01/mgt2mt/content/manager/CopyProtectionManager.java +++ b/src/main/java/com/github/lmh01/mgt2mt/content/manager/CopyProtectionManager.java @@ -23,7 +23,7 @@ public class CopyProtectionManager extends AbstractAdvancedContentManager { public static final CopyProtectionManager INSTANCE = new CopyProtectionManager(); - public static final String compatibleModToolVersions[] = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", MadGamesTycoon2ModTool.VERSION}; private CopyProtectionManager() { super("copyProtect", "copy_protect", "default_copy_protect.txt", MGT2Paths.TEXT_DATA.getPath().resolve("CopyProtect.txt").toFile(), StandardCharsets.UTF_8); diff --git a/src/main/java/com/github/lmh01/mgt2mt/content/manager/EngineFeatureManager.java b/src/main/java/com/github/lmh01/mgt2mt/content/manager/EngineFeatureManager.java index 93266398..6bd37561 100644 --- a/src/main/java/com/github/lmh01/mgt2mt/content/manager/EngineFeatureManager.java +++ b/src/main/java/com/github/lmh01/mgt2mt/content/manager/EngineFeatureManager.java @@ -25,7 +25,7 @@ public class EngineFeatureManager extends AbstractAdvancedContentManager { public static final EngineFeatureManager INSTANCE = new EngineFeatureManager(); - public static final String compatibleModToolVersions[] = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", MadGamesTycoon2ModTool.VERSION}; private EngineFeatureManager() { super("engineFeature", "engine_feature", "default_engine_features.txt", MGT2Paths.TEXT_DATA.getPath().resolve("EngineFeatures.txt").toFile(), StandardCharsets.UTF_8); diff --git a/src/main/java/com/github/lmh01/mgt2mt/content/manager/GameplayFeatureManager.java b/src/main/java/com/github/lmh01/mgt2mt/content/manager/GameplayFeatureManager.java index 1c15a848..83f34e11 100644 --- a/src/main/java/com/github/lmh01/mgt2mt/content/manager/GameplayFeatureManager.java +++ b/src/main/java/com/github/lmh01/mgt2mt/content/manager/GameplayFeatureManager.java @@ -23,7 +23,7 @@ public class GameplayFeatureManager extends AbstractAdvancedContentManager imple public static final GameplayFeatureManager INSTANCE = new GameplayFeatureManager(); - public static final String compatibleModToolVersions[] = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", MadGamesTycoon2ModTool.VERSION}; private GameplayFeatureManager() { super("gameplayFeature", "gameplay_feature", "default_gameplay_features.txt", MGT2Paths.TEXT_DATA.getPath().resolve("GameplayFeatures.txt").toFile(), StandardCharsets.UTF_8); diff --git a/src/main/java/com/github/lmh01/mgt2mt/content/manager/GenreManager.java b/src/main/java/com/github/lmh01/mgt2mt/content/manager/GenreManager.java index 66ddc0aa..1d360f19 100644 --- a/src/main/java/com/github/lmh01/mgt2mt/content/manager/GenreManager.java +++ b/src/main/java/com/github/lmh01/mgt2mt/content/manager/GenreManager.java @@ -26,7 +26,7 @@ public class GenreManager extends AbstractAdvancedContentManager implements Depe public static final GenreManager INSTANCE = new GenreManager(); - public static final String compatibleModToolVersions[] = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", MadGamesTycoon2ModTool.VERSION}; public static final Path defaultGenreIcon = MGT2Paths.GENRE_ICONS.getPath().resolve("iconSkill.png"); diff --git a/src/main/java/com/github/lmh01/mgt2mt/content/manager/HardwareFeatureManager.java b/src/main/java/com/github/lmh01/mgt2mt/content/manager/HardwareFeatureManager.java index 3bb968ac..203e75d5 100644 --- a/src/main/java/com/github/lmh01/mgt2mt/content/manager/HardwareFeatureManager.java +++ b/src/main/java/com/github/lmh01/mgt2mt/content/manager/HardwareFeatureManager.java @@ -23,7 +23,7 @@ public class HardwareFeatureManager extends AbstractAdvancedContentManager { public static final HardwareFeatureManager INSTANCE = new HardwareFeatureManager(); - public static final String compatibleModToolVersions[] = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", MadGamesTycoon2ModTool.VERSION}; private HardwareFeatureManager() { super("hardwareFeature", "hardware_feature", "default_hardware_features.txt", MGT2Paths.TEXT_DATA.getPath().resolve("HardwareFeatures.txt").toFile(), StandardCharsets.UTF_8); diff --git a/src/main/java/com/github/lmh01/mgt2mt/content/manager/HardwareManager.java b/src/main/java/com/github/lmh01/mgt2mt/content/manager/HardwareManager.java index 89079d74..62b1d8d8 100644 --- a/src/main/java/com/github/lmh01/mgt2mt/content/manager/HardwareManager.java +++ b/src/main/java/com/github/lmh01/mgt2mt/content/manager/HardwareManager.java @@ -29,7 +29,7 @@ public class HardwareManager extends AbstractAdvancedContentManager implements D public static final HardwareManager INSTANCE = new HardwareManager(); - public static final String compatibleModToolVersions[] = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", MadGamesTycoon2ModTool.VERSION}; private HardwareManager() { super("hardware", "hardware", "default_hardware.txt", MGT2Paths.TEXT_DATA.getPath().resolve("Hardware.txt").toFile(), StandardCharsets.UTF_8); diff --git a/src/main/java/com/github/lmh01/mgt2mt/content/manager/LicenceManager.java b/src/main/java/com/github/lmh01/mgt2mt/content/manager/LicenceManager.java index abf64af3..b467a3e0 100644 --- a/src/main/java/com/github/lmh01/mgt2mt/content/manager/LicenceManager.java +++ b/src/main/java/com/github/lmh01/mgt2mt/content/manager/LicenceManager.java @@ -19,7 +19,7 @@ public class LicenceManager extends AbstractSimpleContentManager implements Depe public static final LicenceManager INSTANCE = new LicenceManager(); - public static final String compatibleModToolVersions[] = new String[]{"4.2.0", "4.2.1", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.2.0", "4.2.1", "4.2.2", MadGamesTycoon2ModTool.VERSION}; private LicenceManager() { super("licence", "licence", "default_licences.txt", MGT2Paths.TEXT_DATA.getPath().resolve("Licence.txt").toFile(), StandardCharsets.UTF_8); diff --git a/src/main/java/com/github/lmh01/mgt2mt/content/manager/NpcEngineManager.java b/src/main/java/com/github/lmh01/mgt2mt/content/manager/NpcEngineManager.java index 65566229..749b3a7c 100644 --- a/src/main/java/com/github/lmh01/mgt2mt/content/manager/NpcEngineManager.java +++ b/src/main/java/com/github/lmh01/mgt2mt/content/manager/NpcEngineManager.java @@ -30,7 +30,7 @@ public class NpcEngineManager extends AbstractAdvancedContentManager implements public static final NpcEngineManager INSTANCE = new NpcEngineManager(); - public static final String compatibleModToolVersions[] = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", MadGamesTycoon2ModTool.VERSION}; private NpcEngineManager() { super("npcEngine", "npc_engine", "default_npc_engines.txt", MGT2Paths.TEXT_DATA.getPath().resolve("NpcEngines.txt").toFile(), StandardCharsets.UTF_8); diff --git a/src/main/java/com/github/lmh01/mgt2mt/content/manager/NpcGameManager.java b/src/main/java/com/github/lmh01/mgt2mt/content/manager/NpcGameManager.java index 01eaf3a4..fc60c136 100644 --- a/src/main/java/com/github/lmh01/mgt2mt/content/manager/NpcGameManager.java +++ b/src/main/java/com/github/lmh01/mgt2mt/content/manager/NpcGameManager.java @@ -23,7 +23,7 @@ public class NpcGameManager extends AbstractSimpleContentManager implements Depe public static final NpcGameManager INSTANCE = new NpcGameManager(); - public static final String compatibleModToolVersions[] = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", MadGamesTycoon2ModTool.VERSION}; private NpcGameManager() { super("npcGames", "npc_game", "default_npcGames.txt", MGT2Paths.TEXT_DATA.getPath().resolve("NpcGames.txt").toFile(), StandardCharsets.UTF_16LE); diff --git a/src/main/java/com/github/lmh01/mgt2mt/content/manager/NpcIpManager.java b/src/main/java/com/github/lmh01/mgt2mt/content/manager/NpcIpManager.java index 71a6d0b6..42aa616e 100644 --- a/src/main/java/com/github/lmh01/mgt2mt/content/manager/NpcIpManager.java +++ b/src/main/java/com/github/lmh01/mgt2mt/content/manager/NpcIpManager.java @@ -19,7 +19,7 @@ public class NpcIpManager extends AbstractSimpleContentManager implements Depend public static final NpcIpManager INSTANCE = new NpcIpManager(); - public static final String compatibleModToolVersions[] = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", MadGamesTycoon2ModTool.VERSION}; private NpcIpManager() { super("npcIp", "npc_ip", "default_npcIps.txt", MGT2Paths.TEXT_DATA.getPath().resolve("NpcIPs.txt").toFile(), StandardCharsets.UTF_16LE); diff --git a/src/main/java/com/github/lmh01/mgt2mt/content/manager/PlatformManager.java b/src/main/java/com/github/lmh01/mgt2mt/content/manager/PlatformManager.java index 4c422789..5ea243c1 100644 --- a/src/main/java/com/github/lmh01/mgt2mt/content/manager/PlatformManager.java +++ b/src/main/java/com/github/lmh01/mgt2mt/content/manager/PlatformManager.java @@ -36,7 +36,7 @@ public class PlatformManager extends AbstractAdvancedContentManager implements D public static final PlatformManager INSTANCE = new PlatformManager(); - public static final String compatibleModToolVersions[] = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", MadGamesTycoon2ModTool.VERSION}; private PlatformManager() { super("platform", "platform", "default_platforms.txt", MGT2Paths.TEXT_DATA.getPath().resolve("Platforms.txt").toFile(), StandardCharsets.UTF_8); diff --git a/src/main/java/com/github/lmh01/mgt2mt/content/manager/PublisherManager.java b/src/main/java/com/github/lmh01/mgt2mt/content/manager/PublisherManager.java index 1c0a4f45..d3e916b7 100644 --- a/src/main/java/com/github/lmh01/mgt2mt/content/manager/PublisherManager.java +++ b/src/main/java/com/github/lmh01/mgt2mt/content/manager/PublisherManager.java @@ -38,7 +38,7 @@ public class PublisherManager extends AbstractAdvancedContentManager implements public static final PublisherManager INSTANCE = new PublisherManager(); - public static final String compatibleModToolVersions[] = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", MadGamesTycoon2ModTool.VERSION}; public static final Path defaultPublisherIcon = MGT2Paths.COMPANY_ICONS.getPath().resolve("87.png"); diff --git a/src/main/java/com/github/lmh01/mgt2mt/content/manager/ThemeManager.java b/src/main/java/com/github/lmh01/mgt2mt/content/manager/ThemeManager.java index 3ff98e91..1358aa83 100644 --- a/src/main/java/com/github/lmh01/mgt2mt/content/manager/ThemeManager.java +++ b/src/main/java/com/github/lmh01/mgt2mt/content/manager/ThemeManager.java @@ -32,7 +32,7 @@ public class ThemeManager extends AbstractSimpleContentManager implements Depend public static final ThemeManager INSTANCE = new ThemeManager(); - public static final String compatibleModToolVersions[] = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", MadGamesTycoon2ModTool.VERSION}; private ThemeManager() { super("theme", "theme", "default_themes_en.txt", ModManagerPaths.MAIN.getPath().resolve("themes_2.txt").toFile(), StandardCharsets.UTF_16LE);