{
  "commit": "3effc4a043e0fca93f5882c62eba9a2344b02d56",
  "count": 1,
  "generated_at": "2026-11-24T10:38:35Z",
  "items": [
    {
      "id": "plastic",
      "profile": {
        "core_classification": "other",
        "core_version": "v0.3.5",
        "cores": [
          "plastic"
        ],
        "data_root": {
          "linux": {
            "note": "~/.local/share/plastic when XDG_DATA_HOME is unset. Holds only the save states the emulator writes, under saved_states.",
            "path": "$XDG_DATA_HOME/plastic",
            "source_ref": "plastic_ui/src/main.rs:19-32"
          },
          "macos": {
            "note": "Holds only the save states the emulator writes, under saved_states.",
            "path": "~/Library/Application Support/Amjad50.Plastic.Plastic",
            "source_ref": "plastic_ui/src/main.rs:19-32"
          },
          "windows": {
            "note": "Holds only the save states the emulator writes, under saved_states.",
            "path": "%LOCALAPPDATA%/Plastic/Plastic/data",
            "source_ref": "plastic_ui/src/main.rs:19-32"
          }
        },
        "display_name": "Nintendo - NES / Famicom (Plastic)",
        "emulator": "Plastic",
        "files": [],
        "mode": "standalone",
        "notes": "NES emulator written in Rust by Amjad Alsharafi. The emulation lives in the\nplastic_core crate and two binaries drive it: plastic, an egui window, and\nplastic_tui, a terminal frontend (docs/man/plastic.1). Both take the ROM\npath as their first argument (plastic_ui/src/main.rs:418-424,\nplastic_tui/src/main.rs:5-38).\n\nA cartridge boots with nothing supplied. The 2A03, the PPU and every mapper\nare emulated in software and the console has no boot ROM, so no BIOS or\nfirmware is read. Cartridge::from_file accepts a path only when its\nextension is nes and its first four bytes are the iNES magic\n(plastic_core/src/cartridge/mod.rs:184-263, :157-165). get_mapper implements\n0, 1, 2, 3, 4, 7, 9, 10, 11, 12 and 66, and any other number returns\nMapperNotImplemented (:280-296). No Famicom Disk System path exists and\ntherefore no disksys.rom.\n\nThe NES to RGB table is a constant compiled into the binary\n(plastic_core/src/display/color.rs:22-87, selected at :158) and the 32 bytes\nat 0x3F00 are the PPU palette RAM (plastic_core/src/ppu2c02/palette.rs:6-19),\nso no palette file is opened. The window icon is embedded at build time\n(plastic_ui/src/main.rs:430).\n\nThe emulator reads back only what it wrote itself. A cartridge whose header\ncarries the battery bit gets <rom>.nes.sav beside the ROM, written on drop\nand reloaded on the next run (plastic_core/src/cartridge/mod.rs:319-348,\n:457-463). Save state slots 0 to 9 are <rom-stem>_<slot>.pst under the data\ndirectory, ~/.local/share/plastic/saved_states on Linux\n(plastic_ui/src/main.rs:16-32,95-118, plastic_tui/src/ui.rs:38-51,144-176,\nplastic_core/src/nes.rs:393-406).\n\nGamepad support comes from gilrs, which compiles the SDL controller database\ninto the binary and takes its only override from the SDL_GAMECONTROLLERCONFIG\nenvironment variable rather than a file (gilrs src/mapping/mod.rs:477-485).\n",
        "profiled_date": "2026-08-12",
        "source": "https://github.com/Amjad50/plastic",
        "source_commit": "74152adb3acd890d3abee2ff5906408f26a199e2",
        "systems": [
          "nintendo-nes"
        ],
        "type": "standalone",
        "upstream": "https://github.com/Amjad50/plastic",
        "version_basis": {
          "distance": 0,
          "kind": "tag",
          "tag": "v0.3.5"
        }
      }
    }
  ],
  "kind": "emulators",
  "schema_version": 1
}
