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

Bug: Failed to Load Reloaded-II when a launcher launches the game case insensitively #106

Closed
Albeoris opened this issue Nov 13, 2021 · 2 comments
Labels
bug Something isn't working untriaged No decision has been made by the developers.

Comments

@Albeoris
Copy link

Related: #51
Game: Final Fantasy VIII

Describe the Bug
After installing ASI Loader, an error appears when starting the game.

Failed to Load Reloaded-II. Unable to find a configuration for the currently executing application.
at Reloaded.Mod.Loader.Loader.LoadForCurrentProcess()
at Reloaded.Mod.Loader.EntryPoint.LoadMods()
at Reloaded.Mod.Loader.EntryPoint.ExecutiveTimed(String text, Action action)
at Reloaded.Mod.Loader.EntryPoint.SetupLoader()

To Reproduce
Steps to reproduce the behaviour:

  1. Add "\SteamApps\common\FINAL FANTASY VIII\FF8_EN.exe"
  2. Install and activate any mod.
  3. Launch the game via FF_Launcher.exe

Expected Behaviour
Loading the mod without any errors.

Screenshots
image
image
image

Additional Context
The launcher launches the game using lower case names and / slashes. The Reloaded configuration specifies the real path to the image. Both paths are normalized, but normalization does not change the case of the path. We then compare the two paths in a case-sensitive manner. The paths do not match, the error is thrown.

On Windows, paths must be compared in a case-insensitive manner.
The error message is missing an indication of which path was not found.

@Albeoris Albeoris added bug Something isn't working untriaged No decision has been made by the developers. labels Nov 13, 2021
@Sewer56
Copy link
Member

Sewer56 commented Nov 13, 2021

Absolutely solid.
Well explained, well checked and easy fix (since Windows itself is case insensitive, even if e.g. NTFS itself is case sensitive).

I can quickly patch this up and roll a hotfix if it's blocking you; otherwise, next patch is probably around a month away.

I've been working on an update library of my own and I'm almost done on that front; after that I'll be working with R-II code again to integrate it and make some user friendliness related changes.

I do also plan to eventually ship a separate setup application and a quick setup on the launcher on first launch itself; as well as changes that improve the overall update related experience.

@Albeoris
Copy link
Author

The next patch sounds great.
As a workaround, I've converted the letters to lowercase in the config of App.

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

No branches or pull requests

2 participants