libretro / libretro/RetroArch

[Feature Request] Support for variables (e.g., %rompath%) in playlist paths for portability

Open
#18,399 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

RetroArch playlists currently only support absolute or relative file paths. This creates portability problems when ROMs and RetroArch installations are moved between devices, different operating systems, or different storage locations.

Issue
There is no way to use variables such as:
%rompath% %basedir% %contentdir%

As such, a portable playlist should be able to aim at the ROMs path that is configured in the settings. Therefore, you can have different ROMs paths between devices.

I understand, that a portable device can aim at \roms on all devices. But that requires the roms to actually be inside the "roms" folder inside RetroArch's directory.

In my humble opinion, due to RetroArch's immense efforts at making emulation cross-platform, this should definitely be a feature.

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

The issue names no files, tests, or entry points. Start by locating playlist path parsing and the settings value for the ROMs path, then check how paths are handled across platforms. Done means playlists can use the requested variables and resolve them to the configured locations, with portability coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
frontend, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.