Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Commit d32dd34

Browse files
committed
the Steam Cloud config for "Call of Duty: Modern Warfare 3" does not work: the actual data seems to be inside the install folder
1 parent 75ae6c7 commit d32dd34

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

DataCreator/DataCreator/Data/Games/CodMw3.cs

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System.ComponentModel.Composition;
1+
using System.Collections.Generic;
2+
using System.ComponentModel.Composition;
3+
using XElement.CloudSyncHelper.Serialization.DataTypes;
4+
using XElement.DotNet.System.Environment;
25

36
namespace XElement.CloudSyncHelper.DataCreator.Data.Games
47
{
@@ -15,9 +18,25 @@ public CodMw3() : base( "5015F2D9-3547-4958-8CBE-CDF8E91B43A1" )
1518
}
1619

1720

21+
// TODO: Include
22+
private List<AbstractLinkInfo> GetLinksForWin10()
23+
{
24+
/*
25+
* Location: <install-folder>\players2\save\
26+
* ↑ folder link to "save" folder
27+
* see https://pcgamingwiki.com/wiki/Call_of_Duty:_Modern_Warfare_3
28+
*/
29+
return new List<AbstractLinkInfo>();
30+
}
31+
32+
1833
protected override void OnImportsSatisfied()
1934
{
20-
this.DefinitionInfo = this._definitionFactory.GetSteamCloud();
35+
var osConfigs = new List<OsConfigurationInfo>
36+
{
37+
this._osConfigFactory.Get( this.GetLinksForWin10(), OsId.Win10 )
38+
};
39+
this.DefinitionInfo = this._definitionFactory.Get( osConfigs );
2140
return;
2241
}
2342
}

deployment/CloudSyncHelper.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@
2424
<IsSteamCloudSupported value="true" />
2525
</Game>
2626
<Game ApplicationName="Call of Duty: Modern Warfare 3" FolderName="Call of Duty 2011 [Call of Duty_ Modern Warfare 3]" Id="5015f2d9-3547-4958-8cbe-cdf8e91b43a1" TechNameMatcher="Call of Duty: Modern Warfare 3">
27-
<IsSteamCloudSupported value="true" />
27+
<OsConfig author="XElement" name="default" os="Win10">
28+
<Links />
29+
</OsConfig>
30+
<IsSteamCloudSupported value="false" />
2831
</Game>
2932
<Game ApplicationName="Dungeon of the Endless" FolderName="Endless 2014 [Dungeon of the Endless]" Id="50a14f8b-52cc-4cbd-8108-c94586de621f" TechNameMatcher="Dungeon of the Endless">
3033
<IsSteamCloudSupported value="true" />

0 commit comments

Comments
 (0)