Skip to content

recomplauncher.json: suggestions from a Batocera front end #313

Closed

Description

@neurocontrarian

Hi,

I created recomp.board. It will tag the projects that ship a launcher file, including recomplauncher.json, and link to it. I also install recomps on Batocera (TV, controller, no file picker) from these files. A few additions would help front ends like that:

  1. A {data} placeholder: a writable folder that survives updates, for saves, settings and anything built from the player's copy. {install} gets replaced on every update.
  2. State that prepare runs with no window and no question, prints its progress as text, and is safe to run again.
  3. BIOS and firmware: a list of names, each required or not.
  4. Requirements: oldest glibc for the Linux build, graphics API and version.
  5. A field naming the switch that turns off the game's own updater.

Activity

  1. Xarishark commented on Nov 19, 2026

    @Xarishark
    Collaborator

    Thanks, these are useful, and most of them are in progress:

    1. {data}: coming in A game writes everything to {data}, setup gets a temp folder of its own, and the SDK rules for both #309. It's {install}/recompdata, also given to the game and its setup step as RECOMPLAUNCHER_DATA, for saves, settings, caches and builds. Note that RecompLauncher doesn't replace {install} on an update: only the release's own files change, and an update goes in whole or not at all. Still, {data} gives every front end the same one place to keep.
    2. prepare with no window or questions: that's how it already works. The step prints progress <0..1> <text> lines, exits 0 when done, and should reuse what an earlier run made. A game writes everything to {data}, setup gets a temp folder of its own, and the SDK rules for both #309 adds a line saying it never asks anything or waits for input. The step also gets a temp folder of its own and RECOMPLAUNCHER=1.
    3. BIOS and firmware: for now the launcher deliberately leaves those out, so that one is the maintainer's call.
    4. Requirements: a system field, per OS, is planned for a follow-up PR: the oldest Windows or macOS version, the oldest glibc for Linux, and the graphics API with its version.
    5. Turning off the game's updater: this works today. A game skips its updater when RECOMPLAUNCHER is set, or puts its own switch in start.args, which every front end that reads the file passes on. A game writes everything to {data}, setup gets a temp folder of its own, and the SDK rules for both #309 adds an example of both to the developer guide.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions