hedge-dev / hedge-dev/UnleashedRecomp
Use ~/.local/share to store the game data
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 5.1k
- Forks
- 421
- PR merge metrics
- No merged PRs in 30d
Description
Is it possible, on linux, to set up the application so it uses a local directory inside the home folder?
The application bundled inside the flatpak is hardcoded to extract the game data into /var, which obviously works for flatpak itself but doesn't work if the application is run outside it (eg. repackaging).
The current AUR package for example edits the executable itself to write inside a .sunrdata directory inside the home folder.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the code that extracts game data into /var and inspect how the Linux and Flatpak paths are selected. Compare the requested ~/.local/share location with the existing .sunrdata behavior; done means the application uses the requested home-directory location when run outside Flatpak without breaking the bundled Flatpak setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100