srctools.game
Reads the GameInfo file to determine where Source game data is stored.
- class srctools.game.Game(path: str | Path, encoding: str = 'utf8')
Represents the data in GameInfo.
- strata_mounts: list[Keyvalues]
Mount configurations used in Strata Source. Allows loading searchpaths from other games, based on appid.
- parse_strata_mounts() tuple[list[Path], list[Path]]
Parses the mounts in self.strata_mounts and returns two lists of paths. The first should take priority over gameinfo, the second comes after.
- get_filesystem() FileSystemChain
Build a chained filesystem from the search paths.