[Feature Request] For developers: Make it possible to toggle setting visibilitiy, either through the config, or through compilations options
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.1k
- Forks
- 2.2k
- Avg merge
- 7h 35m
- Merged PRs (30d)
- 51
Description
Issue
RetroArch is compiled with features that could be modified based on its port. For the Flatpak version, certain adjustments could enhance functionality and user experience.
Feature request
Introduce a new setting in RetroArch to customize the application for specific ports, such as Flatpak. This setting (e.g., "port_settings=flatpak") would enable the following modifications:
Proposed setup: Delete Online Update entries
In order to complete https://github.com/flathub/org.libretro.RetroArch/issues/309, remove entries in Settings -> Directories:
Update Core Info FilesUpdate AssetsUpdate Controller ProfilesUpdate CheatsUpdate DatabasesUpdate OverlaysUpdate Cg ShadersUpdate GLSL Shaders
Proposed setup: Introduce "Override" Directories
Add new entries in Settings -> Directories for override folders:
- Core Info Files overrides
- Assets overrides
- Controller Profiles overrides
- Cheats overrides
- Databases overrides
- Overlays overrides
- Cg Shaders overrides
- GLSL Shaders overrides
These override directories would allow users to store custom files separately from the Flatpak-provided ones.
2. Modify Online Updater Settings
Update the Online Updater menu to include options for updating override directories:
Remove:
Update Core Info FilesUpdate AssetsUpdate Controller ProfilesUpdate CheatsUpdate DatabasesUpdate OverlaysUpdate Cg ShadersUpdate GLSL Shaders
Add:
- Update override Core Info Files
- Update override Assets
- Update override Controller Profiles
- Update override Cheats
- Update override Databases
- Update override Overlays
- Update override Cg Shaders
- Update override GLSL Shaders
This modification would enable developers to release the flatpak package for users to update specific components without affecting the Flatpak-provided files.
Rationale
While Flatpak ships with RetroArch files, users may sometimes need the latest files for compatibility or new features. This feature request aims to provide flexibility for Flatpak users while maintaining the integrity of the Flatpak package.
Implementation
The proposed changes would only take effect when the "port_settings=flatpak" option is enabled, ensuring that the standard RetroArch behavior remains unchanged for other installations.
Contributor guide
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 existing Settings → Directories and Online Updater entries, then trace how the proposed port_settings=flatpak option or compilation options are handled. Map the configuration and menu paths involved; done means Flatpak-specific visibility and override behavior works without changing standard installations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- build-system, desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100