{
  "commit": "3effc4a043e0fca93f5882c62eba9a2344b02d56",
  "count": 1,
  "generated_at": "2026-11-24T10:38:35Z",
  "items": [
    {
      "id": "lrps2-416291a",
      "profile": {
        "bios_directory": "ps2/",
        "bios_mode": "agnostic",
        "built_by": [
          "batocera"
        ],
        "core_classification": "community_fork",
        "core_version": null,
        "cores": [
          "pcsx2"
        ],
        "display_name": "Sony - PlayStation 2 (LRPS2 416291a for Batocera)",
        "emulator": "LRPS2 (416291a, Batocera)",
        "files": [
          {
            "config_key": "pcsx2_bios",
            "description": "PS2 BIOS binary",
            "found_by": "content",
            "max_size": 8388608,
            "min_size": 4194304,
            "name": "<bios>.bin",
            "note": "Any file of 4 to 8 MB in ps2/ whose romdir holds RESET and ROMVER. The pcsx2_bios core option picks one, and the first valid image found is used when the configured one is missing.\n",
            "path": "ps2/<bios>.bin",
            "required": true,
            "romdir": {
              "extinfo": true,
              "missing_reset": "ends_walk",
              "reset_compare": 10,
              "terminated_names": true,
              "truncated_walk": "ends_walk",
              "unreadable_romver": "ends_walk"
            },
            "source_ref": "source libretro/main.cpp:1800-1838, source libretro/main.cpp:360-365, source libretro/main.cpp:1927-1931, source pcsx2/ps2/BiosTools.cpp:31-32, 60-187, 231-323, source pcsx2/Pcsx2Config.cpp:994-1000, 1042, 1051-1061",
            "validation": [
              "size",
              "romdir"
            ]
          },
          {
            "description": "DVD player ROM",
            "max_size": 4194304,
            "name": "<bios>.rom1",
            "note": "Tries <bios path>.rom1, then the BIOS path with its extension replaced by rom1. Skipped when neither exists.",
            "path": "ps2/<bios>.rom1",
            "required": false,
            "source_ref": "source pcsx2/ps2/BiosTools.cpp:189-213, 314, source pcsx2/MemoryTypes.h:24"
          },
          {
            "description": "Chinese ROM extension",
            "max_size": 524288,
            "name": "<bios>.rom2",
            "note": "Same naming as rom1. Present only on Chinese consoles.",
            "path": "ps2/<bios>.rom2",
            "required": false,
            "source_ref": "source pcsx2/ps2/BiosTools.cpp:189-213, 315, source pcsx2/MemoryTypes.h:25"
          },
          {
            "description": "NVRAM / EEPROM data",
            "hle_fallback": true,
            "name": "<bios>.nvm",
            "note": "Read at the BIOS path with the extension replaced by nvm. Region and language defaults are filled in when the file is missing, short, or has no language or region parameters.\n",
            "path": "ps2/<bios>.nvm",
            "required": false,
            "size": 1024,
            "source_ref": "source pcsx2/CDVD/CDVD.cpp:59-60, source pcsx2/CDVD/CDVD.cpp:160-184"
          },
          {
            "description": "Mechacon version",
            "hle_fallback": true,
            "name": "<bios>.mec",
            "note": "Read at the BIOS path with the extension replaced by mec. Written as 0x00020603 when missing.",
            "path": "ps2/<bios>.mec",
            "required": false,
            "size": 4,
            "source_ref": "source pcsx2/CDVD/CDVD.cpp:62, source pcsx2/CDVD/CDVD.cpp:186-196"
          },
          {
            "description": "Per-game fixes and settings database",
            "installed_on": [
              "batocera"
            ],
            "name": "GameIndex.yaml",
            "note": "Read from pcsx2/resources at the first game lookup. Without it no game fix applies. Batocera installs the copy of the built tree in bios/pcsx2/resources (Batocera package/batocera/emulators/retroarch/libretro/libretro-ps2/libretro-ps2.mk:37-39).\n",
            "path": "pcsx2/resources/GameIndex.yaml",
            "required": false,
            "source_ref": "source pcsx2/GameDatabase.cpp:48, source pcsx2/GameDatabase.cpp:880-885, source libretro/main.cpp:2324-2361"
          },
          {
            "description": "widescreen patches archive",
            "name": "cheats_ws.zip",
            "note": "Read when widescreen patches are enabled and pcsx2/cheats_ws holds no patch for the game.",
            "path": "pcsx2/resources/cheats_ws.zip",
            "required": false,
            "source_ref": "source pcsx2/VMManager.cpp:333-348, source libretro/main.cpp:2315-2322"
          },
          {
            "description": "no-interlacing patches archive",
            "name": "cheats_ni.zip",
            "note": "Read when no-interlacing patches are enabled and pcsx2/cheats_ni holds no patch for the game.",
            "path": "pcsx2/resources/cheats_ni.zip",
            "required": false,
            "source_ref": "source pcsx2/VMManager.cpp:366-383, source libretro/main.cpp:2315-2322"
          },
          {
            "description": "DEV9 EEPROM",
            "hle_fallback": true,
            "load_from": "working_directory",
            "name": "eeprom.dat",
            "note": "Opened from the working directory when DEV9 starts and mapped over 64 bytes. A compiled-in image stands in when the file is missing.",
            "required": false,
            "size": 64,
            "source_ref": "source pcsx2/DEV9/DEV9.cpp:107-116, source pcsx2/DEV9/DEV9.cpp:152-167"
          },
          {
            "description": "DEV9 flash memory with ECC",
            "hle_fallback": true,
            "load_from": "working_directory",
            "name": "flash.dat",
            "note": "Read from the working directory when DEV9 starts. The flash is blank (0xFF) when the file is missing.",
            "required": false,
            "size": 8650752,
            "source_ref": "source pcsx2/DEV9/flash.cpp:21-28, source pcsx2/DEV9/flash.cpp:74-101"
          }
        ],
        "notes": "Batocera installs the build as pcsx2_libretro.so (Batocera\npackage/batocera/emulators/retroarch/libretro/libretro-ps2/libretro-ps2.mk:35-36)\nand launches it as the libretro core pcsx2 of the ps2 system (Batocera\npackage/batocera/emulationstation/batocera-es-system/es_systems.yml:2293-2294).\nThe library version is the short commit hash git reports at build time\n(cmake/BuildParameters.cmake:4-9, libretro/main.cpp:1423-1427).\n\nIts patch moves the BIOS scan from pcsx2/bios to ps2 below the system\ndirectory (libretro/main.cpp:1806) and the BIOS folder default to\n/userdata/bios/ps2, the same folder on Batocera (pcsx2/Pcsx2Config.cpp:1042).\nThe data root stays system/pcsx2, so resources are read from\npcsx2/resources and memory cards are written to pcsx2/memcards\n(libretro/main.cpp:1910-1912).\n\nBIOS detection is filename-agnostic: ps2/ is scanned for any file between\n4 and 8 MB with a RESET and a ROMVER romdir entry, no hash is checked, and\nthe list fills the pcsx2_bios core option whose default is the first BIOS\nfound (libretro/main.cpp:1800-1838). retro_load_game refuses to start when\nno BIOS was found (libretro/main.cpp:1927-1931). The companion files take\ntheir path from the selected BIOS.\n\nThe DEV9 hard disk image is user storage the core creates, not a file to\nobtain.\n",
        "pin_build": [
          {
            "path": "package/batocera/emulators/retroarch/libretro/libretro-ps2/libretro-ps2.mk",
            "platform": "batocera",
            "repo": "https://github.com/batocera-linux/batocera.linux",
            "revision": "batocera-43.1",
            "value": "416291ad7dc3caf5df4501c9249cbbe30cbef811",
            "variable": "LIBRETRO_PS2_VERSION"
          }
        ],
        "pin_frozen": "Batocera, the only platform that ships it, builds this revision with package/batocera/emulators/retroarch/libretro/libretro-ps2/001.bios-dir.patch (Batocera package/batocera/emulators/retroarch/libretro/libretro-ps2/libretro-ps2.mk:7 at batocera-43.1). Later commits are not part of that build.",
        "profiled_date": "2026-11-10",
        "resources_directory": "pcsx2/resources/",
        "source": "https://github.com/libretro/parallel-ps2",
        "source_commit": "416291ad7dc3caf5df4501c9249cbbe30cbef811",
        "systems": [
          "sony-playstation-2"
        ],
        "type": "libretro",
        "upstream": "https://github.com/PCSX2/pcsx2",
        "version_basis": {
          "kind": "none"
        }
      }
    }
  ],
  "kind": "emulators",
  "schema_version": 1
}
