libretro / libretro/RetroArch

Make ":/" expand to "~/.config/retroarch/" instead of "/usr/bin/"

Open
#10,187 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

configs
Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

:/ expands to the directory where the RetroArch executable is located. On Windows this is convenient since retroarch.exe, saves/, screenshots/, etc. are typically all in the same directory, so you can just specify :/saves for the save file directory or :/screenshots for the screenshots directory. On Linux, however, :/ typically expands to /usr/bin/ since that's where the executable is placed by the package manager, which makes the shortcut pretty much useless. It should instead expand to the directory where retroarch.cfg is located, which is ~/.config/retroarch by default.

Contributor guide

Open the contributing guide

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

Begin by locating the :/ path-expansion entry point and the code that determines the retroarch.cfg directory; the issue names no files or tests. Verify on Linux that :/ resolves to ~/.config/retroarch/ by default while preserving the described Windows behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.