diff --git a/README.md b/README.md index ecfb43f2..bb396379 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Download latest release](https://img.shields.io/github/v/release/LMH01/MGT2_Mod_Tool)](https://github.com/LMH01/MGT2_Mod_Tool/releases/download/v4.8.0/MGT2_Mod_Tool_4.8.0.zip) +[![Download latest release](https://img.shields.io/github/v/release/LMH01/MGT2_Mod_Tool)](https://github.com/LMH01/MGT2_Mod_Tool/releases/download/v4.9.0-alpha1/MGT2_Mod_Tool_4.9.0-alpha1.zip) ![Total Downloads](https://img.shields.io/github/downloads/LMH01/MGT2_Mod_Tool/total) [![License](https://img.shields.io/github/license/LMH01/MGT2_Mod_Tool)](LICENSE) # Welcome to the Mad Games Tycoon 2 Mod Tool @@ -6,7 +6,7 @@ This is a little program that can modify some files of Mad Games Tycoon 2. Before downloading please read [this information](docs/important.md) carefully. -## Download: [v4.8.0](https://github.com/LMH01/MGT2_Mod_Tool/releases/download/v4.8.0/MGT2_Mod_Tool_4.8.0.zip) +## Download: [v4.9.0-alpha1](https://github.com/LMH01/MGT2_Mod_Tool/releases/download/v4.9.0-alpha1/MGT2_Mod_Tool_4.9.0-alpha1.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 e325e3f2..6f713c8e 100644 --- a/build.gradle +++ b/build.gradle @@ -38,7 +38,7 @@ dependencies { sourceCompatibility = 1.8 targetCompatibility = 1.8 -project.version = "4.8.0" //remember to change version in main class +project.version = "4.9.0-alpha1" //remember to change version in main class archivesBaseName = "MGT2_Mod_Tool" group = "com.github.lmh01" diff --git a/src/main/java/com/github/lmh01/mgt2mt/MadGamesTycoon2ModTool.java b/src/main/java/com/github/lmh01/mgt2mt/MadGamesTycoon2ModTool.java index dfa8b21c..4adb8b7c 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.9.0-dev";//Version numbers that include "dev" are not checked for updates / tool will notify if update is available + public static final String VERSION = "4.9.0-alpha1";//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.8.0";//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 dd9d6e63..d662dedc 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", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", "4.9.0-alpha1", MadGamesTycoon2ModTool.VERSION}; private AntiCheatManager() { super("antiCheat", "anti_cheat", 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 41e02828..eda2927e 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", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", "4.9.0-alpha1", MadGamesTycoon2ModTool.VERSION}; private CopyProtectionManager() { super("copyProtect", "copy_protect", MGT2Paths.TEXT_DATA.getPath().resolve("CopyProtect.txt").toFile(), StandardCharsets.UTF_8); diff --git a/src/main/java/com/github/lmh01/mgt2mt/content/manager/DevLegendsManager.java b/src/main/java/com/github/lmh01/mgt2mt/content/manager/DevLegendsManager.java index 9abd8c52..c985f8da 100644 --- a/src/main/java/com/github/lmh01/mgt2mt/content/manager/DevLegendsManager.java +++ b/src/main/java/com/github/lmh01/mgt2mt/content/manager/DevLegendsManager.java @@ -20,7 +20,7 @@ public class DevLegendsManager extends AbstractSimpleContentManager { public static final DevLegendsManager INSTANCE = new DevLegendsManager(); - public static final String[] compatibleModToolVersions = new String[]{"4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", "4.9.0-alpha1", MadGamesTycoon2ModTool.VERSION}; private DevLegendsManager() { super("devLegend", "dev_legend", MGT2Paths.TEXT_DATA.getPath().resolve("DevLegends.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 b677a1e9..cc40da54 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", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", "4.9.0-alpha1", MadGamesTycoon2ModTool.VERSION}; private EngineFeatureManager() { super("engineFeature", "engine_feature", 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 2841c4d8..8f4d91b7 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", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", "4.9.0-alpha1", MadGamesTycoon2ModTool.VERSION}; private GameplayFeatureManager() { super("gameplayFeature", "gameplay_feature", 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 0b4544f6..203d9b9c 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 @@ -28,7 +28,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", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", "4.9.0-alpha1", 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 70c8f062..85a40fcf 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", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", "4.9.0-alpha1", MadGamesTycoon2ModTool.VERSION}; private HardwareFeatureManager() { super("hardwareFeature", "hardware_feature", 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 25dac1ab..a727bd7f 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 @@ -27,7 +27,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", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", "4.9.0-alpha1", MadGamesTycoon2ModTool.VERSION}; private HardwareManager() { super("hardware", "hardware", 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 e92edb86..2e46c411 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", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.2.0", "4.2.1", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", "4.9.0-alpha1", MadGamesTycoon2ModTool.VERSION}; private LicenceManager() { super("licence", "licence", 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 b5336356..c585e1d3 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", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", "4.9.0-alpha1", MadGamesTycoon2ModTool.VERSION}; private NpcEngineManager() { super("npcEngine", "npc_engine", 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 98026544..ff499327 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 @@ -24,7 +24,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", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", "4.9.0-alpha1", MadGamesTycoon2ModTool.VERSION}; private NpcGameManager() { super("npcGames", "npc_game", 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 19fdd9cb..b58df92c 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", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", "4.9.0-alpha1", MadGamesTycoon2ModTool.VERSION}; private NpcIpManager() { super("npcIp", "npc_ip", 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 ca2e7e55..5e34766f 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", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", "4.9.0-alpha1", MadGamesTycoon2ModTool.VERSION}; private PlatformManager() { super("platform", "platform", 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 acab706b..a9ab3a09 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", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", "4.9.0-alpha1", 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 6b4d779a..753c9e9b 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 @@ -33,7 +33,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", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", MadGamesTycoon2ModTool.VERSION}; + public static final String[] compatibleModToolVersions = new String[]{"4.0.0", "4.1.0", "4.2.0", "4.2.1", "4.2.2", "4.3.0", "4.3.1", "4.4.0", "4.5.0", "4.6.0", "4.7.0", "4.8.0", "4.9.0-alpha1", MadGamesTycoon2ModTool.VERSION}; private ThemeManager() { super("theme", "theme", ModManagerPaths.MAIN.getPath().resolve("themes_2.txt").toFile(), StandardCharsets.UTF_16LE);