{
  "commit": "3effc4a043e0fca93f5882c62eba9a2344b02d56",
  "count": 1,
  "generated_at": "2026-11-24T10:38:35Z",
  "items": [
    {
      "id": "solarus",
      "profile": {
        "core_classification": "game_engine",
        "core_version": "2.2.0",
        "cores": [
          "solarus",
          "Solarus"
        ],
        "display_name": "Solarus Game Engine",
        "emulator": "Solarus",
        "files": [
          {
            "bundled": true,
            "category": "game_data",
            "description": "SDL gamepad mappings applied on top of the built-in table",
            "md5": "1e70da4de91be79b9ccf47209a1fc73f",
            "name": "gamecontrollerdb.txt",
            "not_bundled_on": [
              "retrodeck"
            ],
            "note": "Looked up next to the executable first, then under SOLARUS_DATADIR_PATH, share/solarus by default (cmake/AddInstallDirs.cmake:14). Installed from assets/gamecontrollerdb.txt when SOLARUS_GAMECONTROLLERDB_INSTALL is on, which is the default (cmake/AddOptions.cmake:51), and carried in the release archives (.gitlab-ci.yml:306). Both probes are guarded by an existence test, and neither hitting leaves SDL on its built-in mappings. The v2.1.4 Windows zip ships this exact file next to solarus-run.exe.",
            "required": false,
            "sha1": "ab035b7804089690018318e4a05f9a8fc59421ff",
            "size": 600521,
            "source_ref": "src/core/System.cpp:71-99, cmake/AddDefines.cmake:44-49, cmake/AddInstallTargets.cmake:23-28",
            "system": "solarus"
          }
        ],
        "mode": "standalone",
        "notes": "2D action-RPG engine running quests scripted in Lua, built as libsolarus with\nthe solarus-run command-line player and the Qt Solarus Launcher on top. ES-DE\nruns `solarus-run <rom>` on a single .solarus file, Batocera as `solarus-run\n-fullscreen=yes -cursor-visible=no -lua-console=no -quit-combo=<hotkey>+<start>\n-joypad-num<n>=<index> <rom>` off a bbecaf31 pin, RetroDECK ships the v2.0.3\nsolarus-launcher AppImage.\n\nThe quest arrives as the content argument. get_quest_path takes the last\nnon-option argv and otherwise falls back to SOLARUS_DEFAULT_QUEST, which\ndefaults to \".\" (src/core/MainLoop.cpp:108-121, cmake/AddOptions.cmake:8,\ninclude/solarus/core/Common.h:119-123). open_quest mounts that path through\nPhysFS directly, then tries <path>/data, <path>/data.solarus and\n<path>/data.solarus.zip, each both\nrelative and under PHYSFS_getBaseDir (src/core/QuestFiles.cpp:151-165), and the quest\ncounts as found once quest.dat resolves (src/core/QuestFiles.cpp:228-233). The rest\ncomes out of that mount: quest.dat and project_db.dat\n(src/core/CurrentQuest.cpp:44,49), fonts under fonts/ as .png, .ttf, .otf, .ttc or .fon\n(src/core/FontResource.cpp:65-101), shaders under shaders/ (src/graphics/Shader.cpp:113), tilesets,\nsprites and music (src/entities/Tileset.cpp:156-174, src/graphics/SpriteAnimationSet.cpp:48,\nsrc/audio/MusicSystem.cpp:136-142).\n\nStartup reads one file from outside the quest. System::initialize probes\nSDL_GetBasePath() then SOLARUS_DATADIR_PATH for gamecontrollerdb.txt and hands\nwhichever it finds to SDL through SDL_HINT_GAMECONTROLLERCONFIG_FILE\n(src/core/System.cpp:71-99). The GLSL fallbacks are raw string literals in\ninclude/solarus/graphics/DefaultShaders.h:57,114, and glad, hqx and snes_spc compile in from\nthird_party/.\n\nFiles the engine writes rather than expects: settings.dat and savegames under\nthe quest write directory named in quest.dat (src/core/Settings.cpp:183-200,274-314,\nsrc/core/Savegame.cpp:132), the write root from SDL_GetPrefPath (src/core/QuestFiles.cpp:721),\nand error.txt under SOLARUS_FILE_LOGGING (src/core/Logger.cpp:29-45). Batocera's\n002-pad.patch adds a read of /userdata/system/configs/solarus/pads.ini, which\nits own generator rewrites at every launch. The editor and launcher subtrees\nbuild separately from the root CMakeLists, which adds only cli/, tests/ and\nthird_party/, and their assets are Qt resources compiled into those binaries\n(editor/cmake/AddQtFiles.cmake:47-51, launcher/cmake/addTarget.cmake:30).\n",
        "profiled_date": "2026-08-08",
        "source": "https://gitlab.com/solarus-games/solarus",
        "source_commit": "86fa2031e1303aaaf9924a2f03dfdb7b7d1cbf4b",
        "systems": [
          "solarus"
        ],
        "type": "standalone",
        "upstream": "https://gitlab.com/solarus-games/solarus",
        "version_basis": {
          "kind": "file",
          "path": "CMakeLists.txt",
          "pattern": "project\\(solarus-engine\\s+VERSION\\s+([0-9][^\\s)]*)"
        }
      }
    }
  ],
  "kind": "emulators",
  "schema_version": 1
}
