{
  "commit": "3effc4a043e0fca93f5882c62eba9a2344b02d56",
  "count": 1,
  "generated_at": "2026-11-24T10:38:35Z",
  "items": [
    {
      "id": "omicron",
      "profile": {
        "core_classification": "game_engine",
        "core_version": "v1",
        "cores": [
          "omicron"
        ],
        "display_name": "Omicron",
        "emulator": "Omicron",
        "files": [
          {
            "description": "Omicron libretro Java backend: engine, libGDX, LWJGL and their natives",
            "name": "omicron.jar",
            "note": "Built with mvn package assembly:single in libretro/omicron-libretro-java after the omicron-api, omicron-loader and omicron-engine Gradle modules are published to the local Maven repository. The jar-with-dependencies output is renamed omicron.jar. Only its presence is checked.",
            "path": "omicron/omicron.jar",
            "required": true,
            "source_ref": "source libretro/LibretroOmicronCore/omicron_libretro.c:364-387 (GET_SYSTEM_DIRECTORY, omicron/omicron.jar, fileExists), source libretro/LibretroOmicronCore/ejava.c:258-287 (Bootstrap main with the jar path), source libretro/omicron-libretro-java/src/Bootstrap.java:33-39 (URLClassLoader, EntryPoint), source libretro/omicron-libretro-java/pom.xml:13-61",
            "system": "omicron",
            "validation": [
              "existence"
            ]
          }
        ],
        "notes": "Java game engine on libGDX by msx80, inspired by fantasy consoles. A game\nis an .omicron cartridge: a jar carrying an omicron.properties descriptor\nthat names the Game class, and numbered sheetN.png, soundN.wav, musicN.mp3\nand fileN.bin resources, all read from inside the cartridge\n(omicron-player/omicron-loader/src/main/java/org/github/msx80/omicron/fantasyconsole/cartridges/JarCartridge.java:20-25,\nomicron-player/omicron-engine/src/main/java/org/github/msx80/omicron/GameRun.java:74-100).\nThe libretro core is the experimental frontend of the same repository. The\nlibretro fork is the 2020-09-29 tree (upstream_commit, their merge base)\nplus a GitLab CI file and a Makefile that takes the JNI headers from\nJAVA_HOME. The CI builds the shared\nlibrary for Linux x64, i686 and aarch64 only (.gitlab-ci.yml:48-66).\n\nretro_load_game builds <system_dir>/omicron/omicron.jar and refuses the\ncontent when the file is absent\n(libretro/LibretroOmicronCore/omicron_libretro.c:364-387). It then opens\nthe JVM shared library by hand: JAVA_HOME must be set\n(libretro/LibretroOmicronCore/ejava.c:74-80), and libjvm.so or jvm.dll is\nprobed under lib/server, jre/bin/server, jre/lib/amd64/server,\njre/lib/aarch64/server, bin/server, bin/client and jre/bin/client, first\nhit wins (libretro/LibretroOmicronCore/ejava.c:86-94). The JVM is created\nwith no option (libretro/LibretroOmicronCore/ejava.c:249-250). A\nBootstrap class compiled into the core binary\n(libretro/LibretroOmicronCore/bootstrap.h) is defined through JNI and\ngiven the jar path. It opens the jar in a URLClassLoader and instantiates\norg.github.msx80.omicron.libretro.entrypoint.EntryPoint\n(libretro/LibretroOmicronCore/ejava.c:258-287,\nlibretro/omicron-libretro-java/src/Bootstrap.java:33-39). One JVM per\nprocess: unloading keeps it and the next load reuses it\n(libretro/LibretroOmicronCore/ejava.c:291-305). The Java runtime is a\nhost installation, not a file of this profile.\n\nomicron.jar is the Maven jar-with-dependencies of\nlibretro/omicron-libretro-java under that name: EntryPoint, the engine,\nloader and api modules, libGDX 1.9.10 with the LWJGL 3 backend and the\ndesktop natives of both (libretro/omicron-libretro-java/pom.xml:13-61).\nGdxNativesLoader.load and GL.createCapabilities extract those natives\nfrom the jar when the frontend creates the GL context\n(libretro/omicron-libretro-java/src/org/github/msx80/omicron/libretro/entrypoint/EntryPoint.java:137-147),\nso nothing else is read from system_dir. Audio is a MockAudio and\nPreferences are written under java.io.tmpdir\n(libretro/omicron-libretro-java/src/experimental/LibretroApplication.java:45,\nlibretro/omicron-libretro-java/src/experimental/LibretroApplication.java:172-173).\n\nThe cartridge class loader installs a SecurityManager\n(omicron-player/omicron-loader/src/main/java/org/github/msx80/omicron/fantasyconsole/crazyclassloader/NonAggressiveClassLoader.java:19-20).\nFrom Java 18 on System.setSecurityManager throws unless the JVM starts\nwith java.security.manager=allow, which the core never passes, and the C side\ndoes not check the pending exception, so the game is reported as loaded\nwith a 0x0 geometry. Java 8 to 17 runs it.\n",
        "profiled_date": "2026-09-17",
        "source": "https://github.com/libretro/Omicron",
        "source_commit": "0181fbad079addb1fca895325c711f8f91397be4",
        "source_mirror": "https://git.libretro.com/libretro/Omicron",
        "systems": [
          "omicron"
        ],
        "type": "libretro",
        "upstream": "https://github.com/msx80/Omicron",
        "upstream_commit": "aaaa2f1a98b88a6b1e6102417317ced206887076",
        "version_basis": {
          "kind": "file",
          "path": "libretro/LibretroOmicronCore/omicron_libretro.c",
          "pattern": "info->library_version\\s+=\\s+\"([^\"]+)"
        }
      }
    }
  ],
  "kind": "emulators",
  "schema_version": 1
}
