{
  "commit": "3effc4a043e0fca93f5882c62eba9a2344b02d56",
  "count": 1,
  "generated_at": "2026-11-24T10:38:35Z",
  "items": [
    {
      "id": "pcsx2-libretro-408e3b2",
      "profile": {
        "bios_directory": "ps2/",
        "bios_mode": "agnostic",
        "built_by": [
          "recalbox"
        ],
        "core_classification": "community_fork",
        "core_version": "1.7.0",
        "cores": [
          "pcsx2"
        ],
        "display_name": "Sony - PlayStation 2 (PCSX2 libretro 408e3b2 for Recalbox)",
        "emulator": "PCSX2 libretro (408e3b2, Recalbox)",
        "files": [
          {
            "config_key": "pcsx2_bios",
            "description": "PS2 BIOS binary",
            "found_by": "content",
            "name": "<bios>.bin",
            "note": "Any file in ps2/ whose name holds a dot (the *.* mask of wxDir) and whose romdir holds RESET and ROMVER, picked by the pcsx2_bios core option. No size is checked. The table is read 16 bytes at a time from the start of the file until a name starting with RESET, within 512 Ki entries, then walked to an entry named ROMVER, whose 14 bytes are read at the sum of the sizes before it. Every read past the end of the file throws EndOfStream and the file is not listed. The first 4 MB are mapped.\n",
            "path": "ps2/<bios>.bin",
            "required": true,
            "romdir": {
              "extinfo": false,
              "missing_reset": "rejects",
              "offset_width": 32,
              "reset_compare": 5,
              "terminated_names": false,
              "truncated_walk": "rejects",
              "unreadable_romver": "rejects"
            },
            "source_ref": "source libretro/main.cpp:262-303, source libretro/main.cpp:317-328, source libretro/main.cpp:653-654, source pcsx2/ps2/BiosTools.cpp:74-167, 261-319, 340-356, source common/src/Utilities/pxStreams.cpp:74-93, source common/include/Utilities/Exceptions.h:346, source pcsx2/MemoryTypes.h:21",
            "validation": [
              "romdir"
            ]
          },
          {
            "description": "DVD player ROM",
            "name": "<bios>.rom1",
            "note": "Tries <bios path>.rom1, then the BIOS path with its extension replaced by rom1. Skipped when neither exists. The first 256 KB are read.",
            "path": "ps2/<bios>.rom1",
            "required": false,
            "source_ref": "source pcsx2/ps2/BiosTools.cpp:191-229, 294, source pcsx2/MemoryTypes.h:22"
          },
          {
            "description": "Chinese ROM extension",
            "name": "<bios>.rom2",
            "note": "Same naming as rom1. Present only on Chinese consoles. The first 512 KB are read.",
            "path": "ps2/<bios>.rom2",
            "required": false,
            "source_ref": "source pcsx2/ps2/BiosTools.cpp:191-229, 295, source pcsx2/MemoryTypes.h:23"
          },
          {
            "description": "DVD player extension ROM",
            "name": "<bios>.erom",
            "note": "Same naming as rom1. The first 0x1C0000 bytes are read.",
            "path": "ps2/<bios>.erom",
            "required": false,
            "source_ref": "source pcsx2/ps2/BiosTools.cpp:191-229, 296, source pcsx2/MemoryTypes.h:24"
          },
          {
            "description": "NVRAM / EEPROM data",
            "hle_fallback": true,
            "name": "<bios>.nvm",
            "note": "Read at the BIOS path with the extension replaced by nvm. A file shorter than 1024 bytes is replaced by a blank one with a dummy i.LINK ID. Without it the fast boot option is ignored. When it exists and the BIOS is in the language table, the system language option is written into it.\n",
            "path": "ps2/<bios>.nvm",
            "required": false,
            "size": 1024,
            "source_ref": "source pcsx2/CDVD/CDVD.cpp:142-187, source libretro/main.cpp:634-642, source libretro/language_injector.cpp:231-262"
          },
          {
            "description": "Mechacon version",
            "hle_fallback": true,
            "name": "<bios>.mec",
            "note": "Read at the BIOS path with the extension replaced by mec. Written as bytes 03 06 02 00 when missing.",
            "path": "ps2/<bios>.mec",
            "required": false,
            "size": 4,
            "source_ref": "source pcsx2/CDVD/CDVD.cpp:96-126"
          }
        ],
        "notes": "The wxWidgets-era libretro port of PCSX2 1.7.0. Recalbox builds it for\nx86_64 only (Recalbox package/libretro-pcsx2/Config.in:3, Recalbox\nconfigs/recalbox-x86_64_defconfig:352), installs it as pcsx2_libretro.so\n(Recalbox package/libretro-pcsx2/libretro-pcsx2.mk:30-31) and lists it as\nthe libretro core pcsx2 of the ps2 system (Recalbox\npackage/recalbox-romfs2/systems/ps2/system.ini:54-58).\nThe library version is git describe of the build tree, empty when the tree\nhas no .git (cmake/Pcsx2Utils.cmake:38-52, 70-72, libretro/main.cpp:447-448).\n\nIts patch moves the BIOS scan from pcsx2/bios to ps2 below the system\ndirectory (libretro/main.cpp:264), /recalbox/share/bios/ps2 on Recalbox.\n\nBIOS detection is filename-agnostic: every file in ps2/ whose romdir holds\na RESET and a ROMVER entry is listed, no size or hash is checked, and the\nlist fills the pcsx2_bios core option whose default is the first BIOS found\n(libretro/main.cpp:262-303). Without one, retro_init returns before it\ncreates the emulator and no game starts (libretro/main.cpp:282-287,\n325-328). The companion files take their path from the selected BIOS.\n\nGameIndex.yaml and the widescreen, no-interlacing and 60 fps patch archives\nare compiled in (pcsx2/CMakeLists.txt:338-367,\npcsx2/gui/AppGameDatabase.cpp:20-24, pcsx2/Patch.cpp:30-32). DEV9 is the\nnull device (pcsx2/DEV9/DEV9.cpp:59-64), so no hard disk, EEPROM or flash\nfile is read. Memory cards and pnach patches under system/pcsx2 are user\nfiles.\n",
        "pin_build": [
          {
            "path": "package/libretro-pcsx2/libretro-pcsx2.mk",
            "platform": "recalbox",
            "repo": "https://gitlab.com/recalbox/recalbox",
            "revision": "10.1.1",
            "value": "408e3b253847b25536ad77e4ab0c3aff6b8b896f",
            "variable": "LIBRETRO_PCSX2_VERSION"
          }
        ],
        "pin_frozen": "Recalbox, the only platform that ships it, builds this revision with package/libretro-pcsx2/0003-bios-path.patch (Recalbox package/libretro-pcsx2/libretro-pcsx2.mk:8 at tag 10.1.1). Later commits are not part of that build.",
        "profiled_date": "2026-11-10",
        "source": "https://gitlab.com/recalbox/packages/libretro/libretro-pcsx2",
        "source_commit": "408e3b253847b25536ad77e4ab0c3aff6b8b896f",
        "systems": [
          "sony-playstation-2"
        ],
        "type": "libretro",
        "upstream": "https://github.com/PCSX2/pcsx2",
        "version_basis": {
          "format": "{1}.{2}.{3}",
          "kind": "file",
          "path": "pcsx2/SysForwardDefs.h",
          "pattern": "PCSX2_VersionHi\\s*=\\s*(\\d+);\\s*\\n.*PCSX2_VersionMid\\s*=\\s*(\\d+);\\s*\\n.*PCSX2_VersionLo\\s*=\\s*(\\d+);"
        }
      }
    }
  ],
  "kind": "emulators",
  "schema_version": 1
}
