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

Commit 75ae6c7

Browse files
committed
the Steam Cloud config for "Starbound" does not work: the actual data seems to be inside the install folder
1 parent e8f19b0 commit 75ae6c7

File tree

2 files changed

+28
-3
lines changed

2 files changed

+28
-3
lines changed

DataCreator/DataCreator/Data/Games/Starbound.cs

Lines changed: 24 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,28 @@ public Starbound() : base( "E33D0478-9ABC-49DC-9FA0-C9312BC5CF91" )
1518
}
1619

1720

21+
// TODO: Include
22+
private List<AbstractLinkInfo> GetLinksForWin10()
23+
{
24+
/*
25+
* Locations:
26+
* 1) <install-folder>\storage\player\
27+
* ↑ folder link to "player" folder
28+
* 2) <install-folder>\storage\universe\
29+
* ↑ folder link to "universe" folder
30+
* see https://pcgamingwiki.com/wiki/Starbound
31+
*/
32+
return new List<AbstractLinkInfo>();
33+
}
34+
35+
1836
protected override void OnImportsSatisfied()
1937
{
20-
this.DefinitionInfo = this._definitionFactory.GetSteamCloud();
38+
var osConfigs = new List<OsConfigurationInfo>
39+
{
40+
this._osConfigFactory.Get( this.GetLinksForWin10(), OsId.Win10 )
41+
};
42+
this.DefinitionInfo = this._definitionFactory.Get( osConfigs );
2143
return;
2244
}
2345
}

deployment/CloudSyncHelper.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,10 @@
107107
<IsSteamCloudSupported value="false" />
108108
</Game>
109109
<Game ApplicationName="Starbound" FolderName="Starbound 2013 [Starbound]" Id="e33d0478-9abc-49dc-9fa0-c9312bc5cf91" TechNameMatcher="Starbound">
110-
<IsSteamCloudSupported value="true" />
110+
<OsConfig author="XElement" name="default" os="Win10">
111+
<Links />
112+
</OsConfig>
113+
<IsSteamCloudSupported value="false" />
111114
</Game>
112115
<Game ApplicationName="Owlboy" FolderName="Owlboy 2016 [Owlboy]" Id="3b69007d-6eb1-423d-9a56-8fe7c5bac404" TechNameMatcher="Owlboy">
113116
<IsSteamCloudSupported value="true" />

0 commit comments

Comments
 (0)