Snes9x EX+
Snes9x EX+ emulates Nintendo SNES, Nintendo Satellaview and Nintendo SuFami Turbo. It reads 7 files, 2 of them required: without a required file it does not start games. A required file is needed only by the machines that use it. Each file below cites the line of source code that reads it.
About this profile
Technical notes
Member of the EX Emulator series by Robert Broglia, published as
com.explusalpha.Snes9xPlus and built around the target s9xp
(Snes9x/metadata/conf.mk:2-7, Snes9x/CMakeLists.txt:4,10). ES-DE reaches it
through the SNES9X-EXPLUS find rule, which only the Android rule set carries,
and offers it under satellaview, sfc, snes, snesna and sufami. Snes9x 1.63 is
vendored under Snes9x/src/snes9x at upstream b33f2af, the revision the sync
commit 96b2f850 names, and 114 of the 152 vendored source files are
byte-identical to it. The app built from Snes9x/1.43 is a separate package,
com.explusalpha.Snes9x, and carries none of what follows.
Content is any .smc, .sfc, .swc, .bs, .st, .fig or .mgd file, or an archive
whose first entry with one of those extensions is used, the app leaving
archives to the framework (Snes9x/,
EmuFramework/, EmuFramework/src/AppMeta.cc:29). It
is read whole into memory and goes to LoadROMMem, except a Sufami Turbo cart,
recognized by a length of 0x80000 to 0x100000 with "BANDAI SFC-ADX" at 0 and
no "SFC-ADX BACKUP" at 0x10, which goes to LoadMultiCartMem with the base
cartridge placed in front of it (Snes9x/,221-273,
Snes9x/). Dual Sufami Turbo carts are not
loaded: slot B is always passed as null (Snes9x/).
Two firmware images are read, and both differ from upstream in how they are
found. Upstream opens BS-X.bin then BS-X.bios in its BIOS directory
(bsx.cpp:1204-1236) and STBIOS.bin for a Sufami Turbo load
(memmap.cpp:1663-1686). The app deletes both blocks and reads a URI the user
picks instead, so no filename is compiled in
(Snes9x/,
Snes9x/, Snes9x/,
Snes9x/). Each picker lists directories, names ending
.bin or .bios caselessly, and .7z, .rar and .zip archives, whose first member
with one of those two extensions is taken (Snes9x/,
Snes9x/,
EmuFramework/,
EmuFramework/,
imagine/). An unset path or a failed check throws,
and the loader thread turns that into a failed load with the message on
screen (EmuFramework/). Neither image is hashed.
A BS-X cartridge image loaded as content takes the other branch of
S9xInitBSX, which copies it into the BIOS area itself and asks for nothing
(Snes9x/). Broadcast data is read per requested
channel as BSXHHHH-D.bin under the Satellaview Files path, which defaults to
the content directory, and a miss only leaves the stream unloaded
(Snes9x/, Snes9x/,
Snes9x/src/main/system.ccm:108).
Every coprocessor is emulated in code with no external firmware: DSP-1 to
DSP-4, ST010, ST011, ST018, Cx4, S-DD1 and SPC7110, each implemented under
Snes9x/src/snes9x in dsp1.cpp through dsp4.cpp, seta010.cpp, seta011.cpp,
seta018.cpp, c4emu.cpp, sdd1emu.cpp and spc7110emu.cpp. The 1.43 branch's
S-DD1 data call and SPC7110 pack directory are compiled out here
(Snes9x/src/main/S9XApi.cc:64,89-131).
Per content the app writes and reads back a .srm, an .rtc for the S-RTC,
.frz states and a .cht cheat list under the cheats path. Settings live in
Snes9xP.config (Snes9x/src/main/Main.cc:78-90,153-172,
Snes9x/, Snes9x/,
Snes9x/src/main/AppMeta.cc:19). A BS game with no save of its own falls back
to BS-X.srm (Snes9x/). A .bps, .ups or .ips
named after the content in the patches path is applied as the image loads,
the app having dropped the search beside the content
(Snes9x/,3888-4027). MSU-1 data and tracks are read
beside the content as .msu, or the content name with msu1.rom appended, and
-N.pcm per track (Snes9x/,116-118,157-160). UNZIP_SUPPORT is not defined, so the .msu1 pack and the
patch-inside-a-zip paths are not compiled (Snes9x/CMakeLists.txt:18).
7 files: 2 required, 5 optional. 1 more file comes with the app.
By kind: 2 BIOS and 6 game data.
In this collection: 7 in repo and 0 missing.
Required
Section titled “Required”| File | Status |
|---|---|
BS-X.binSatellaview BS-X cartridge ROM
Validation, source and config key
|
required for Nintendo Satellaview in repo |
STBIOS.binSufami Turbo base cartridge ROM
Validation, source and config key
|
required for Nintendo SuFami Turbo in repo |
Game data
Section titled “Game data”| File | Status |
|---|---|
BSX0120-0.binSatellaview data stream for channel 0120
Validation, source and config key
|
optional in repo game data |
BSX0121-0.binSatellaview data stream for channel 0121
Validation, source and config key
|
optional in repo game data |
BSX0122-0.binSatellaview data stream for channel 0122
Validation, source and config key
|
optional in repo game data |
BSX0123-0.binSatellaview data stream for channel 0123
Validation, source and config key
|
optional in repo game data |
BSX0124-0.binSatellaview data stream for channel 0124
Validation, source and config key
|
optional in repo game data |
Comes with the app
Section titled “Comes with the app”| File | Status | Hash |
|---|---|---|
Bio Worm.7zBundled homebrew game, listed under Bundled Content
Hashes, validation and source
|
game data | SHA1 38e44c9868c0 |
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