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

Automatic and manual game data paths #535

Open
Lgt2x opened this issue Aug 18, 2024 · 0 comments
Open

Automatic and manual game data paths #535

Lgt2x opened this issue Aug 18, 2024 · 0 comments
Milestone

Comments

@Lgt2x
Copy link
Member

Lgt2x commented Aug 18, 2024

As explained in #534, game data is currently searched for in Base_directory only. Once we support loading game data from multiple locations, we should make the experience more user-friendly. For this, we could have 2 mechanisms at work:

  • Automatic lookup: Use standard game installation paths depending on the OS, such as Steam or GoG library path, mounted volumes. If we find *.hog files there, automatically add these paths to lookup locations.
  • Manual selection: As a fallback, prompt the user with a path selection window where a directory can be specified. Check this directory content and use it if the data is found. After some research I could not find a simple solution for a cross-platform directory selection window, so a simple SDL2 input window could be enough for our needs.

In both cases, the resulting path should be written in game settings so this procedure only happens once.

This would improve UX dramatically, to avoid the game closing without any output such as #532

@Lgt2x Lgt2x added this to the 1.6 milestone Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant