fifty-six / Scarab

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

An exception occurred while installing or uninstalling #142

Closed shadowibm closed 1 year ago

shadowibm commented 1 year ago

Scarab Version

v1.31.0.0

Hollow Knight Version

v1.5.78.11833

Steps to Reproduce

When tried to download a mod, shows "An exception occurred while installing or uninstalling X", then Hollow Knight stops working and I need to verify the game integrity for it to work again. imagen_2023-03-23_131620648

Expected Behaviour

I downloaded Scarab normally so I was hoping for it to work properly.

Actual Behaviour

It wont let me download mods and it breaks the game.

Logs

ModInstaller.log image

EnoliDev commented 1 year ago

Try running it in admin mode. I had the same issue and admin mode fixed it.

shadowibm commented 1 year ago

Doesn't works for me

fifty-six commented 1 year ago

Could you try deleting 'Assembly-CSharp.dll.v'?

shadowibm commented 1 year ago

It creates it again when I click on Install on any mod, and the error persists

fifty-six commented 1 year ago

Could I have the log after that?

shadowibm commented 1 year ago

Sure ModInstaller.log

fifty-six commented 1 year ago

You didn't have Assembly-CSharp.dll, Assembly-CSharp.dll.v, and Assembly-CSharp.dll.m when launching right? What should be happening is that it should detect a lack of all 3 and install the API to make up for it, but instead it's just treating it as if nothing is off at all. Could you verify your game integrity and then hit change path and re-select your hollow knight path? That should fix it, though even if it does I'll probably add more safeguards for this case

shadowibm commented 1 year ago

Done! It worked, thank you so much Ive been trying things since like for 5 days