# warp-engine-retroarch-store — a RetroArch store engine for WarpEngine sites Pulls games from a [WarpEngine](https://git.teletypegames.org/engines/warp_engine) catalog into RetroArch's own library: one `.lpl` playlist per platform, with box art in the thumbnail folders that playlist's name points at. This repository is the engine only. It knows the WarpEngine API but nothing about any particular site: the host, the store's name and where its games land all come from a `config.json` that lives in a separate **store repository**. The shared part — catalog, releases, state, HTTP — is [`warpstore`](https://git.teletypegames.org/engines/warpstore), which this engine has in common with the [Batocera engine](https://git.teletypegames.org/tools/warp-engine-batocera-store). ``` warpstore the shared core ▲ warp-engine-retroarch-store this engine — retroarch_store.py, install.sh ▲ │ config.json ttg-retroarch-store store repositories ▼ teletypegames.org ``` The reference store is [`ttg-retroarch-store`](https://git.teletypegames.org/tools/ttg-retroarch-store). ``` -retroarch-store sync │ ├─ GET /api/software the whole catalog ├─ keep platforms a libretro core boots c64 → VICE, tic80 → TIC-80 ├─ pick the newest non-dev release that carries the cartridge ├─ GET /api/download?path= .prg / .tic into the content folder ├─ GET box art, converted to PNG └─ write -