@@ -58,11 +58,6 @@ public static Version CurrentDllsBuild
5858 }
5959 public static string HttpUserAgent = "Spore-ModAPI-Launcher-Kit/" + CurrentVersion . ToString ( ) ;
6060
61- /// <summary>
62- /// Core DLLs version is the one that came with the old launcher, 2.5.20
63- /// </summary>
64- public static Version OldLauncherDllsBuild = new Version ( 2 , 5 , 20 , 0 ) ;
65-
6661 public static bool HasValidDllsVersion ( XmlDocument document )
6762 {
6863 var modNode = document . SelectSingleNode ( "/mod" ) ;
@@ -73,22 +68,6 @@ public static bool HasValidDllsVersion(XmlDocument document)
7368 if ( modNode . Attributes [ "dllsBuild" ] != null )
7469 Version . TryParse ( modNode . Attributes [ "dllsBuild" ] . Value , out requiredDllsVersion ) ;
7570
76- if ( requiredDllsVersion > OldLauncherDllsBuild )
77- {
78- // Only allow these mods unless they have the newer installer version, to ensure they don't get released into old Launcher versions
79- if ( modNode . Attributes [ "installerSystemVersion" ] == null ||
80- ! Version . TryParse ( modNode . Attributes [ "installerSystemVersion" ] . Value , out Version installerSystemVersion ) ||
81- installerSystemVersion < new Version ( 1 , 0 , 1 , 2 ) )
82- {
83- // Some mods already existed with newer DLL version but same installerSystemVersion
84- // We make exceptions for them here
85- string unique = modNode . Attributes [ "unique" ] == null ? "" : modNode . Attributes [ "unique" ] . Value ;
86- if ( ! ( ( unique == "AssetSharing" || unique == "CaptainVoiceDiversity" ) &&
87- requiredDllsVersion . Major == 2 && requiredDllsVersion . Minor == 5 && requiredDllsVersion . Build == 179 ) )
88- return false ;
89- }
90- }
91-
9271 if ( requiredDllsVersion != null &&
9372 requiredDllsVersion > CurrentDllsBuild )
9473 {
0 commit comments