fifty-six / Scarab

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

native linux GOG version requires manually renaming Assembly-CSharp.dll #220

Open binomial0 opened 2 months ago

binomial0 commented 2 months ago

Scarab Version

2.5.0.0

Hollow Knight Version

1.5.78.11833

Steps to Reproduce

Be on Steam Deck, install the GOG version via the manual installer (not GOG Galaxy) choosing the default options. Try starting HK, it works normally. Install Scarab, which will not find the installation automatically. Select the installation folder.

Expected Behaviour

Scarab accepting the installation folder

Actual Behaviour

Scarab complains that Assembly-CSharp.dll is missing. In fact, in that folder, there is a file named Assembly-CSharp.dll.m for whatever reason (maybe a quirk of the GOG linux version?)

Renaming that file to Assembly-CSharp.dll keeps the installation intact (it still launches normally). Restarting Scarab and trying this again makes it work, and I can install mods now, and the game launches successfully.

Logs

https://pastebin.com/csRQj5nk

fifty-six commented 2 months ago

Did you happen to ever use another mod installer of any sort before this? Or have used Scarab previously or similar? Assembly-CSharp.dll.m is what Scarab renames Assembly-CSharp.dll to after the API is installed but then disabled. Conversely, when the API is installed and enabled, you'll see an Assembly-CSharp.dll.v (v for vanilla).

For reference, I did try reinstalling the game off GOG and it worked fine - though I had to select the "game" folder under Hollow Knight