diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-02-10 22:52:16 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-02-10 22:52:16 -0500 |
commit | 3e91af6b06deec6aa2dca80945c82af528094c52 (patch) | |
tree | 3059724e50fcfaa58ccd01cd0bb142e844e769ed | |
parent | c357013156b0e50d05427ccada855042bdd546d7 (diff) | |
download | SMAPI-3e91af6b06deec6aa2dca80945c82af528094c52.tar.gz SMAPI-3e91af6b06deec6aa2dca80945c82af528094c52.tar.bz2 SMAPI-3e91af6b06deec6aa2dca80945c82af528094c52.zip |
mark several mods incompatible with Stardew Valley 1.2+ (#231)
-rw-r--r-- | src/StardewModdingAPI/Program.cs | 2 | ||||
-rw-r--r-- | src/StardewModdingAPI/StardewModdingAPI.data.json | 60 |
2 files changed, 44 insertions, 18 deletions
diff --git a/src/StardewModdingAPI/Program.cs b/src/StardewModdingAPI/Program.cs index c0a05e2d..75be23f2 100644 --- a/src/StardewModdingAPI/Program.cs +++ b/src/StardewModdingAPI/Program.cs @@ -385,7 +385,7 @@ namespace StardewModdingAPI // validate known incompatible mods IncompatibleMod compatibility; - if (incompatibleMods.TryGetValue(manifest.UniqueID ?? $"{manifest.Name}|{manifest.Author}|{manifest.EntryDll}", out compatibility)) + if (incompatibleMods.TryGetValue(!string.IsNullOrWhiteSpace(manifest.UniqueID) ? manifest.UniqueID : manifest.EntryDll, out compatibility)) { if (!compatibility.IsCompatible(manifest.Version)) { diff --git a/src/StardewModdingAPI/StardewModdingAPI.data.json b/src/StardewModdingAPI/StardewModdingAPI.data.json index 3295336f..3c9be222 100644 --- a/src/StardewModdingAPI/StardewModdingAPI.data.json +++ b/src/StardewModdingAPI/StardewModdingAPI.data.json @@ -6,45 +6,71 @@ This file contains advanced metadata for SMAPI. You shouldn't change this file. */ [ - /* versions not compatible with Stardew Valley 1.1+ */ + /* versions which crash the game */ { - "ID": "SPDSprinklersMod", - "Name": "Better Sprinklers", - "UpperVersion": "2.1", - "UpdateUrl": "http://www.nexusmods.com/stardewvalley/mods/41", - "UnofficialUpdateUrl": "http://community.playstarbound.com/threads/125031", - "ForceCompatibleVersion": "^2.1-EntoPatch" + "Name": "NPC Map Locations", + "ID": "NPCMapLocationsMod", + "LowerVersion": "1.42", + "UpperVersion": "1.43", + "UpdateUrl": "http://www.nexusmods.com/stardewvalley/mods/239", + "ReasonPhrase": "this version has an update check error which crashes the game" }, + + /* versions not compatible with Stardew Valley 1.1+ */ { - "ID": "SPDChestLabel", "Name": "Chest Label System", + "ID": "SPDChestLabel", "UpperVersion": "1.5", "UpdateUrl": "http://www.nexusmods.com/stardewvalley/mods/242", "UnofficialUpdateUrl": "http://community.playstarbound.com/threads/125031", "ForceCompatibleVersion": "^1.5-EntoPatch" }, { - "ID": "CJBCheatsMenu", "Name": "CJB Cheats Menu", + "ID": "CJBCheatsMenu", "UpperVersion": "1.12", "UpdateUrl": "http://www.nexusmods.com/stardewvalley/mods/4", "ForceCompatibleVersion": "^1.12-EntoPatch" }, { - "ID": "CJBItemSpawner", "Name": "CJB Item Spawner", + "ID": "CJBItemSpawner", "UpperVersion": "1.5", "UpdateUrl": "http://www.nexusmods.com/stardewvalley/mods/93", "ForceCompatibleVersion": "^1.5-EntoPatch" }, - /* versions which crash the game */ + /* versions not compatible with Stardew Valley 1.2+ */ { - "ID": "NPCMapLocationsMod", - "Name": "NPC Map Locations", - "LowerVersion": "1.42", - "UpperVersion": "1.43", - "UpdateUrl": "http://www.nexusmods.com/stardewvalley/mods/239", - "ReasonPhrase": "this version has an update check error which crashes the game" + "Name": "Better Sprinklers", + "ID": "SPDSprinklersMod", + "UpperVersion": "2.1", + "UpdateUrl": "http://www.nexusmods.com/stardewvalley/mods/41", + "UnofficialUpdateUrl": "http://community.playstarbound.com/threads/125031", + "ForceCompatibleVersion": "^2.1-EntoPatch.7" + }, + { + "Name": "Casks Anywhere", + "ID": "CasksAnywhere", + "UpperVersion": "1.1", + "UpdateUrl": "http://www.nexusmods.com/stardewvalley/mods/878" + }, + { + "Name": "Entoarox Framework", + "ID": "eacdb74b-4080-4452-b16b-93773cda5cf9", + "UpperVersion": "1.6.1", + "UpdateUrl": "http://community.playstarbound.com/resources/4228" + }, + { + "Name": "Get Dressed", + "ID": "GetDressed.dll", + "UpperVersion": "3.2", + "UpdateUrl": "http://www.nexusmods.com/stardewvalley/mods/331" + }, + { + "Name": "NoSoilDecay", + "ID": "289dee03-5f38-4d8e-8ffc-e440198e8610", + "UpperVersion": "0.5", + "UpdateUrl": "http://www.nexusmods.com/stardewvalley/mods/237" } ] |