hedge-dev / hedge-dev/UnleashedRecomp

Use ~/.local/share to store the game data

Open
#1,099 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

linux
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.