Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConsolidateManifests ¶
ConsolidateManifests copies/moves appmanifest and .manifest files into <GameDir>/[Manifests]/. If a legacy [Steam] folder exists, its contents are migrated into [Manifests] and [Steam] is removed. If promoteFolder is true and the game is inside a raw steamapps/common layout, it moves the game folder up to the main parent directory and cleans up steamapps/depotcache.
Types ¶
type ACFData ¶
type ACFData struct {
AppID string
Name string
InstallDir string
BuildID string
Language string
LaunchOptions []LaunchCandidate
}
ACFData represents extracted metadata from a Steam appmanifest_<appid>.acf file.
func ParseACFFile ¶
ParseACFFile opens and parses an ACF manifest file from disk.
type GameInfo ¶
type GameInfo struct {
AppID string
Name string
Platform string // "linux", "win64", "win32"
GameDir string // Primary root directory of the game
ExePath string // Path to the main executable
ExeArgs string // Command line arguments for launch
TargetLibPath string // Path to steam_api library
ManifestPath string // Path to appmanifest_<appid>.acf
RawDepotLayout bool // True if raw steamapps/common/... structure
LaunchCandidates []LaunchCandidate
}
GameInfo represents auto-detected metadata and paths for a game directory.
Click to show internal directories.
Click to hide internal directories.