Files
libretro/emulators/mednafen_stv.yml
T
Abdessamad Derraz ef5c3df0fa fix: mednafen_stv BIOS also read from game dir
v1.8.0 (4e899aa) searches the system directory, then the directory of
the loaded game, each for the loose BIOS and then stvbios.zip
(ss.cpp:1540-1582). Same files, sizes and hashes.
2026-10-23 15:52:35 +02:00

127 lines
5.4 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-17"
source_commit: "4e899aa2951a4714f82523d2d0f00c98599fd574"
core_version: "v1.8.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, 2646).
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, 2639-2641).
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:2639"
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:2640"
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:2641"
note: "Opened only when the Action Replay 4M Plus cart type is selected."