Relative paths not working in a playlist on linux
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.1k
- Forks
- 2.2k
- Avg merge
- 7h 35m
- Merged PRs (30d)
- 51
Description
Description
Relative paths not working in a playlist on linux, only absolute paths.
Expected behavior
Launch a game from a playlist with relative path.
Actual behavior
The game is not launched.
Steps to reproduce the bug
- Edit a playlist created previously with RetroArch interface than works well.
- Replace absolute path like "/home/karl/.config/retroarch/roms/fbneo/1941.zip" with relative path like ":/roms/fbneo/1941.zip".
- When try to launch the game from playlist, it not load
Bisect Results
I detected this when I was trying to prepare some playlist for my SteamDeck from my desktop installation.
I tried other relative path options like ":/cores/../roms/fbneo/1941.zip", "roms/fbneo/1941.zip" or "~/.config/retroarch/roms/fbneo/1941.zip", but no one work.
Relative paths works perfect for core line: "core_path": ":/cores/fbneo_libretro.so".
Version/Commit
1.19.1
Environment information
- OS: ArchLinux
- Compiler: Using official version in Arch Extra repository
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
Reproduce the issue on Linux using a playlist entry with the relative ROM paths shown in the report, comparing it with the working relative core path. Trace the playlist launch and path-resolution entry points to determine why the ROM path is not resolved; done means the listed relative ROM forms launch successfully without breaking absolute paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100