Skip to content

Commit

Permalink
Support CS7
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyw15 committed Nov 26, 2024
1 parent c9dca2e commit e0a88bc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
10 changes: 6 additions & 4 deletions CeVIOActivator.CLI/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using CeVIOActivator.Core;
using System;
using System;

using CeVIOActivator.Core;

namespace CeVIOActivator.CLI
{
Expand Down Expand Up @@ -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...");
Expand Down
2 changes: 1 addition & 1 deletion CeVIOActivator.Core/Patches/BypassCheck.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace CeVIOActivator.Core.Patches
/// </summary>
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";

Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e0a88bc

Please sign in to comment.