Example #1
0
        public static string GetBaseInstallPath(GameHandlerBaseMetadata metadata)
        {
            string installed     = GameManager.Instance.GetInstalledPackagePath();
            string installedName = GetPackageFileName(metadata);

            return(Path.Combine(installed, installedName));
        }
Example #2
0
 public static string GetPackageFileName(GameHandlerBaseMetadata metadata)
 {
     return($"{metadata.GameID}-{metadata.ExeName}-{metadata.HandlerID}-V{metadata.V}N{metadata.PlatV}");
 }
Example #3
0
 public GameHandlerMetadata GetInstalledHandlerMetadata(string repoId, GameHandlerBaseMetadata info)
 {
     return(GetInstalledHandlerMetadata(repoId, info.HandlerID, info.GameID));
 }