From e0a88bcb4d870c90e189b9e1001eae949c010d18 Mon Sep 17 00:00:00 2001 From: wangyw15 Date: Wed, 27 Nov 2024 00:25:31 +0800 Subject: [PATCH] Support CS7 --- CeVIOActivator.CLI/Program.cs | 10 ++++++---- CeVIOActivator.Core/Patches/BypassCheck.cs | 2 +- README.md | 6 +++++- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/CeVIOActivator.CLI/Program.cs b/CeVIOActivator.CLI/Program.cs index a1f5d01..6363463 100644 --- a/CeVIOActivator.CLI/Program.cs +++ b/CeVIOActivator.CLI/Program.cs @@ -1,5 +1,6 @@ -using CeVIOActivator.Core; -using System; +using System; + +using CeVIOActivator.Core; namespace CeVIOActivator.CLI { @@ -43,13 +44,14 @@ static void Main(string[] args) } } + Console.WriteLine(); + var installFolder = CeVIOHelper.GetCeVIOAIInstallFolder(version); var executablePath = CeVIOHelper.GetCeVIOAIExecutable(version); if (string.IsNullOrEmpty(executablePath)) { - Console.Write("CeVIO AI.exe not found, please specify the file: "); - executablePath = (Console.ReadLine() ?? "").Replace("\"", ""); + Console.Write("CeVIO executable not found, program exit..."); } Console.WriteLine("Start patching..."); diff --git a/CeVIOActivator.Core/Patches/BypassCheck.cs b/CeVIOActivator.Core/Patches/BypassCheck.cs index da2a389..478e6ac 100644 --- a/CeVIOActivator.Core/Patches/BypassCheck.cs +++ b/CeVIOActivator.Core/Patches/BypassCheck.cs @@ -10,7 +10,7 @@ namespace CeVIOActivator.Core.Patches /// internal class Talk_LocalPermission_Assert_Patch : ICeVIOMethodPatch { - public CeVIOVersion TargetVersion => CeVIOVersion.AI; + public CeVIOVersion TargetVersion => CeVIOVersion.AI | CeVIOVersion.CS7; public string TargetAssembly => "CeVIO.Talk.dll"; diff --git a/README.md b/README.md index cf76b8a..eb8124a 100644 --- a/README.md +++ b/README.md @@ -13,4 +13,8 @@ No need to re-run the patch after installing new voicebanks - [x] No need to re-activate annually (change `CeVIO.Editor.MissionAssistant.ProductLicense.OfflineAcceptablePeriod`) - [x] Remove the warning - [x] Without re-running the patch after installing new voicebanks -- [ ] Add support for CS version +- [ ] Add support for all CS version + - [x] CS7 tested + - [ ] CS6 tested + - [ ] CSS tested + - [ ] CS tested