Пример #1
0
        void LoadManifest()
        {
            var configPath =
                InstallBase.GetChildDirectoryWithName("SteamApps").GetChildFileWithName("appmanifest_" + AppId + ".acf");

            AppManifest = KeyValueHelper.LoadFromFile(configPath);
        }
Пример #2
0
        KeyValue ReadSteamConfig()
        {
            if ((_steamPath == null) || !_steamPath.Exists)
            {
                return(null);
            }

            var steamConfigPath = _steamPath.GetChildDirectoryWithName("config").GetChildFileWithName("config.vdf");

            return(steamConfigPath.Exists
                ? KeyValueHelper.LoadFromFile(steamConfigPath)
                : null);
        }