BuIlDaLiBlE / BetterHI3Launcher

A much better Honkai Impact 3rd launcher.
The Unlicense
102 stars 21 forks source link

Error dialog on launch after first install #31

Closed Xpl0itR closed 2 years ago

Xpl0itR commented 2 years ago

Describe the bug After using this launcher (on a clean install with no previous Honkai version) to download honkai, I clicked the Launch button. Instead of the game starting, i got a dialog with the error (21, 40007, 3)

To Reproduce Steps to reproduce the behavior:

  1. Download game
  2. Click on Launch
  3. Error pops up

Expected behavior Game should start

Log

BetterHI3Launcher v1.2.20210921.0
Working directory: C:\Users\Xpl0itR\Downloads\
OS version: Windows 10 Pro (Version 21H2, Build 22000.258)
OS language: en-GB
Launcher language: en (autodetect)
Using server: Global
Using mirror: Google Drive
Checking for game update...
Game version: 5.1.0
Game directory: C:\Program Files\Honkai Impact 3rd

The OS version is identified as windows 10, but im using windows 11

Screenshots image

Xpl0itR commented 2 years ago

I've since realised that this is not an issue caused by the launcher. For anyone coming across this, the error is caused by miHoYo's trash anti-cheat conflicting with Windows' Core Isolation Memory Integrity feature. To fix this error either disable memory integrity in settings or set the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity registry key to 0