fifty-six / Scarab

An installer for Hollow Knight mods written in Avalonia.
GNU General Public License v3.0
577 stars 157 forks source link

can't disable api #182

Open paul0728 opened 11 months ago

paul0728 commented 11 months ago

Scarab Version

v1.34.0.0

Hollow Knight Version

v1.5.78.11833

Steps to Reproduce

When I press the "Disable API" button in the bottom left corner of the scarab interface, it doesn't work. It still shows that the mod is loaded in the top left corner of the main game screen.

Expected Behaviour

Disable all mod and api

Actual Behaviour

do nothing

Logs

ModLog.txt

Hanzerx commented 11 months ago

I have the same problem. :/

fifty-six commented 11 months ago

Could either/both of you provide the Modinstaller.log? ModLog is more for diagnosing issues with the game mods, not the installer itself.

ForgottenIce commented 7 months ago

I found the problem but not the cause. Assembly-CSharp.dll and Assembly-CSharp.dll.m had the same checksum, meaning that both were the same file. So it would essentially just swap between the same modded dlls. My theory is that I updated Scarab at some point and it lost track of which Assembly-CSharp.dll was the vanilla and which one was the modded one.

The fix:

  1. Disable the modding api in Scarab.
  2. Verify the integrity of game files of Hollow Knight in Steam.

Afterwards, the api toggle works as intended.