#Scarab+ Not Launching

42 messages · Page 1 of 1 (latest)

honest magnet
#

When I downloaded Scarab+ 2.1.0.1, and launched, the process appeared in process hacker, and then soon stopped. Running as administrator didn't help. Restarting laptop and trying again didn't help.

Scarab+ 2.0.0.0, when reinstalled, now starts to Not Respond if I choose to proceed without updating it.

I'm on windows, hk is on steam.

fast dawn
#

Are you on Windows (I assume so, but just checking)

#

Assuming that you are, can you

  • Close all instances of Scarab
  • Open the most recent version of Scarab+ ( https://themulhima.github.io/Scarab?download if you already deleted it or anything)
  • After it stops running, go to this directory %appdata%/../Roaming\HKModInstaller (you can just copy and paste that exactly into an Explorer window, or using Run with WindowsKey + R)
  • Grab the most recent log files, and drag-and-drop them here (ModInstaller.log and at least the most recent ModInstaller_Error)
honest magnet
#

I can't find ModInstaller_Error

keen prism
keen prism
#

@ python wizard do you have dnspy or fsm viewer open while downloading mods?
I'm seeing alot of errors like
Scarab Error: 0 : System.IO.IOException: The requested operation cannot be performed on a file with a user-mapped section open. : 'C:\Program Files (x86)\Steam\steamapps\common\Hollow Knight\hollow_knight_Data\Managed\mscorlib.dll'
Although it isnt related to your crash, closing those would avoid downloading errors like these.
FsmViewer does lock access to mscorlib when running. idk if dnspy does the same but doesnt hurt to close

#

Other than that error i dont see any error that was logged that could cause a crash. What OS and OS Version are you on? and whats process hacker?

honest magnet
#

Windows 10

#

Process Hacker is like task manager just better

#

I don't have fsm viewer open

#

For clarity, the scarab doesn't show up at all o nthe screen, I only notice that it launches and crashes through looking at processes with Process Hacker

keen prism
#

I'm sorry idk whats wrong

honest magnet
#

grubsad alr, no worries grublove

fast dawn
#

You might want to launch it from terminal so that it pauses.
I can't get the command this moment, but you can lookup how to do that, or I can give you a command when I am home tonight

keen prism
#

to launch from terminal don't you just type out the exe name?

fast dawn
#

Yes, but I don't remember the argument to have it pause before closing

#

You can open the Explorer folder, then just type CMD into the directory bar, which opens the terminal in the correct folder

fast dawn
#

@honest magnet Okay, so like I mentioned above, you can open a Command Prompt in the folder that you have Scarab+

Then in the window, enter cmd /k Scarab.exe

This should launch Scarab+, and if it crashes then it should give you more information that you can copy and paste here

honest magnet
#

this is all that pops up once I type the command and press enter
(Am also including the file folder, this was the folder I previously used for normal scarab)

fast dawn
#

Interesting palehmm
I'm used to all as apps putting some kind of starting information when launched from CMD, but ig S+ doesn't.

@keen prism would that be something that you can add to a debugging build or something?
This method is how I normally test apps that crash on launch

keen prism
#

Would that be any help tho? This is likely an avalonia crash which I'm not in a position to debug and fix. Probably our best bet is to wait for avalonia 11 full release where it's probably less buggy

gritty comet
#

i was also having issues with scarab+ not launching, i just deleted the ModInstaller.log file in HKModInstaller folder and that for whatever reason fixed the issue

honest magnet
#

If this works this will be so funny

#

Lmao it did

#

Thanks Priidik grublove

fast dawn
#

why does that work‽

keen prism
#

that is something

#

i really should try catch that

#

locking modinstaller.log doesnt stop scarab from opening

#

i am very confused

fast dawn
#

Is it a size issue?
Like, is it getting too big?

#

Like, as you mentioned, it was a really big log

keen prism
#

so in v2.1.0.1 it tries to move a bug log file maybe thats whats failing

#

and when they downloaded v2 they probably encountered the checkapi spinlock

#

it fits theor original report

keen prism
#

and makes new file

gritty comet
#

truly a problem fix of all time