Skip to content

[Feature]: Add a feature flag to tell the game whether to change affinity #3437

@Garanas

Description

@Garanas

Is your feature request related to a problem?

For some streamers the affinity settings that are applied for all players can have negative consequences. It would therefore be good to give people the ability to toggle it off.

Describe the solution you'd like

Add a boolean field called ForceAffinity to the fa_path.lua file that we can use as a check in the init files. The file fa_path.lua is populated by the client when the game is launched. The file is read by the init files. This way we can use it as a toggle.

Other fields that are populated by the client are:

fa_path = "D:/SteamLibrary/steamapps/common/Supreme Commander Forged Alliance"
custom_vault_path = "D:/faf-vault"
GameType = "faf"
GameVersion = "3828"
ClientVersion = "2025.9.2"

Describe alternatives you've considered

There's no alternative. We either have this enabled for all players or disabled for all players at this moment.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions