Supermodel
Supermodel emulates Sega Model 3, Sega Model 2 and Sega Model 1. It reads 2 files, none of them required: it starts games without them.
Run on its own, the app reads its files from this folder:
<working directory>/Config/
Config/, Assets/, NVRAM/, Saves/ and ROMs/ are relative names, so the folder the release archive is extracted to when started from it.
<working directory>/Config/
Relative names, as on Windows.
~/, else $XDG_DATA_HOME/
~/.supermodel when it exists, and the working directory when Config/ is there or no home directory resolves. Config sits apart, in ~/.config/supermodel/Config or $XDG_CONFIG_HOME/supermodel/Config.
About this profile
Install this emulator's files
For Supermodel inside RetroArch, Batocera or another setup. The installer finds the setup and its BIOS folder, then downloads only the files this emulator reads there and checks each one.
Open Start. Type PowerShell, press Enter. Click Copy. Right-click to paste. Press Enter.
&([scriptblock]::Create((irm https://abdess.github.io/retrobios/i.ps1))) --emulator supermodelPress Cmd+Space. Type Terminal, press Return. Click Copy. Press Cmd+V. Press Return.
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator supermodelOpen a terminal, often with Ctrl+Alt+T. Click Copy. Press Ctrl+Shift+V. Press Enter.
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator supermodelHold power, pick Switch to Desktop. Open Konsole. Click Copy. Press Ctrl+Shift+V. Press Enter.
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator supermodelOpen a terminal on the device. Or connect from a computer with SSH, a terminal over the network. Paste the line. Press Enter.
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator supermodelTechnical notes
Open-source Sega Model 3 arcade emulator by Bart Trzynadlowski (trzy) and contributors, under GPL-3.0. Emulates all three Model 3 steppings (1.0, 1.5, 2.0/2.1) including Real3D graphics, SCSP sound, DSB1/DSB2 MPEG music boards, drive boards, and net board. Cross-platform (Windows, Linux, macOS). The standalone build also emulates Sega Model 1 and Sega Model 2 (steppings 2, 2A, 2B and 2C). Games.xml declares their games as ROM sets like the Model 3 ones, and no system file is read for either board. ref: Src/GameLoader.cpp:274-335, Src/OSD/SDL/Main.cpp:2616-2626
The libretro core is Libretro-Supermodel, developed by sgiannop on top of
the 2019 libretro attempt and now held under the libretro organisation on
GitHub, mirrored at the same revision on git.libretro.com where the buildbot
pipeline lives (.gitlab-ci.yml). It carries the whole Supermodel tree with
its own OSD under Src/OSD/libretro and reports v0.3a-libretro. The older
libretro/supermodel repository on GitHub keeps the full trzy history and
received the same feature branch as its PR #2, but has no CI file and is
not what the buildbot publishes.
ref: Src/, Docs/README.md:5-12
Uses MAME-compatible ROM sets loaded from ZIP archives. GameLoader identifies
games by CRC32 checksums defined in Games.xml. Parent/child ROM set
relationships exist between regional variants of the same game, not as shared
BIOS sets. No standalone BIOS or firmware files are loaded outside of game ZIPs.
The core routes the ZIP reads through the libretro VFS.
ref: Src/, Src/OSD/libretro/vfs_ioapi.cpp
Standalone: four data files of its own are read from the install tree, Config/ and Assets/ relative to the working directory on Windows and macOS. On Linux the same relative directories are used when Config/ exists in the working directory, otherwise ~/.supermodel/ when present, otherwise the XDG data and config homes. Supermodel.ini is written from a compiled-in default when it is absent and rewritten after interactive input configuration and when the GUI saves its settings. NVRAM/<game>.nv and Saves/<game>.st<slot> are written by the emulator itself. ref: Src/OSD/Windows/FileSystemPath.cpp:28-51, Src/OSD/OSX/FileSystemPath.cpp:28-50, Src/OSD/Unix/FileSystemPath.cpp:51-160, Src/OSD/SDL/Main.cpp:1467-1486, Src/OSD/SDL/Main.cpp:1518, Src/OSD/SDL/Gui.cpp:1536, Src/OSD/SDL/Main.cpp:2364
The standalone also emulates the Real3D Pro-1000. Games.xml declares it as
the set pro1000 with platform Real3D Pro-1000, and its firmware (p1_p4.bin,
p2.bin) is a ROM set loaded like any game, not a system file. Programs for
the Pro-1000 reach the emulated board through wnaspi32.dll, which the
project builds for the folder of those programs and Supermodel never opens.
ref: Config/Games.xml:10030-10054, Src/GameLoader.cpp:274-335,
Src/
Libretro: retro_init joins "supermodel" to the frontend system directory and
the core creates that directory through the VFS. Supermodel.ini, Games.xml and
Music.xml are looked up flat in it first, then under a Config/ subdirectory
kept for the initial port's layout. Games.xml and Supermodel.ini are also
compiled into the binary from the repository copies, and when neither layout
holds the file the embedded bytes are written to the flat path on first run.
An external file is read in preference to the embedded one and never updated
afterwards. Music.xml has no embedded copy.
ref: Src/, Src/,
Src/, Src/,
Src/, Makefile:699-712, Makefile:718-720
Libretro NVRAM is the frontend .srm through the memory API. On the first frame
a <game>.nv written by the standalone build is imported from the save directory
when the .srm is empty. It is never written back. Save states are serialised in
memory, and a state file on disk is loaded only when InitStateFile names one,
which the core option layer leaves empty.
ref: Src/, Src/,
Src/, Src/,
Src/, Src/
The Legacy3D renderer compiles its shaders from built-in strings and reads a
file only when VertexShader or FragmentShader names one, and both default to an
empty string in either build.
ref: Src/Graphics/Shader.cpp:52-63, Src/Graphics/Shader.cpp:100-108,
Src/
EmuDeck installs the Flatpak package (com.supermodel3.Supermodel). Config stored in ~/.supermodel/Config/. No checkBIOS entry in EmuDeck.
2 files: 0 required, 2 optional. 5 more files come with the app.
In this collection: 2 in repo and 0 missing.
Optional
Section titled “Optional”| File | Status | Hash |
|---|---|---|
Music.xmlCustom MPEG music track map
Hashes, packages and source
| in repo standalone | MD5 6eeb3e30200e |
Music.xmlCustom MPEG music track map, libretro copy
Hashes and source
| in repo libretro | MD5 ddb4e23db15d |
Comes with the app
Section titled “Comes with the app”| File | Status | Hash |
|---|---|---|
Games.xmlROM set definitions
Hashes and source
| installed with the standalone emulator | MD5 38cf442c8df6 |
Games.xmlROM set definitions, libretro copy
Hashes and source
| installed with the libretro emulator built-in fallback | MD5 2d16307ceb65 |
Supermodel.iniConfiguration override
Hashes and source
| installed with the libretro emulator built-in fallback | MD5 065336081749 |
p1crosshair.bmpPlayer 1 light gun crosshair texture
Hashes and source
| installed with the standalone emulator | MD5 9012018f50f7 |
p2crosshair.bmpPlayer 2 light gun crosshair texture
Hashes and source
| installed with the standalone emulator | MD5 866dbf59a0e2 |
Next steps
Section titled “Next steps”- Get the files, for the setup in use
- Every system, and the files each one needs
- When a game does not start