Files
libretro/emulators/mednafen_stv.yml
T
Abdessamad Derraz e7aa9e870b fix: state libretro core versions from their code
Each libretro profile records version_basis and core_version is read
there at its pin. snes9x states 1.63 in snes9x.h, nestopia 2.0.0, mgba
0.11.0, vice 3.10, atari800's libretro tree 7.0.0. Cores whose build
takes its version from git carry the nearest tag in describe form
(flycast v2.7-90-ge88b0ce, ppsspp, duckstation, gearcoleco), placeholders
copied from .info files (Git, SVN) are replaced by the code's statement,
and a code that states none is null with kind none.
2026-10-27 19:21:27 +01:00

131 lines
5.5 KiB
YAML

emulator: Mednafen STV
type: libretro
core_classification: community_fork
source: "https://github.com/beudbeud/libretro-stv"
upstream: "https://mednafen.github.io/"
profiled_date: "2026-10-27"
source_commit: "e65713478870dd494afd5c0bcd852fc76c383f14"
core_version: "v1.8.3"
version_basis:
kind: tag
tag: "v1.8.3"
distance: 0
display_name: "Sega - ST-V (Mednafen STV)"
cores:
- "mednafen_stv"
systems:
- "sega-stv"
- "sega-saturn"
notes: |
Libretro core by beudbeud built on the Saturn/ST-V module of Mednafen
1.32.1, with an Asia ST-V BIOS setting and a stvbios.zip fallback added
to ss.cpp. Recalbox runs it for ST-V, and the loader also accepts Saturn
disc images (cue, toc, ccd, chd, m3u).
retro_init() points filesys.path_firmware at the frontend system
directory and names the BIOS of every region
(ref: libretro/libretro.cpp:608-634). The ST-V BIOS is picked by SMPC
area: Japan, Asia NTSC, Europe PAL, and North America for every other
area (ref: mednafen/ss/ss.cpp:1521-1531, mednafen/ss/smpc.h:32-40).
A Saturn disc takes sega_101.bin for Japan and Asia NTSC and
mpr-17933.bin otherwise (ref: mednafen/ss/ss.cpp:1532-1538).
The BIOS is searched in the system directory, then in the directory of
the loaded game. In each, the loose file is tried first and must be
exactly 524288 bytes. When it is missing or the wrong size, the same
name is looked up at the root of stvbios.zip in that directory, then
without the leading slash (ref: mednafen/ss/ss.cpp:1540-1582). With
ss.bios_sanity on, the default, a file named like one of the five
Saturn BIOS images must match its SHA-256. The ST-V images are not in
that table and only the size check applies
(ref: mednafen/ss/ss.cpp:1586-1633, 2647).
Saturn games that need the KoF 95 or Ultraman ROM cartridge, and the
Action Replay 4M Plus cart type, open their ROM from the firmware
directory under the default names below
(ref: mednafen/ss/ss.cpp:1421-1423, 1477-1485, 2640-2642).
files:
- name: "epr-20091.ic8"
system: "sega-stv"
region: [japan]
required: true
size: 524288
validation: [size]
description: "ST-V BIOS (Japan)"
source_ref: "libretro/libretro.cpp:629, mednafen/ss/ss.cpp:1523-1524, mednafen/ss/ss.cpp:1556-1562"
- name: "epr-19854.ic8"
system: "sega-stv"
region: [asia-ntsc]
required: true
size: 524288
validation: [size]
description: "ST-V BIOS (Asia/Taiwan)"
source_ref: "libretro/libretro.cpp:630, mednafen/ss/ss.cpp:1525-1526, mednafen/ss/ss.cpp:1556-1562"
- name: "epr-17952a.ic8"
system: "sega-stv"
region: [north-america, latin-america, brazil, south-korea, asia-pal]
required: true
size: 524288
validation: [size]
description: "ST-V BIOS (North America)"
source_ref: "libretro/libretro.cpp:631, mednafen/ss/ss.cpp:1529-1530, mednafen/ss/ss.cpp:1556-1562"
note: "Used for every SMPC area other than Japan, Asia NTSC and Europe PAL."
- name: "epr-17954a.ic8"
system: "sega-stv"
region: [europe]
required: true
size: 524288
validation: [size]
description: "ST-V BIOS (Europe)"
source_ref: "libretro/libretro.cpp:632, mednafen/ss/ss.cpp:1527-1528, mednafen/ss/ss.cpp:1556-1562"
- name: "stvbios.zip"
system: "sega-stv"
category: bios_zip
required: false
description: "ST-V BIOS archive"
source_ref: "mednafen/ss/ss.cpp:1546-1548, mednafen/ss/ss.cpp:1567-1582"
note: "Read only when the loose BIOS file in the same directory is missing or not 524288 bytes. The system directory comes before the directory of the loaded game. The member is found by the BIOS file name, and its size is not checked."
contents:
- name: "epr-20091.ic8"
- name: "epr-19854.ic8"
- name: "epr-17952a.ic8"
- name: "epr-17954a.ic8"
- name: "sega_101.bin"
system: "sega-saturn"
region: [japan, asia-ntsc]
required: true
size: 524288
sha256: "dcfef4b99605f872b6c3b6d05c045385cdea3d1b702906a0ed930df7bcb7deac"
validation: [size, sha256]
description: "Saturn BIOS (Japan)"
source_ref: "libretro/libretro.cpp:633, mednafen/ss/ss.cpp:1534-1535, mednafen/ss/ss.cpp:1600, mednafen/ss/ss.cpp:1613-1614"
- name: "mpr-17933.bin"
system: "sega-saturn"
region: [north-america, latin-america, brazil, south-korea, asia-pal, europe, oceania]
required: true
size: 524288
sha256: "96e106f740ab448cf89f0dd49dfbac7fe5391cb6bd6e14ad5e3061c13330266f"
validation: [size, sha256]
description: "Saturn BIOS (North America/Europe)"
source_ref: "libretro/libretro.cpp:634, mednafen/ss/ss.cpp:1536-1537, mednafen/ss/ss.cpp:1602, mednafen/ss/ss.cpp:1613-1614"
- name: "mpr-18811-mx.ic1"
system: "sega-saturn"
required: false
description: "The King of Fighters '95 ROM cartridge"
source_ref: "mednafen/ss/ss.cpp:1421, mednafen/ss/ss.cpp:1477-1485, mednafen/ss/ss.cpp:2640"
note: "Opened only for the game that needs the cart, and that game does not start without it."
- name: "mpr-19367-mx.ic1"
system: "sega-saturn"
required: false
description: "Ultraman ROM cartridge"
source_ref: "mednafen/ss/ss.cpp:1422, mednafen/ss/ss.cpp:1477-1485, mednafen/ss/ss.cpp:2641"
note: "Opened only for the game that needs the cart, and that game does not start without it."
- name: "satar4mp.bin"
system: "sega-saturn"
required: false
description: "Action Replay 4M Plus firmware"
source_ref: "mednafen/ss/ss.cpp:1423, mednafen/ss/ss.cpp:1477-1485, mednafen/ss/ss.cpp:2642"
note: "Opened only when the Action Replay 4M Plus cart type is selected."