{
  "commit": "3effc4a043e0fca93f5882c62eba9a2344b02d56",
  "count": 1,
  "generated_at": "2026-11-24T10:38:35Z",
  "items": [
    {
      "id": "lightspark",
      "profile": {
        "core_classification": "game_engine",
        "core_version": "0.10.0",
        "cores": [
          "lightspark"
        ],
        "display_name": "Adobe Flash (Lightspark)",
        "emulator": "Lightspark",
        "files": [],
        "mode": "standalone",
        "notes": "Open source implementation of the Flash player, playing SWF files of any\nActionScript version, as a standalone application or as a browser plugin. The\nActionScript built-in classes are implemented in C++ under src/scripting/flash,\nso no external class library is read. ES-DE runs the binary as\n`lightspark --fullscreen <rom>`, Batocera as\n`lightspark -fs -s local-with-networking <rom>` off a 0.8.7 pin.\n\nStartup reads nothing. The two GLSL shaders sit in the tree as\nsrc/lightspark.frag and src/lightspark.vert but the preprocessor pulls them\ninto string literals, \"directly include shader source to avoid filesystem\naccess\" (src/backends/rendering.cpp:1059-1062,1079-1082), which is also how\n0.8.7 builds them. The face given to nanoVG for text is Roboto Medium, decoded\nat runtime from a base85 array in the binary (src/launcher.cpp:1567,\nsrc/platforms/engineutils.cpp:500-502), and the launcher icon face is embedded\nthe same way (src/launcher.cpp:1094-1096,1333).\nresources/openfonticons/OpenFontIcons.ttf and resources/ErrorConstants.xml are\nbuild inputs, the second feeding the errorconstants.{h,cpp} generator\n(tools/errorgen:20).\n\nFonts named by the content go through fontconfig, which answers with whatever\nface the host has installed: FcFontMatch then FcPatternGetString(FC_FILE) hands\na path straight to nvgCreateFont (src/backends/cachedsurface.cpp:147-168). No\nname, path, size or hash is fixed anywhere, README.md:81-84 marks fontconfig\nitself optional, and an unmatched family leaves nanoVGFontID at -1 and falls\nback to the embedded face.\n\ndataFileRead is the only reader of LS_DATADIR and has no callers, at this\ncommit and at 0.8.7 (src/parsing/textfile.cpp:74-106). fontPath holds\n\"TimesNewRoman.ttf\" on Windows (src/backends/rendering.cpp:102) but reaches\nonly cairo_select_font_face, which takes a family name rather than a path, and\nonly under ENABLE_CAIRO (src/backends/rendering.cpp:1294), left FALSE by\nCMakeLists.txt.\n\nFiles the player writes rather than expects: lightspark.conf, an INI carrying\nthe cache directory and prefix whose absence leaves the hardcoded defaults\n(src/backends/config.cpp:82-115), launcher.xml holding the recent entries\n(src/launcher.cpp:1299-1310), and .sol SharedObjects under the data directory\n(src/platforms/engineutils.cpp:849-914). application.xml, extension.xml and the\nlibrary.swf files under META-INF/AIR/extensions belong to the AIR package being\nrun (src/main.cpp:149, src/platforms/engineutils.cpp:785-800), and\ncrossdomain.xml is fetched from remote hosts\n(src/backends/security.cpp:353,1025).\n",
        "profiled_date": "2026-08-08",
        "prose_written_at": "c24accae28d677406bc5047ad7e0778a39bfd27b",
        "source": "https://github.com/lightspark/lightspark",
        "source_commit": "c24accae28d677406bc5047ad7e0778a39bfd27b",
        "systems": [
          "flash"
        ],
        "type": "standalone",
        "upstream": "https://github.com/lightspark/lightspark",
        "version_basis": {
          "format": "{1}.{2}.{3}",
          "kind": "file",
          "path": "CMakeLists.txt",
          "pattern": "SET\\(MAJOR_VERSION \"(\\d+)\"\\)\\s*\\nSET\\(MINOR_VERSION \"(\\d+)\"\\)\\s*\\nSET\\(PATCH_VERSION \"(\\d+)\"\\)"
        }
      }
    }
  ],
  "kind": "emulators",
  "schema_version": 1
}
