# Supermodel Legacy

> 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/supermodel-legacy/

Supermodel Legacy emulates Sega Model 3.

**About this profile**

| Detail | Value |
|---|---|
| Type | standalone |
| Classification | Frozen snapshot |
| Source | [https://github.com/trzy/Supermodel](https://github.com/trzy/Supermodel) |
| Version | 0.3a-WIP, stated in [`Src/Version.h`](https://github.com/trzy/Supermodel/blob/0eef09ba2b74e48fd5cfd388ee69a3743fd5f618/Src/Version.h) |
| Revision | [trzy/Supermodel@0eef09ba2b74](https://github.com/trzy/Supermodel/commit/0eef09ba2b74e48fd5cfd388ee69a3743fd5f618) |
| Revision held | Batocera's supermodel-legacy package builds this revision, held before the renderer moved to OpenGL 4.1. Recaling would repoint these refs at code this build never had. |
| Build file | Batocera `package/batocera/emulators/supermodel-legacy/supermodel-legacy.mk` at `batocera-43.1` sets `SUPERMODEL_LEGACY_VERSION` |
| Run by | [Batocera](https://abdess.github.io/retrobios/platforms/batocera/) |
| Profiled | 2026-10-17 |
| Profile | [YAML](https://github.com/Abdess/retrobios/blob/main/emulators/supermodel-legacy.yml), [JSON](https://abdess.github.io/retrobios/api/v1/emulators/supermodel-legacy.json) |
| Cores | supermodel-legacy |
| Systems | [Sega Model 3](https://abdess.github.io/retrobios/systems/sega/#model-3) |

**Technical notes**

Supermodel at trzy/Supermodel 0eef09b of 2022-08-19, the revision Batocera builds as supermodel-legacy for boards without OpenGL 4.1, the version the renderer moved to after it. Batocera applies five patches: 001 rewrites the fixed paths below, the others touch the INI template, the build rules, audio volume and an evdev light gun input system. ref: [`Src/Version.h:32`](https://github.com/trzy/Supermodel/blob/0eef09ba2b74e48fd5cfd388ee69a3743fd5f618/Src/Version.h#L32)

All paths are compiled in and relative to the working directory: Config/Games.xml, Config/Supermodel.ini, NVRAM/<game>.nv and Saves/<game>.st<slot>. There is no per-OS path resolution at this revision. Batocera's patch replaces them with /usr/share/supermodel/Games.xml, /userdata/system/configs/supermodel/Supermodel.ini, /userdata/saves/supermodel/NVRAM/<game>.nv and /userdata/saves/supermodel/<game>.st<slot>. ref: [`Src/OSD/SDL/Main.cpp:1320-1321`](https://github.com/trzy/Supermodel/blob/0eef09ba2b74e48fd5cfd388ee69a3743fd5f618/Src/OSD/SDL/Main.cpp#L1320-L1321), [`Src/OSD/SDL/Main.cpp:579`](https://github.com/trzy/Supermodel/blob/0eef09ba2b74e48fd5cfd388ee69a3743fd5f618/Src/OSD/SDL/Main.cpp#L579), [`Src/OSD/SDL/Main.cpp:638`](https://github.com/trzy/Supermodel/blob/0eef09ba2b74e48fd5cfd388ee69a3743fd5f618/Src/OSD/SDL/Main.cpp#L638), [`Src/OSD/SDL/Main.cpp:661`](https://github.com/trzy/Supermodel/blob/0eef09ba2b74e48fd5cfd388ee69a3743fd5f618/Src/OSD/SDL/Main.cpp#L661)

ROM sets are MAME format per game archives identified by the CRC32 values in Games.xml, 60 sets at this revision. A child set missing files makes the loader open <parent>.zip from the same directory. Parents are regional or revision variants of one game, not a shared BIOS. Each Model 3 board carries its own program, video, sound and drive board ROMs, so no system ROM is read outside those archives. ref: [`Src/GameLoader.cpp:858-893`](https://github.com/trzy/Supermodel/blob/0eef09ba2b74e48fd5cfd388ee69a3743fd5f618/Src/GameLoader.cpp#L858-L893)

Supermodel.ini is optional: when it cannot be opened the compiled-in defaults apply. The emulator writes it only after interactive input configuration. Batocera generates it from its own template before each launch. ref: [`Src/Util/ConfigBuilders.cpp:134-142`](https://github.com/trzy/Supermodel/blob/0eef09ba2b74e48fd5cfd388ee69a3743fd5f618/Src/Util/ConfigBuilders.cpp#L134-L142), [`Src/OSD/SDL/Main.cpp:1356-1358`](https://github.com/trzy/Supermodel/blob/0eef09ba2b74e48fd5cfd388ee69a3743fd5f618/Src/OSD/SDL/Main.cpp#L1356-L1358), [`Src/OSD/SDL/Main.cpp:1861`](https://github.com/trzy/Supermodel/blob/0eef09ba2b74e48fd5cfd388ee69a3743fd5f618/Src/OSD/SDL/Main.cpp#L1861)

NVRAM/<game>.nv is loaded after the ROMs when present, silently skipped when absent, and written on exit. Batocera ships 43 .nv files, copied into the save directory by its launcher, preset so the games start without a pass through the service menu. ref: [`Src/OSD/SDL/Main.cpp:656-688`](https://github.com/trzy/Supermodel/blob/0eef09ba2b74e48fd5cfd388ee69a3743fd5f618/Src/OSD/SDL/Main.cpp#L656-L688), [`Src/OSD/SDL/Main.cpp:900`](https://github.com/trzy/Supermodel/blob/0eef09ba2b74e48fd5cfd388ee69a3743fd5f618/Src/OSD/SDL/Main.cpp#L900), [`Src/OSD/SDL/Main.cpp:1297`](https://github.com/trzy/Supermodel/blob/0eef09ba2b74e48fd5cfd388ee69a3743fd5f618/Src/OSD/SDL/Main.cpp#L1297)

Crosshairs are drawn as GL primitives. No Assets/ bitmap and no Music.xml are read at this revision. External GLSL shaders are read only when a VertexShader or FragmentShader key names a file, and all six keys default to empty. ref: [`Src/OSD/SDL/Main.cpp:703-712`](https://github.com/trzy/Supermodel/blob/0eef09ba2b74e48fd5cfd388ee69a3743fd5f618/Src/OSD/SDL/Main.cpp#L703-L712), [`Src/OSD/SDL/Main.cpp:1420-1425`](https://github.com/trzy/Supermodel/blob/0eef09ba2b74e48fd5cfd388ee69a3743fd5f618/Src/OSD/SDL/Main.cpp#L1420-L1425), [`Src/Graphics/Shader.cpp:93-100`](https://github.com/trzy/Supermodel/blob/0eef09ba2b74e48fd5cfd388ee69a3743fd5f618/Src/Graphics/Shader.cpp#L93-L100)

## Files

**0 files**: 0 required, 0 optional. 1 more file comes with the app.

## Comes with the app

### `Games.xml` comes with the app

ROM set definitions

- Path: `Config/Games.xml`
- Parsed by the GameLoader constructor before the ROM archive is opened. A file that fails to parse leaves no game defined, no set in the archive is recognised, and main returns 1. The path is the GameXMLFile key, so -game-xml-file moves it, and Batocera's patch sets the default to /usr/share/supermodel/Games.xml. The hash is that of Config/Games.xml at the pinned revision, which Batocera installs.

- Size: 148.9 KB, SHA1 599a74894c61

**Hashes and source**

- SHA1: `599a74894c61c1849e2aeff17507c233e2f459d6`
- MD5: `84b66c6c9eb9370e983d88c4d187ea05`
- Source: [`Src/OSD/SDL/Main.cpp:1321`](https://github.com/trzy/Supermodel/blob/0eef09ba2b74e48fd5cfd388ee69a3743fd5f618/Src/OSD/SDL/Main.cpp#L1321), [`Src/OSD/SDL/Main.cpp:1412`](https://github.com/trzy/Supermodel/blob/0eef09ba2b74e48fd5cfd388ee69a3743fd5f618/Src/OSD/SDL/Main.cpp#L1412), [`Src/OSD/SDL/Main.cpp:1866-1874`](https://github.com/trzy/Supermodel/blob/0eef09ba2b74e48fd5cfd388ee69a3743fd5f618/Src/OSD/SDL/Main.cpp#L1866-L1874), [`Src/GameLoader.cpp:492-502`](https://github.com/trzy/Supermodel/blob/0eef09ba2b74e48fd5cfd388ee69a3743fd5f618/Src/GameLoader.cpp#L492-L502), [`Src/GameLoader.cpp:689-693`](https://github.com/trzy/Supermodel/blob/0eef09ba2b74e48fd5cfd388ee69a3743fd5f618/Src/GameLoader.cpp#L689-L693), [`Src/GameLoader.cpp:895-898`](https://github.com/trzy/Supermodel/blob/0eef09ba2b74e48fd5cfd388ee69a3743fd5f618/Src/GameLoader.cpp#L895-L898)

## 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.
