DescentDevelopers / DescentDevelopers/Descent3

Automatic and manual game data paths

Open
#535 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
3k
Forks
285
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.