CollapseLauncher / Collapse

An Advanced Launcher for miHoYo/HoYoverse Games
MIT License
1.36k stars 64 forks source link

[Bug]: Honkai Impact 3rd • Anti-Cheat Error #357

Closed exterpolation closed 7 months ago

exterpolation commented 8 months ago

Affected Version

Collapse 1.72.14-PRE and Previous

Bug Behavior

DxDiag.txt log-2024-01-06-pre1.72.14-id1.log

Once the game it launches, the game freezes for a split second in the "Warning" Screen, then the game closes itself and throws a "Warning (13, 131083, 140)" Window, the installation folder was the same as the official launcher, where it behaves normally.

Expected Behavior

To run the game as if it was launcher through the official launcher.

Steps to reproduce

[1] Switch to Honkai Impact 3d (Global) [2] Launch the game

Related Issues

No response

Screenshot(s)

Image of the Warning Window

Additional Information

No response

Cryotechnic commented 8 months ago

This can sometimes be caused by the "Core Isolation" feature being enabled in Windows Security, which causes the anti-cheat to fail to initialize properly. Please try to disable "Core Isolation" and see if it resolves the issue.

Should that not solve the issue, please make sure that you have a stable internet connection and, if using a VPN, that it is connected to a node in a supported country for the region you are trying to connect to.

Do let us know if that resolves the issue, thanks for using Collapse!

exterpolation commented 8 months ago

I've tried turning off Core Isolation (Checked and it was already off) and it was still the same

As for the connection I have a stable ethernet port (200mbps) without using any VPNs, didnt really change much

bagusnl commented 8 months ago

can you try launching the game by running the BH3.exe file directly once and go to the main screen then close it and try again using Collapse?

bagusnl commented 8 months ago

Oh, I have noticed this on your dxdiag log

------------
DxDiag Notes
------------
      Display Tab 1: The file C:\Windows\System32\DriverStore\FileRepository\nvaeig.inf_amd64_ae0e4b8fa6a17cef\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nvaeig.inf_amd64_ae0e4b8fa6a17cef\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nvaeig.inf_amd64_ae0e4b8fa6a17cef\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nvaeig.inf_amd64_ae0e4b8fa6a17cef\nvldumdx.dll is not digitally signed, which means that it has not been tested by Microsoft's Windows Hardware Quality Labs (WHQL).  You may be able to get a WHQL logo'd driver from the hardware manufacturer.
      Display Tab 2: The file C:\Windows\System32\DriverStore\FileRepository\nvaeig.inf_amd64_ae0e4b8fa6a17cef\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nvaeig.inf_amd64_ae0e4b8fa6a17cef\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nvaeig.inf_amd64_ae0e4b8fa6a17cef\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nvaeig.inf_amd64_ae0e4b8fa6a17cef\nvldumdx.dll is not digitally signed, which means that it has not been tested by Microsoft's Windows Hardware Quality Labs (WHQL).  You may be able to get a WHQL logo'd driver from the hardware manufacturer.

You might want to reinstall your GPU driver by firstly uninstalling it completely using DDU. https://www.wagnardsoft.com/content/Display-Driver-Uninstaller-DDU-V18070-Released

exterpolation commented 8 months ago

I'll try it out soon, but why does it work on the official launcher instead of collapse?

exterpolation commented 8 months ago

By the way, they're not signed as i used NVTrimmer to remove telemetry and useless features from NVIDIAs latest drivers

exterpolation commented 8 months ago

Tried DDU, nothing really changed

bagusnl commented 8 months ago

can you try to run the Collapse from this build and test it out? https://github.com/CollapseLauncher/Collapse/actions/runs/7269824437 This one is old build, so don't replace your current installation with it, just extract it anywhere and launch CollapseLauncher.exe and try if it works

exterpolation commented 8 months ago

Nope, same error, same behaviour

bagusnl commented 8 months ago

This is quite weird because that commit has the old way of running the games which might ignores some rouge executables on the game directory.

Can you do this command in CMD on the directory of your HI3 install? tree /F /A >HI3_Tree.txt

Then upload the HI3_Tree.txt file here

exterpolation commented 8 months ago

[DELETED FOR PRIVACY]

Here you go, done it

Edit by @bagusnl The file provided was a tree to the User's folder, not the game folder, as it might contains personal files, it is deleted. Will provide a better guide in a sec

bagusnl commented 8 months ago

Tree_Guide Sorry for not being clear on the guide to get the file tree, here hopely is

exterpolation commented 8 months ago

HI3_Tree.txt

Here's the actual one, lol i shouldve actually done "cd 'honkai path folder'" before running tree

BobbyWibowo commented 8 months ago

I'm also getting this today, but it also happens even when I launch the game normally with the game's original launcher. Even with Collapse Launcher confirmed not running in the background.

Also, unlike OP's implication that the anti-cheat error would trigger immediately, it'd only happen to me about 5 minutes after the game launched. Sorta implying that it'd only trigger awhile after the game's anti-cheat has found something in my files, as opposed to finding certain running background processes.


This can sometimes be caused by the "Core Isolation" feature being enabled in Windows Security, which causes the anti-cheat to fail to initialize properly. Please try to disable "Core Isolation" and see if it resolves the issue.

I do have Core Isolation + Memory Integrity enabled, but that was a concious choice that I did quite a long while ago. Thus meaning I've played the game all these times with no issues, so I'm still finding the whole situation somewhat confusing..

BobbyWibowo commented 8 months ago

Can confirm that on my case this had nothing to do with Collapse Launcher.

As I did some investigation, I found this random reddit thread, https://www.reddit.com/r/houkai3rd/comments/rj058b/comment/hp7728e/. Though their case was a bit more extreme since it caused a hard OS crash instead. But anyways, the OP speculated that it had something to do with USB erroring out, and Honkai's AC in particular not liking that.

That train of thought got me thinking as to whether anything was different with the state of my plugged USB devices on that particular moment, and I found that I did have a USB bluetooth dongle connected for a pair of Logitech keyboard+mouse, that happened to turned-off. I disconnected it and rebooted my PC, and the game continued to run normally ever since, even when launched via Collapse Launcher.

Perhaps the fact that the keyboard+mouse were turned-off, caused the dongle to continuously ping or whatever, and was then logging errors and whatever else? And maybe Honkai's AC just didn't like that? Could also be something that got fixed by the mere fact that I rebooted my PC. Unsure. It'll forever remain a mystery lmao

bagusnl commented 8 months ago

HI3_Tree.txt

Here's the actual one, lol i shouldve actually done "cd 'honkai path folder'" before running tree

There doesn't seem to be any rouge dll/exe around so your installation is fine.

Though as @BobbyWibowo stated, can you try running the game with minimal USB devices plugged in (only the necessary ones to run the game like mouse+keyboard, then restart the system) ?

exterpolation commented 8 months ago

Tried it, yet nothing changed again. Weird stuff since the official launcher works as normally.

Another thing that i have noticed (which is minor) i can tell that the game is not gonna launch because the custom cursor you have inside honkai wont load, while when the game launcher perfectly it does load

Cactism commented 8 months ago

Is it possible that you both have a different anti-cheat interfering with Honkai Impact's one? For example, from my time lurking in the Honkai Impact 3rd Discord's technical-help channel, I've heard (please join the HI3 Discord server to see this message) that Riot Vanguard may not allow HI3 to initialize their anti-cheat.

Try closing every single program you can in the system tray (the bottom right of your task bar) and/or every non-essential process via the Task Manager and see if that fixes the issue.

exterpolation commented 8 months ago

Is it possible that you both have a different anti-cheat interfering with Honkai Impact's one? For example, from my time lurking in the Honkai Impact 3rd Discord's technical-help channel, I've heard (please join the HI3 Discord server to see this message) that Riot Vanguard may not allow HI3 to initialize their anti-cheat.

Try closing every single program you can in the system tray (the bottom right of your task bar) and/or every non-essential process via the Task Manager and see if that fixes the issue.

Now that i think about it, I do have Valorant installed, alas Vanguard running. I'll try your fix once i'm home, thanks btw

exterpolation commented 7 months ago

Forgot to reply, but no, nothing has changed