public static string GetBaseInstallPath(GameHandlerBaseMetadata metadata) { string installed = GameManager.Instance.GetInstalledPackagePath(); string installedName = GetPackageFileName(metadata); return(Path.Combine(installed, installedName)); }
public static string GetPackageFileName(GameHandlerBaseMetadata metadata) { return($"{metadata.GameID}-{metadata.ExeName}-{metadata.HandlerID}-V{metadata.V}N{metadata.PlatV}"); }
public GameHandlerMetadata GetInstalledHandlerMetadata(string repoId, GameHandlerBaseMetadata info) { return(GetInstalledHandlerMetadata(repoId, info.HandlerID, info.GameID)); }