Skip to content
Wanted files

Supermodel Legacy

Supermodel Legacy emulates Sega Model 3.

About this profile
Detail Value
Type standalone
Classification Frozen snapshot
Source https://github.com/trzy/Supermodel
Version 0.3a-WIP, stated in Src/Version.h
Revision trzy/Supermodel@0eef09ba2b74
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
Profiled 2026-10-17
Profile YAML, JSON
Cores supermodel-legacy
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

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, Src/OSD/SDL/Main.cpp:579, Src/OSD/SDL/Main.cpp:638, Src/OSD/SDL/Main.cpp:661

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

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, Src/OSD/SDL/Main.cpp:1356-1358, Src/OSD/SDL/Main.cpp:1861

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, Src/OSD/SDL/Main.cpp:900, Src/OSD/SDL/Main.cpp:1297

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, Src/OSD/SDL/Main.cpp:1420-1425, Src/Graphics/Shader.cpp:93-100

0 files: 0 required, 0 optional. 1 more file 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
.