hedge-dev / hedge-dev/UnleashedRecomp
Game does not follow XDG_CONFIG_HOME on Linux
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 5.1k
- Forks
- 421
- PR merge metrics
- No merged PRs in 30d
Description
Validation
- I have checked the Issues page to see if my problem has already been reported
- I have confirmed that this bug does not occur in the original game running on original Xbox 360 hardware
If you have DLC installed, please specify which ones you have.
- Apotos & Shamar Adventure Pack
- Chun-nan Adventure Pack
- Empire City & Adabat Adventure Pack
- Holoska Adventure Pack
- Mazuri Adventure Pack
- Spagonia Adventure Pack
If you have mods enabled, please specify which ones you have.
None.
If you have codes enabled, please specify which ones you have.
None.
Describe the Bug
The game always saves its configuration into ~/.config even if a different config directory is specified with the XDG_CONFIG_HOME environment variable.
Steps to Reproduce
Steps to reproduce the bug:
- Run the game in an environment where XDG_CONFIG_HOME is set to something other than the default location
- Observe that configuration and save data is still saved/loaded into/from ~/.config
Expected Behavior
The program should follow the user's settings.
Footage
N/A
Specifications
Fill out the following details:
- CPU: 12 × AMD Ryzen 5 5600 6-Core Processor
- GPU: AMD Radeon RX 5700 XT
- GPU Driver: amdgpu
- OS: Fedora Linux
- Version: 41
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
No source file or test is named in the issue. Locate the configuration and save-data path handling, then reproduce on Linux with XDG_CONFIG_HOME set to a temporary directory; done means configuration and save data use that directory instead of ~/.config.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100