# Omicron

> Built from commit 3effc4a043e0 on 2026-11-24. The current build: https://abdess.github.io/retrobios/version.json

Source: https://abdess.github.io/retrobios/emulators/omicron/

Omicron emulates Omicron cartridges. It reads 1 file, 1 of them required: without a required file it does not start games.

**About this profile**

| Detail | Value |
|---|---|
| Type | libretro |
| Classification | Game engine |
| Source | [https://github.com/libretro/Omicron](https://github.com/libretro/Omicron) |
| Upstream | [https://github.com/msx80/Omicron](https://github.com/msx80/Omicron) |
| Mirror | [https://git.libretro.com/libretro/Omicron](https://git.libretro.com/libretro/Omicron) |
| Version | v1, stated in [`libretro/LibretroOmicronCore/omicron_libretro.c`](https://github.com/libretro/Omicron/blob/0181fbad079addb1fca895325c711f8f91397be4/libretro/LibretroOmicronCore/omicron_libretro.c) |
| Revision | [libretro/Omicron@0181fbad079a](https://github.com/libretro/Omicron/commit/0181fbad079addb1fca895325c711f8f91397be4), [msx80/Omicron@aaaa2f1a98b8](https://github.com/msx80/Omicron/commit/aaaa2f1a98b88a6b1e6102417317ced206887076), [libretro/Omicron@0181fbad079a](https://git.libretro.com/libretro/Omicron/-/commit/0181fbad079addb1fca895325c711f8f91397be4) |
| Run by | [Batocera](https://abdess.github.io/retrobios/platforms/batocera/), [EmuDeck](https://abdess.github.io/retrobios/platforms/emudeck/), [Lakka](https://abdess.github.io/retrobios/platforms/lakka/), [RetroArch](https://abdess.github.io/retrobios/platforms/retroarch/), [RetroDECK](https://abdess.github.io/retrobios/platforms/retrodeck/), [RetroPie](https://abdess.github.io/retrobios/platforms/retropie/) |
| Profiled | 2026-09-17 |
| Profile | [YAML](https://github.com/Abdess/retrobios/blob/main/emulators/omicron.yml), [JSON](https://abdess.github.io/retrobios/api/v1/emulators/omicron.json) |
| Cores | omicron |
| Systems | Omicron cartridges |

**Install this emulator's files**

The installer finds the setup and its BIOS folder, then downloads only the files this emulator reads there and checks each one.

**Windows:**

Open Start. Type **PowerShell**, press Enter. Click Copy. Right-click to paste. Press Enter.

PowerShell

```
&([scriptblock]::Create((irm https://abdess.github.io/retrobios/i.ps1))) --emulator omicron
```

**macOS:**

Press Cmd+Space. Type **Terminal**, press Return. Click Copy. Press Cmd+V. Press Return.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator omicron
```

**Linux:**

Open a terminal, often with Ctrl+Alt+T. Click Copy. Press Ctrl+Shift+V. Press Enter.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator omicron
```

**Steam Deck:**

Hold power, pick **Switch to Desktop**. Open **Konsole**. Click Copy. Press Ctrl+Shift+V. Press Enter.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator omicron
```

**Android (Termux):**

Install **Termux**, a terminal app. Paste the line. Press Enter. Accept the Python install and allow the storage access Android asks for.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator omicron
```

**On the device:**

Open a terminal on the device. Or connect from a computer with SSH, a terminal over the network. Paste the line. Press Enter.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator omicron
```

**Technical notes**

Java game engine on libGDX by msx80, inspired by fantasy consoles. A game is an .omicron cartridge: a jar carrying an omicron.properties descriptor that names the Game class, and numbered sheetN.png, soundN.wav, musicN.mp3 and fileN.bin resources, all read from inside the cartridge (omicron-player/omicron-loader/src/main/java/org/github/msx80/omicron/fantasyconsole/cartridges/JarCartridge.java:20-25, omicron-player/omicron-engine/src/main/java/org/github/msx80/omicron/GameRun.java:74-100). The libretro core is the experimental frontend of the same repository. The libretro fork is the 2020-09-29 tree (upstream_commit, their merge base) plus a GitLab CI file and a Makefile that takes the JNI headers from JAVA_HOME. The CI builds the shared library for Linux x64, i686 and aarch64 only (.gitlab-ci.yml:48-66).

retro_load_game builds <system_dir>/omicron/omicron.jar and refuses the content when the file is absent (libretro/LibretroOmicronCore/omicron_libretro.c:364-387). It then opens the JVM shared library by hand: JAVA_HOME must be set (libretro/LibretroOmicronCore/ejava.c:74-80), and libjvm.so or jvm.dll is probed under lib/server, jre/bin/server, jre/lib/amd64/server, jre/lib/aarch64/server, bin/server, bin/client and jre/bin/client, first hit wins (libretro/LibretroOmicronCore/ejava.c:86-94). The JVM is created with no option (libretro/LibretroOmicronCore/ejava.c:249-250). A Bootstrap class compiled into the core binary (libretro/LibretroOmicronCore/bootstrap.h) is defined through JNI and given the jar path. It opens the jar in a URLClassLoader and instantiates org.github.msx80.omicron.libretro.entrypoint.EntryPoint (libretro/LibretroOmicronCore/ejava.c:258-287, libretro/omicron-libretro-java/src/Bootstrap.java:33-39). One JVM per process: unloading keeps it and the next load reuses it (libretro/LibretroOmicronCore/ejava.c:291-305). The Java runtime is a host installation, not a file of this profile.

omicron.jar is the Maven jar-with-dependencies of libretro/omicron-libretro-java under that name: EntryPoint, the engine, loader and api modules, libGDX 1.9.10 with the LWJGL 3 backend and the desktop natives of both (libretro/omicron-libretro-java/pom.xml:13-61). GdxNativesLoader.load and GL.createCapabilities extract those natives from the jar when the frontend creates the GL context (libretro/omicron-libretro-java/src/org/github/msx80/omicron/libretro/entrypoint/EntryPoint.java:137-147), so nothing else is read from system_dir. Audio is a MockAudio and Preferences are written under java.io.tmpdir (libretro/omicron-libretro-java/src/experimental/LibretroApplication.java:45, libretro/omicron-libretro-java/src/experimental/LibretroApplication.java:172-173).

The cartridge class loader installs a SecurityManager (omicron-player/omicron-loader/src/main/java/org/github/msx80/omicron/fantasyconsole/crazyclassloader/NonAggressiveClassLoader.java:19-20). From Java 18 on System.setSecurityManager throws unless the JVM starts with java.security.manager=allow, which the core never passes, and the C side does not check the pending exception, so the game is reported as loaded with a 0x0 geometry. Java 8 to 17 runs it.

## Files

**1 file**: 1 required, 0 optional.

In this collection: 1 in repo and 0 missing.

## Required

### `omicron.jar` required in repo

Omicron libretro Java backend: engine, libGDX, LWJGL and their natives

- Path: `omicron/omicron.jar`
- System: Omicron cartridges
- 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.

- Collection copy: [`bios/Other/omicron/omicron.jar`](https://abdess.github.io/retrobios/systems/other/#sha1-f64654e8a527)

**Validation and source**

- Validation: existence
- Asked for by: libretro glue
- Source: [`libretro/LibretroOmicronCore/omicron_libretro.c:364-387`](https://github.com/libretro/Omicron/blob/0181fbad079addb1fca895325c711f8f91397be4/libretro/LibretroOmicronCore/omicron_libretro.c#L364-L387) (GET_SYSTEM_DIRECTORY, omicron/omicron.jar, fileExists) (libretro glue), [`libretro/LibretroOmicronCore/ejava.c:258-287`](https://github.com/libretro/Omicron/blob/0181fbad079addb1fca895325c711f8f91397be4/libretro/LibretroOmicronCore/ejava.c#L258-L287) (Bootstrap main with the jar path) (libretro glue), [`libretro/omicron-libretro-java/src/Bootstrap.java:33-39`](https://github.com/libretro/Omicron/blob/0181fbad079addb1fca895325c711f8f91397be4/libretro/omicron-libretro-java/src/Bootstrap.java#L33-L39) (URLClassLoader, EntryPoint) (libretro glue), [`libretro/omicron-libretro-java/pom.xml:13-61`](https://github.com/libretro/Omicron/blob/0181fbad079addb1fca895325c711f8f91397be4/libretro/omicron-libretro-java/pom.xml#L13-L61) (libretro glue)

## Next steps

- [Get the files](https://abdess.github.io/retrobios/which-pack/), for the setup in use
- [Every system](https://abdess.github.io/retrobios/systems/), and the files each one needs
- [When a game does not start](https://abdess.github.io/retrobios/wiki/troubleshooting/)

Data as of 24 November 2026.
