Skip to content
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

Open
basterzero opened this issue Feb 29, 2024 · 30 comments
Labels
untriaged No decision has been made by the developers.

Comments

@basterzero
Copy link

I've been stuck in this window for a long time, what should I do to fix it?
Screenshot (724)

@basterzero basterzero added the untriaged No decision has been made by the developers. label Feb 29, 2024
@Sewer56
Copy link
Member

Sewer56 commented Feb 29, 2024

I seriously need to buy this game and see what happens here. This is strange.

@Reflection4Real
Copy link

I also have the same problem

@Sewer56
Copy link
Member

Sewer56 commented Mar 1, 2024

Would you be able to provide more information about your system?
I bought this game but have trouble replicating this.

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:

  • Anything that can overlay/read/alter game visuals (e.g. ReShade, Special K, Video Capture Software)
    • This includes anything that renders ontop of the game such as 'Nahimic Audio Driver' which comes preinstalled on some prebuilt/OEM machines.

etc. Anything that would be useful in trying to replicate your setup.

@Sewer56 Sewer56 changed the title Help me [Granblue Relink: User is stuck after loader successfully loads in its entirety] Mar 2, 2024
@basterzero
Copy link
Author

What information do you need to help? I'll go get it.

@Sewer56
Copy link
Member

Sewer56 commented Mar 3, 2024

Anything that

Would you be able to provide more information about your system? I bought this game but have trouble replicating this.

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:

* Anything that can overlay/read/alter game visuals (e.g. ReShade, Special K, Video Capture Software)
  
  * This includes anything that renders ontop of the game such as 'Nahimic Audio Driver' which comes preinstalled on some prebuilt/OEM machines.

etc. Anything that would be useful in trying to replicate your setup.

Anything that falls under the above @basterzero

@Keinechanw
Copy link

im having the same problem now.
I was able to use reloaded before and it has the same problem now.
I did not add any new mods and it will only startup when all my mods turned off(but the mods are still on).
This might happen because I updated the reloaded app, or maybe I forced quit once.

@basterzero
Copy link
Author

I forgot about this one. What is it?
Screenshot (729)

@Sewer56
Copy link
Member

Sewer56 commented Mar 5, 2024

Normally this is printed while loading a code mod.
Hmm, actually. Wait, is something trying to be loaded after Steam DRM Bypass?

What's your enabled mod list?

@Keinechanw
Copy link

Enabled mod list doesnt matter. Game won't start even if I only enable the GBFR mod manager.

@Sewer56
Copy link
Member

Sewer56 commented Mar 5, 2024

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?

@Keinechanw
Copy link

It won't happen without any mod. However, all my mods are loaded even I disabled all of them.

@Sewer56
Copy link
Member

Sewer56 commented Mar 5, 2024

Is the problem specific to GBFR ModManager mod then?

Try loading something generic like 'Reloaded File Monitor', I presume that works OK?

@Keinechanw
Copy link

it works OK

@Sewer56
Copy link
Member

Sewer56 commented Mar 5, 2024

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

@Keinechanw
Copy link

Actully it doesn't work as expected.
if I activate reloaded file moniter in the game page, the command window pops up and exit in 1 sec then the game won't boot.
However, If I activate the reloaded file moniter in the manage mods page, in the game page the enable/disable box for reload file moniter is a filled red box(I assume that means enabled), and the game boot normally

@Sewer56
Copy link
Member

Sewer56 commented Mar 5, 2024

Hmm, weird, gimme a while, I'll be back later. Will build some debug versions of mods.

@basterzero
Copy link
Author

I have reloaded the monitor file. What happens is that when it reaches this screen, it bounces back to the program.
Screenshot (732)
And I tried to remove GBFR Manager, it appears that it can run the game normally, but it cannot run the mods.

@Sewer56
Copy link
Member

Sewer56 commented Mar 7, 2024

I have reloaded the monitor file. What happens is that when it reaches this screen, it bounces back to the program. Screenshot (732) And I tried to remove GBFR Manager, it appears that it can run the game normally, but it cannot run the mods.

Are you saying that it runs correctly in this situation then?

@basterzero
Copy link
Author

Yes, exactly what you say.

@KurochaK
Copy link

KurochaK commented Apr 6, 2024

Unfortunately, I just run into the same problem and I wonder if there is already a solution now.
screenshot1
I successfully run the game with mods in it at first but failed on the second attempt.
I am just stuck in this window and it cannot run the game again.
I can manually start the game with these mods in it even if I disabled all of them, which is just the same situation as above.
I'm not very good at English, and I'm sorry if I can't describe this situation clearly.

@Sewer56
Copy link
Member

Sewer56 commented Apr 6, 2024

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.

@Nenkai
Copy link

Nenkai commented Apr 7, 2024

I've seen this problem very rarely from various people, but never personally
I'm not sure. There should be enough error messages during and after initialization, which aren't being fired at all

Maybe it is stuck during the loader's logic somewhere, but I wouldn't know where without an exact setup to reproduce

@Sewer56
Copy link
Member

Sewer56 commented Apr 7, 2024

I've seen this problem very rarely from various people, but never personally I'm not sure. There should be enough error messages during and after initialization, which aren't being fired at all

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:

  • Check for any async code (check for anything that waits).
  • Check for any silent exceptions tied to async code.

If nothing else, just add log lines all over the place and grab someone who's affected by the issue. Should make things easier.

@Nenkai
Copy link

Nenkai commented Apr 13, 2024

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!

@Vinzelles
Copy link

I am facing the same issue but with a slight difference.
When I click "Launch Application" through the Reload program panel, it will stuck here forever.

image

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.

@Sewer56
Copy link
Member

Sewer56 commented May 7, 2024

[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.]

@Nenkai
Copy link

Nenkai commented May 7, 2024

This is not being printed, so the mod's entrypoint is not being hit.

You'll have an hard time trying to reproduce it, however it seems that this deadlock only appears on OS'es using different text encodings? Most of the people having this issue have been from China.
Perhaps it is related, but I am not sure.

@Sewer56
Copy link
Member

Sewer56 commented May 7, 2024

It's strange. .NET itself uses UTF-16, and I've had success before running mods out of paths that have non-ANSI characters. Heck, in their log the hooks library seems to have loaded just fine.

The actual entry point is StartEx https://github.com/WistfulHopes/gbfrelink.utility.manager/blob/a8daf145bf29b0db923750e2a6660c824bd1be25/gbfrelink.utility.manager/Template/Startup.cs#L53 , maybe we can try logging something inside there?

Just log on every major step.

Edit: These days I daily drive Linux, but I am tempted to boot into Windows, set my language to Chinese and put Reloaded inside a non-ANSI folder.

@Sewer56
Copy link
Member

Sewer56 commented May 8, 2024

granblue_fantasy_relink_g3BDMdL4hv

I tried to get something to happen by moving everything into folders using non-ANSI paths and using a non-ANSI locale, but I couldn't reproduce it.

@Nenkai
Copy link

Nenkai commented May 18, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged No decision has been made by the developers.
Projects
None yet
Development

No branches or pull requests

7 participants