{
  "commit": "3effc4a043e0fca93f5882c62eba9a2344b02d56",
  "count": 1,
  "generated_at": "2026-11-24T10:38:35Z",
  "items": [
    {
      "id": "punes",
      "profile": {
        "core_classification": "other",
        "core_version": "0.112",
        "cores": [
          "punes"
        ],
        "data_root": {
          "linux": {
            "note": "~/.local/share/puNES when XDG_DATA_HOME is unset. --portable moves it to the application directory.",
            "path": "$XDG_DATA_HOME/puNES",
            "source_ref": "src/gui/qt.cpp:561-570"
          },
          "windows": {
            "note": "Qt's GenericConfigLocation. --portable moves it to the application directory.",
            "path": "%LOCALAPPDATA%/puNES",
            "source_ref": "src/gui/qt.cpp:561-568"
          }
        },
        "display_name": "Nintendo - NES / Famicom (puNES)",
        "emulator": "puNES",
        "files": [
          {
            "description": "Family Computer Disk System BIOS",
            "name": "disksys.rom",
            "note": "8192 bytes are read into PRG ROM and mapped at 0xE000. When none of the four locations holds the file, fds_load_bios logs FDS;bios not found and returns EXIT_ERROR, which the caller propagates, so the disk image does not load. A short read only logs FDS;error on reading bios.",
            "path": "bios/disksys.rom",
            "required": true,
            "size": 8192,
            "source_ref": "src/core/fds.c:34,259-332 (fds_load_bios); src/core/fds.c:191-193 (caller); src/core/mappers/mapper_FDS.c:81 (mapping)",
            "system": "nintendo-fds"
          },
          {
            "description": "Game Genie ROM, booted in place of the cartridge to reach the code entry screen",
            "name": "gamegenie.rom",
            "note": "Loaded only while the cheat mode is set to Game Genie. The whole file is read, its length taken from the file itself. Absent, gamegenie_load_rom returns early and the cartridge boots directly.",
            "path": "bios/gamegenie.rom",
            "required": false,
            "source_ref": "src/core/cheat.c:30,69-120 (gamegenie_check_rom_present),121-179 (gamegenie_load_rom); src/core/ines.c:97-99 (caller)",
            "system": "nintendo-nes"
          },
          {
            "bundled": true,
            "description": "NES 2.0 header database, matched by ROM hash",
            "name": "nes20db.xml",
            "note": "Supplies mapper, submapper, mirroring, region, RAM sizes and Vs. System hardware for dumps whose own header is absent or wrong. A miss leaves info.mapper.nes20db.in_use false and the header carried by the ROM is used. Installed by CMakeLists.txt:227 and shipped beside the executable in the Windows zip. The hash is the copy at the profiled revision.",
            "required": false,
            "sha1": "8ed9fb83d8e4d73217d347e3b7965cb640cb8395",
            "source_ref": "src/gui/nes20db.cpp:31,49-81 (nes20db_search); src/core/ines.c:276-278, src/core/unif.c:316 (callers); CMakeLists.txt:227 (install)",
            "system": "nintendo-nes"
          },
          {
            "bundled": true,
            "description": "DIP switch database for multicart and Vs. System boards, keyed by CRC32",
            "name": "dip.cfg",
            "note": "Read on every mapper init. A miss leaves dipswitch.used false, which mappers 001, 043, 045, 176, 215, 412 and 447 and the selection dialog at src/gui/qt.cpp:754 all guard on, so the board runs on its reset value. Installed by CMakeLists.txt:228 and shipped beside the executable in the Windows zip. The hash is the copy at the profiled revision, the 0.111 zip carries an older one.",
            "required": false,
            "sha1": "0f25848f73705328ca03b02905e95e3a5d087d8c",
            "source_ref": "src/gui/dipswitch.cpp:30,60-86 (dipswitch_search); src/core/mappers.c:44 (caller); CMakeLists.txt:228 (install)",
            "system": "nintendo-nes"
          }
        ],
        "mode": "standalone",
        "notes": "Qt emulator of the NES, the Famicom and the Family Computer Disk System,\nalso playing NSF and NSFE music files. A cartridge boots with nothing\nsupplied: the 2A03, the PPU and every mapper are emulated in software.\n\nFour names are fixed by the code. disksys.rom and gamegenie.rom share one\nfour-step lookup (src/core/fds.c:265-309, src/core/cheat.c:74-108): the path\nrecorded in the configuration, the working directory, the directory holding\nthe loaded image, then the bios folder of the data directory. nes20db.xml\nand dip.cfg are read from the XDG data directories under a puNES\nsubdirectory, then the base of the data directory, then the application\ndirectory (src/gui/nes20db.cpp:50-79, src/gui/dipswitch.cpp:61-85), and the\ninstaller writes both into the shared data directory\n(CMakeLists.txt:227-228).\n\nThe data directory is the application directory under --portable,\n%LOCALAPPDATA%/puNES on Windows and ~/.local/share/puNES elsewhere\n(src/gui/qt.cpp:561-575), so the bios folder is ~/.local/share/puNES/bios.\n\nNo length and no hash is ever compared. fds_load_bios computes a CRC32 of\nthe BIOS it loaded (src/core/fds.c:329) and the only reader of that value is\nthe log line at src/core/fds.c:502-503.\n\nThe iNES 1.0 game database is compiled in as src/core/database.h and carries\nthe Vs. System PPU type and the region, so Vs. System titles need no\nexternal file. The uPD7756 ADPCM samples of mappers 018, 086 and 072 come\nfrom the Misc ROM area of the NES 2.0 dump itself\n(src/core/mappers/mapper_018.c:51, src/core/mappers/mapper_086.c:56, src/core/mappers/mapper_072.c:45).\nloadWaveFiles, which would read <data>/samples/<name>/NN.wav\n(src/core/mappers/waveFile.cpp:76-84), is declared and defined but called\nfrom nowhere in the tree, so no wave file is ever opened.\n\nPalettes, shaders, cheat imports and soft patches are opened from paths the\nuser picks in a file dialog and no name is fixed by the code, so they carry\nno file entry here. A palette shorter than 192 bytes is refused and a\nbuilt-in table is used instead (src/core/palette.c:39-64,\nsrc/video/gfx.c:323-334).\n",
        "profiled_date": "2026-08-08",
        "source": "https://github.com/punesemu/puNES",
        "source_commit": "b1758ec26a3d6da10abf50dc184fa837236c5f61",
        "systems": [
          "nintendo-nes",
          "nintendo-fds"
        ],
        "type": "standalone",
        "upstream": "https://github.com/punesemu/puNES",
        "version_basis": {
          "format": "{1}.{2}",
          "kind": "file",
          "path": "src/core/version.h",
          "pattern": "#define VER1\\s+\"(\\d+)\"[\\s\\S]*?#define VER2\\s+\"(\\d+)\""
        }
      }
    }
  ],
  "kind": "emulators",
  "schema_version": 1
}
