@@ -6,14 +6,10 @@ public enum GameVersionType
66 {
77 /// <summary>3.0.0.2818 (July 2009) installed from disc, with patch 5.1</summary>
88 Disc ,
9- /// <summary>3.0.0.2818 (July 2009) installed from Origin, with patch 5.1, requires ModAPI Fix</summary>
10- Origin ,
119 /// <summary>3.1.0.22 (March 2017) installed from Origin, requires ModAPI Fix</summary>
1210 Origin_Patched ,
1311 /// <summary>3.1.0.29 (October 2024) installed from EA App or Origin, requires ModAPI Fix</summary>
1412 EA_Oct24 ,
15- /// <summary>3.0.0.2818 (July 2009) installed from GOG or Steam, with patch 5.1</summary>
16- Steam ,
1713 /// <summary>3.1.0.22 (March 2017) installed from GOG or Steam</summary>
1814 Steam_Patched ,
1915 /// <summary>3.1.0.29 (October 2024) installed from GOG</summary>
@@ -30,20 +26,16 @@ public static class GameVersion
3026
3127 private static readonly int [ ] ExecutableSizes = {
3228 /* DISC*/ 24909584 ,
33- /* ORIGIN */ 31347984 ,
3429 /* ORIGIN_P */ 24898224 ,
3530 /* EA_OCT24 */ 24906040 ,
36- /* STEAM */ 24888320 ,
3731 /* STEAM_P */ 24885248 ,
3832 /* GOG_OCT24 */ 24895536 ,
3933 /* STEAM_OCT24 */ 25066744 } ;
4034
4135 private static readonly string [ ] VersionNames = {
4236 "disk" ,
4337 "steam_patched" , // origin uses the steam_patched one
44- "steam_patched" , // origin uses the steam_patched one
4538 "steam_patched" , // EA app uses the steam_patched one
46- "steam" ,
4739 "steam_patched" ,
4840 "steam_patched" , // in GoG executable, addresses did not change in October 2024 update
4941 "steam_patched" , // addresses did not change in October 2024 update, but the executable was protected with SteamDRM
@@ -54,19 +46,16 @@ public static class GameVersion
5446 private static readonly string [ ] ExecutableNames = {
5547 "SporeApp.exe" ,
5648 "SporeApp_ModAPIFix.exe" , // origin uses a different one
57- "SporeApp_ModAPIFix.exe" , // origin uses a different one
5849 "SporeApp_ModAPIFix.exe" , // EA app uses a different one
5950 "SporeApp.exe" ,
6051 "SporeApp.exe" ,
61- "SporeApp.exe" ,
6252 "SporeApp.exe" ,
6353 null
6454 } ;
6555
6656 public static bool RequiresModAPIFix ( GameVersionType versionType )
6757 {
68- return versionType == GameVersionType . Origin ||
69- versionType == GameVersionType . Origin_Patched ||
58+ return versionType == GameVersionType . Origin_Patched ||
7059 versionType == GameVersionType . EA_Oct24 ;
7160 }
7261
@@ -104,8 +93,7 @@ public static string GetNewDLLName(GameVersionType type)
10493 {
10594 return "SporeModAPI.disk.dll" ;
10695 }
107- else if ( ( type == GameVersionType . Origin ) ||
108- ( type == GameVersionType . Origin_Patched ) ||
96+ else if ( ( type == GameVersionType . Origin_Patched ) ||
10997 ( type == GameVersionType . EA_Oct24 ) ||
11098 ( type == GameVersionType . Steam_Patched ) ||
11199 ( type == GameVersionType . GoG_Oct24 ) ||
0 commit comments