Skip to content

Commit

Permalink
Add SteamId to Profile ready for future Steam support
Browse files Browse the repository at this point in the history
  • Loading branch information
paulov-t committed Feb 11, 2023
1 parent f900a5b commit 4959cff
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
5 changes: 2 additions & 3 deletions Libraries/FrostySdk/FrostbiteProfiles/FIFA21Profile.json
Expand Up @@ -75,7 +75,6 @@
// Custom .cache file Reader - Write these exclusively (example - Madden22CacheReader)
"CacheReader": "Fifa21CacheReader",
"GameIdentifier": 195853,
"EADesktopCommandLineSetting": "user.gamecommandline.origin.ofr.50.0004195"


"EADesktopCommandLineSetting": "user.gamecommandline.origin.ofr.50.0004195",
"SteamId": "1313860"
}
3 changes: 2 additions & 1 deletion Libraries/FrostySdk/FrostbiteProfiles/FIFA22Profile.json
Expand Up @@ -82,6 +82,7 @@
"CanUseModData": true,
"ForceUseModData": true,
"GameIdentifier": 196837,
"EADesktopCommandLineSetting": "user.gamecommandline.origin.ofr.50.0004566"
"EADesktopCommandLineSetting": "user.gamecommandline.origin.ofr.50.0004566",
"SteamId": "1506830"

}
3 changes: 2 additions & 1 deletion Libraries/FrostySdk/FrostbiteProfiles/FIFA23Profile.json
Expand Up @@ -79,6 +79,7 @@
"SupportLowMemoryFootprint": true,
"GameIdentifier": 16115019,
"UseACBypass": false, // Can only be used with TU2 or below
"EADesktopCommandLineSetting": "user.gamecommandline.origin.ofr.50.0004970"
"EADesktopCommandLineSetting": "user.gamecommandline.origin.ofr.50.0004970",
"SteamId": "1811260"

}
7 changes: 6 additions & 1 deletion Libraries/FrostySdk/FrostySdk/ProfileManager.cs
Expand Up @@ -205,6 +205,8 @@ public bool CanExportMeshes
public bool UseACBypass { get; set; }

public string EADesktopCommandLineSetting { get; set; }

public string SteamId { get; set; }
}
public static string GetModProfileParentDirectoryPath()
{
Expand Down Expand Up @@ -267,7 +269,10 @@ public static string ApplicationDirectory
[SupportedOSPlatform("windows")]
public static Profile LoadedProfile;

private static string DeobfuscatorNamespace = typeof(NullDeobfuscator).Namespace;
[SupportedOSPlatform("windows")]
public static Profile Instance { get { return LoadedProfile; } }

private static string DeobfuscatorNamespace = typeof(NullDeobfuscator).Namespace;

private static string AssetLoaderNamespace = typeof(AssetManager).FullName;

Expand Down

0 comments on commit 4959cff

Please sign in to comment.