Dolphin MMJR2
Dolphin MMJR2 emulates Nintendo GameCube and Nintendo Wii. It reads 16 files, none of them required: it starts games without them.
About this profile
Technical notes
Android-only Dolphin fork published as the org.dolphinemu.mmjr package. The
repositories it was developed and released from are gone. This reading is
taken from a surviving copy carrying the whole maintainer commit line, up to
the last one, which sets the version string to 2.0-18025. The tree is a
selective merge of Dolphin Official carrying that label rather than a
checkout of it: at Dolphin 5.0-18025 the memory subsystem has already moved
behind Core::System, and here it has not, so no single Dolphin revision
matches the tree. Every citation below reads this tree, and upstream_commit
is the Dolphin revision it was last compared with, not a base of this tree.
ref: Source/, Source/
Two roots. The user directory is mmjr-revamp at the root of external storage.
The Sys directory is extracted from the APK assets into the app's internal
files directory, and a change of git revision deletes it and extracts it
again, so nothing placed there survives an update. The build drops Resources
and Themes from the assets copy. Paths below are relative to the user
directory. Entries with no path are read only from the Sys directory and name
their location in their note.
ref: Source/,
Source/,
Source/Core/Common/CommonPaths.h:23, Source/Android/jni/CMakeLists.txt:37-42
The GameCube boot ROM is looked up as GC/<REGION>/IPL.bin, in the user directory first and the Sys directory second. The region directory is USA for NTSC-U, EUR for PAL and JAP for NTSC-J: JPN also exists but only the memory card folder path asks for it, every other caller takes the legacy default. Booting the IPL itself hashes the whole file with crc32 and warns on an unknown dump, then warns again when the dump and the boot region disagree on PAL. SkipIPL defaults to true, so games start without it. ref: Source/Core/Common/CommonPaths.h:34-35, Source/Core/Core/Config/MainSettings.cpp:567-592, Source/Core/Core/Config/MainSettings.cpp:594-600, Source/Core/Core/Config/MainSettings.cpp:675-723, Source/Core/Core/Boot/Boot.cpp:323-327, Source/Core/Core/Boot/Boot.cpp:408-442, Source/Core/Core/Boot/Boot.cpp:444-449, Source/Core/Core/Config/MainSettings.cpp:35
Fonts follow the IPL. When a dump is present the Shift JIS and Windows-1252 fonts are read out of it at offsets 0x1aff00 and 0x1fcf00, for 0x4a24d and 0x2575 bytes. Otherwise the standalone font files are loaded whole, and the bundled ones have different padding from the console fonts. ref: Source/Core/Core/HW/EXI/EXI_DeviceIPL.cpp:102-131, Source/Core/Core/HW/EXI/EXI_DeviceIPL.cpp:175-187, Source/Core/Core/HW/EXI/EXI_DeviceIPL.cpp:200-241
DSP HLE is the default and reads dsp_coef.bin alone, for polyphase resampling coefficients, skipping any file that is not 0x1000 bytes. DSP LLE, reached by setting DSPHLE to False, loads both ROMs from GC/ in the user directory then Sys/GC/, rejects either at the wrong size, and a rejection aborts the emulation thread. Both are byte-swapped into memory and the pair is then hashed with adler32 against seven known combinations. ref: Source/Core/Core/Config/MainSettings.cpp:40, Source/Core/Core/HW/DSPLLE/DSPLLE.cpp:87-105, Source/Core/Core/HW/DSPLLE/DSPLLE.cpp:107-120, Source/Core/Core/HW/DSPHLE/UCodes/AX.cpp:42-69, Source/Core/Core/DSP/DSPCore.cpp:28-71, Source/Core/Core/Core.cpp:556-559
Wii emulation reads keys.bin from the NAND root every time the key store is built, and keeps the built-in keys when it is absent. SYSCONF is read through the emulated filesystem and rebuilt unless it is exactly 0x4000 bytes, and setting.txt is read for its serial number then written again from the emulated region settings. A missing SD card image is created at 128 MB. The three SSL files are hashed with sha256 against values held in the source and refused on a mismatch, once per session. ref: Source/Core/Core/IOS/IOSC.cpp:211, Source/Core/Core/IOS/IOSC.cpp:623-649, Source/Core/Core/SysConf.cpp:19, Source/Core/Core/SysConf.cpp:54-65, Source/Core/Core/Boot/Boot_BS2Emu.cpp:341-352, Source/Core/Core/IOS/SDIO/SDIOSlot0.cpp:90-107, Source/Core/Core/IOS/Network/SSL.cpp:135-181
The WiiConnect24 tree is copied out of Sys/Wii into the NAND at every Wii boot, one file at a time, and a file already present in the NAND is left alone. Copies placed under Wii/shared2/wc24 are therefore the ones that survive, and the shipped blanks only fill what is still missing. Dolphin itself reads nwc24msg.cfg and nwc24dl.bin back out of the NAND, and the rest are there because titles expect them. ref: Source/Core/Core/WiiRoot.cpp:288-322, Source/Core/Core/WiiRoot.cpp:330-335, Source/Core/Core/IOS/Network/KD/NWC24Config.cpp:24-38, Source/Core/Core/IOS/Network/KD/NWC24DL.cpp:23-32
NAND import is compiled into the Android build and wired to both launchers. A
BootMii image writes keys.bin and the three certificates into the NAND root,
the certificates being carved out of the IOS13 content by searching for their
DER headers. The keys have to be appended to the image: the callback that
would ask for a separate OTP dump answers with an empty path here.
ref: Source/Android/jni/WiiUtils.cpp:97-116,
Source/,
Source/Core/DiscIO/NANDImporter.cpp:26-40,
Source/Core/DiscIO/NANDImporter.cpp:189-256,
Source/Core/DiscIO/NANDImporter.cpp:258-267
Every boot looks for a symbol map named after the running game ID, in Maps/ in the user directory alone, and reloads it whenever the running title changes. The game ID comes from the disc or TMD metadata, not from a debugger setting. No map ships with the build. ref: Source/Core/Core/Boot/Boot.cpp:373-399, Source/Core/Core/ConfigManager.cpp:153-162, Source/Core/Core/ConfigManager.cpp:189-199
16 files: 0 required, 16 optional. 12 have an HLE fallback. 14 more files come with the app.
In this collection: 15 in repo, 0 missing and 1 unsourceable.
Optional
Section titled “Optional”| File | Status | Hash |
|---|---|---|
IPL.binGameCube boot ROM, NTSC-U directory
Hashes, validation, source and more
|
in repo HLE fallback Region: North America and Latin America | CRC32 6dac1f2a |
IPL.binGameCube boot ROM, PAL directory
Hashes, validation, source and more
|
in repo HLE fallback Region: Europe and Oceania | CRC32 4f319f43 |
IPL.binGameCube boot ROM, NTSC-J directory
Hashes, validation, source and more
|
in repo HLE fallback Region: Japan and South Korea | CRC32 6dac1f2a |
dsp_rom.binDSP instruction ROM
Hashes, validation and source
|
in repo HLE fallback | - |
dsp_coef.binDSP coefficient ROM
Hashes, validation and source
|
in repo HLE fallback | - |
keys.binBootMii key dump, console keys and identity
Validation and source
|
in repo HLE fallback | - |
SYSCONFWii system configuration
Validation and source
|
in repo HLE fallback | - |
setting.txtWii region and language settings
Validation and source
|
in repo HLE fallback | - |
WiiSD.rawWii SD card image
Source
|
in repo HLE fallback | - |
clientca.pemconsole SSL client certificate
Hashes, validation and source
|
in repo HLE fallback | - |
clientcakey.pemconsole SSL client private key
Hashes, validation and source
|
in repo HLE fallback | - |
rootca.pemconsole SSL root CA certificate
Hashes, validation and source
|
in repo HLE fallback | - |
nand.binBootMii NAND backup
Validation and source
|
in repo | - |
mii.binMii database imported into the emulated Wii Remote
Source
|
in repo | - |
wiitdb.txtuser title database
Source
|
in repo | - |
mios-ipl.mapMIOS symbol map
Source
|
unsourceable | - |
Comes with the app
Section titled “Comes with the app”| File | Status | Hash |
|---|---|---|
font_western.binWindows-1252 font, loaded at 0x1fcf00
Hashes and source
|
HLE fallback | SHA1 483a17ff25b6 |
font_japanese.binShift JIS font, loaded at 0x1aff00
Hashes and source
|
HLE fallback | SHA1 7fbbedcc7a1a |
codehandler.binGecko code handler
Hashes and source
|
- | SHA1 e6c0050b3c67 |
nwc24msg.cfgWiiConnect24 account configuration
Hashes, validation and source
|
- | SHA1 caf8a96a3657 |
nwc24dl.binWiiConnect24 download task list
Hashes, validation and source
|
- | SHA1 27d53b55779a |
nwc24fl.binWiiConnect24 friend list
Hashes and source
|
- | SHA1 472c670d701b |
nwc24fls.binWiiConnect24 friend list backup
Hashes and source
|
- | SHA1 c0bb6540f7f8 |
nwc24msg.cbkWiiConnect24 account configuration backup
Hashes and source
|
- | SHA1 caf8a96a3657 |
misc.binWiiConnect24 miscellaneous state
Hashes and source
|
- | SHA1 08509dd4567f |
wc24recv.ctlWiiConnect24 receive mailbox index
Hashes and source
|
- | SHA1 18cc21df587d |
wc24recv.mbxWiiConnect24 receive mailbox
Hashes and source
|
- | SHA1 5aad884478da |
wc24send.ctlWiiConnect24 send mailbox index
Hashes and source
|
- | SHA1 8fcee88c8cf8 |
wc24send.mbxWiiConnect24 send mailbox
Hashes and source
|
- | SHA1 704a576c5f18 |
Readme.txtnote on the truncated mailboxes, copied into the NAND
Hashes and source
|
- | - |
Profile data
Section titled “Profile data”Valid BIOS CRC32
-
ipl ntsc:
- crc32: 6DAC1F2A, name: NTSC v1.0
- crc32: D5E6FEEA, name: NTSC v1.1
- crc32: 86573808, name: NTSC v1.2
- crc32: 667D0B64, name: MPAL v1.1 (Brazil)
-
ipl pal:
- crc32: 4F319F43, name: PAL v1.0
- crc32: AD1B7F16, name: PAL v1.2
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