Kerr1291 / EnemyRandomizer

Enemy Randomizer mod for Hollow Knight
MIT License
12 stars 14 forks source link

Segmentation fault on game startup #38

Open raxod502 opened 10 months ago

raxod502 commented 10 months ago

Hi, I noticed that when enabling Enemy Randomizer 2023.0.8580.23150 through Scarab 2.5.0.0 on Pop!_OS 22.04, Hollow Knight 1.5.78.11833 (installed via lgogdownloader) segfaults on start:

% ./start.sh
Running Hollow Knight
Set current directory to /home/raxod502/GOG Games/Hollow Knight/game
Found path: /home/raxod502/GOG Games/Hollow Knight/game/Hollow Knight
Loading in SingleInstance mode
./start.sh: line 16: 270220 Segmentation fault      (core dumped) ./"Hollow Knight"

No segfault with Enemy Randomizer disabled, even with the dependency Satchel 0.8.12.0 still enabled, and also no issues when I installed Randomizer 4.1.3.0 and its dependencies, though the segfault reproduces with no mods enabled other than Enemy Randomizer and Satchel. Didn't see any hits for segmentation on the GitHub trackers for Scarab or Enemy Randomizer.

I saw some recommendations for Lumafly on the Hollow Knight modding Discord server, so I tried it out. Unfortunately, same behavior on all accounts with Lumafly 3.2.0.0 vs Scarab 2.5.0.0.

I see this in ModLog.txt:

[WARN]:[API] - Could not find object "Health Scuttler" in scene "Tutorial_01", requested by mod `Enemy Randomizer`
[WARN]:[API] - Could not find object "Colosseum_Worm" in scene "Room_Colosseum_Silver", requested by mod `Enemy Randomizer`
[WARN]:[API] - Could not find object "Grub Mimic" in scene "Room_Colosseum_Silver", requested by mod `Enemy Randomizer`
[WARN]:[API] - Could not find object "Giant Fly Col" in scene "Room_Colosseum_Silver", requested by mod `Enemy Randomizer`
[WARN]:[API] - Could not find object "Grub Mimic Bottle" in scene "Room_Colosseum_Silver", requested by mod `Enemy Randomizer`
[WARN]:[API] - Could not find object "Mace Head Bug" in scene "Crossroads_10_boss", requested by mod `Enemy Randomizer`

I've also reached out to the Hollow Knight community Discord server (#modding-help) and the modding Discord server (#enemy-rando) and will cross-post any findings between the locations for future visitors' reference.