-
-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Granblue Relink: User is stuck after loader successfully loads in its entirety] #323
Comments
I seriously need to buy this game and see what happens here. This is strange. |
I also have the same problem |
Would you be able to provide more information about your system? This is also strange, in that I've never seen the modloader fully initialize before, but the end user be stuck. Things that come to mind:
etc. Anything that would be useful in trying to replicate your setup. |
What information do you need to help? I'll go get it. |
Anything that
Anything that falls under the above @basterzero |
im having the same problem now. |
Normally this is printed while loading a code mod. What's your enabled mod list? |
Enabled mod list doesnt matter. Game won't start even if I only enable the GBFR mod manager. |
My concern was maybe there was a deadlock in the mod itself, causing it to get stuck on boot; since I only print when mods actually finish loading, not when they start. Does it happen without any mods enabled at all? |
It won't happen without any mod. However, all my mods are loaded even I disabled all of them. |
Is the problem specific to GBFR ModManager mod then? Try loading something generic like 'Reloaded File Monitor', I presume that works OK? |
it works OK |
I'll look in ModManager mod source code then, to see if anything stands out. Gimme a while, I gotta finish up some unrelated work |
Actully it doesn't work as expected. |
Hmm, weird, gimme a while, I'll be back later. Will build some debug versions of mods. |
Yes, exactly what you say. |
I could probably try debugging it myself but I'd suggest asking the current project maintainer ( @Nenkai ) in case this is a common situation / known problem. It seems that utility manager is stuck deadlocked on boot. |
I've seen this problem very rarely from various people, but never personally Maybe it is stuck during the loader's logic somewhere, but I wouldn't know where without an exact setup to reproduce |
I'd usually try doing the following:
If nothing else, just add log lines all over the place and grab someone who's affected by the issue. Should make things easier. |
Apologies for the very delayed reply, As far as I know we are not using any async code here but i've added further logging in the newest version to at least know whether the loader's entrypoint is even being hit - every errornous phase should've already been logged before this though, maybe third party lib code deadlocking, hard to tell. Thanks for the suggestions! |
I am facing the same issue but with a slight difference. But if I start the game directly from steam, the Reload terminal will appear and finish the loading stage without any exception, and then every mod works normally. |
[Should I try to reproduce and fix this myself? I did buy the game from my own pocket to fixu another issue a while back.] |
The latest version of the manager now has a log at StartEx. If anyone who still has this issue could report if that's it's at least printed, it'd be appreciated For the past few weeks I haven't seen anyone reporting issues at all at least. |
I'm still having the same issue. It stuck after showing following message. |
@nukieberry by 'log' they meant a print out to the log file. It's the one you see at the top of your log snippet. |
In any case. This doesn't seem to make any sense. Between this printout and what should be the next one, only the config file should be accessed. It's really strange that a deadlock happens here; I've never seen that happen before. |
It worked fine after game version 1.3.1. Deadlock happened when I upgraded Reloaded from 1.27.8 to 1.27.10 and added a few new mods yesterday. Same as people mentioned above, the game can only boot up when all mods are crossed out in Reloaded, and it still has the old mods taking effect whatsoever. I'm trying a clean reinstallation now. |
There's no changes in the loader between those versions. It's a bugfix in launcher and improved accessibility in launcher for people with impaired eyesight.
I've actually brought this up to @WistfulHopes in the past. You really shouldn't be modifying any game files from Reloaded mods, it's a big no-no. Instead hook NtCreateFile to redirect the file to your own, or hook whatever part of game code opens the file. either-or. If anything I'm confused why the log stopped there. The mod isn't doing anything substantial other than loading a config file. Yet, it freezes up. |
gbfrelink.utility.manager.zip I built a copy with some more print statements myself. |
I didn't manually modify any files in Reloaded or game folder. But hold on, relevant or not, I did drag a newer version of a mod into Reloaded. Two entries with same name appeared in the mod list for a while until I restarted Reloaded. |
Clean reinstallation of game and Reloaded. Added back the mods. Click Launch to get the mod manager. Replaced files in Mods/gbfrelink.utility.manager/. Launch Application clicked again. This is what I get at this point. Update: It does not change after putting these two back. |
By all accounts it's probably softlocking trying to read config file. Wow, I've never really seen that before. I'm probably gonna fall asleep by the time I next touch my PC, so I'll ping @Nenkai in case they feel like debugging. If not, I'll try debugging this with you hopefully when I wake up. |
Here, see what this logs. (I couldn't sleep 😅) |
@nukieberry I wonder if it's getting stuck reading config somehow. |
If I disable config live update, does it then work? Normally this shouldn't lock up, I'm not sure why it gets deadlocked, as I've never seen that happen before. According to log, no other code is running in the background; unless you have some ASI Loader plugin sitting in your game folder unaccounted for. |
I somehow get the feeling that yours is being prevented from reading any files whatsoever. None of this seems to be making much sense, it just locks up trying to access any file on disk seemingly. And it's not in the mod's code, but in runtime or OS. |
I've got no idea myself honestly, it's just strange. As if blocked by some kernel module, like an anticheat, an antivirus, or something of the kind. |
If I'm not confused, it can at lease read AppConfig.json, otherwise the mod list should be empty. But not for files in Mods folder. Can you test what specific file, or all files, it cannot access? |
The weird part is the mod started loading, so the loader itself can access files just fine. After all, it needs to load and parse all of the But the moment Relink Mod Manager tries to touch any file, everything stalls. I'd be curious to see what happens if you load another completely unrelated mod though, something non-game specific, for example |
Adding an exclusion in Windows Security didn't help. Can I have a link for this unrelated mod? Should I just put it in GBFR and disable all other mods? |
You can find it via search inside the launcher. Should be pretty easy. No links needed. |
Huh, Redirector somehow loaded just fine on the other hand. But monitor, a mod that only prints events from redirector locked up? That really does not make any sense, wow. Does this happen with all games? If you add something like notepad, and use monitor in it, does that work? |
It's something weird going on specifically with the game most likely, but I don't really have an idea what. I'd consider running things as minimal as possible, disable all overlays, etc. reset game folder to clean, and see if that fixes it. Then if that works, you could start re-enabling things again and seeing where it goes. For a quick game folder reset, I'd probably just delete all files that aren't the main |
That's kinda interesting. I've been getting strange reports of DLL Injection causing unexpected issues lately, I wonder what's up with that. But hey, if it works, it works! |
Thanks for all contributions and support. Good luck on future fixes. :) |
I've been stuck in this window for a long time, what should I do to fix it?
The text was updated successfully, but these errors were encountered: