{
  "commit": "3effc4a043e0fca93f5882c62eba9a2344b02d56",
  "count": 1,
  "generated_at": "2026-11-24T10:38:35Z",
  "items": [
    {
      "id": "melonds-nightly",
      "profile": {
        "core_classification": "community_fork",
        "core_version": "2.0.1",
        "cores": [
          "melonds-nightly"
        ],
        "display_name": "Nintendo - DS (melonDS Nightly)",
        "emulator": "melonDS Nightly",
        "files": [
          {
            "aliases": [
              "NDS_Bios9.bin",
              "nds9.bin"
            ],
            "config_key": "bios_dir",
            "crc32": "2ab23573",
            "description": "Nintendo DS ARM9 BIOS",
            "hle_fallback": true,
            "name": "bios9.bin",
            "note": "The picker rejects any length other than 4096. The core hashes what it loads and keeps the result as a flag rather than refusing the image: a CRC32 other than 2ab23573 marks the BIOS non-native, which forces direct boot and makes SetupDirectBoot copy the Nintendo logo out of the ROM header into the BIOS at 0x20 so DS-to-GBA communication still works. FreeBIOS is substituted when custom BIOS is off.",
            "path": "ds/bios9.bin",
            "required": false,
            "size": 4096,
            "source_ref": "source app/src/main/java/me/magnum/melonds/impl/FileSystemConfigurationDirectoryVerifier.kt:51-53, 100-113, source app/src/main/java/me/magnum/melonds/impl/SharedPreferencesSettingsRepository.kt:149, source app/src/main/cpp/EmulatorArgsBuilder.cpp:19-40, upstream src/MemConstants.h:30-36, upstream src/NDS.cpp:807-811, upstream src/NDS.cpp:277-296, 303-310",
            "system": "nintendo-ds",
            "validation": [
              "size",
              "crc32"
            ]
          },
          {
            "aliases": [
              "NDS_Bios7.bin",
              "nds7.bin"
            ],
            "config_key": "bios_dir",
            "crc32": "1280f0d5",
            "description": "Nintendo DS ARM7 BIOS",
            "hle_fallback": true,
            "name": "bios7.bin",
            "note": "The picker rejects any length other than 16384. A CRC32 other than 1280f0d5 marks the BIOS non-native, which forces direct boot and leaves Key1_KeyBuf zeroed instead of seeding it from offset 0x0030, so cartridge Key1 encryption is unavailable. FreeBIOS is substituted when custom BIOS is off.",
            "path": "ds/bios7.bin",
            "required": false,
            "size": 16384,
            "source_ref": "source app/src/main/java/me/magnum/melonds/impl/FileSystemConfigurationDirectoryVerifier.kt:47-49, 100-113, source app/src/main/java/me/magnum/melonds/impl/SharedPreferencesSettingsRepository.kt:148, source app/src/main/cpp/EmulatorArgsBuilder.cpp:42-62, upstream src/MemConstants.h:30-36, upstream src/NDS.cpp:801-805, upstream src/NDSCart.cpp:138-151",
            "system": "nintendo-ds",
            "validation": [
              "size",
              "crc32"
            ]
          },
          {
            "aliases": [
              "dsfirmware.bin"
            ],
            "config_key": "bios_dir",
            "description": "Nintendo DS firmware image",
            "hle_fallback": true,
            "name": "firmware.bin",
            "note": "Three lengths are accepted and everything else is rejected. Loaded only in DS mode. DSi mode reads the firmware from the DSi directory but still needs this file present, because the DSi check re-runs the DS directory check. Nickname, message, language, colour, birthday and MAC are written into the image before it reaches the core. A firmware the core reports as non-bootable forces direct boot. When custom BIOS is off the core builds a firmware in memory instead.",
            "path": "ds/firmware.bin",
            "required": false,
            "size": [
              131072,
              262144,
              524288
            ],
            "source_ref": "source app/src/main/java/me/magnum/melonds/impl/FileSystemConfigurationDirectoryVerifier.kt:55-70, 120, source app/src/main/java/me/magnum/melonds/impl/SharedPreferencesSettingsRepository.kt:150, source app/src/main/cpp/EmulatorArgsBuilder.cpp:93-185, 289-337, upstream src/NDS.cpp:286-288",
            "system": "nintendo-ds",
            "validation": [
              "size"
            ]
          },
          {
            "aliases": [
              "biosdsi9.bin"
            ],
            "config_key": "dsi_bios_dir",
            "description": "Nintendo DSi ARM9i BIOS",
            "name": "dsi_bios9.bin",
            "note": "Opened as bios9.bin inside the DSi directory. The picker rejects any length other than 65536, and no hash is computed on it. A load failure aborts the launch. DSi boot copies four blocks out of it into ITCM from 0x87F4, 0x9920, 0x99A0 and 0xA9E8, and cartridge Key1 in DSi mode is seeded from 0x99A0. With the boot screen off, the reset vector is overwritten in memory with 0xEAFFFFFE.",
            "path": "dsi/bios9.bin",
            "required": true,
            "size": 65536,
            "source_ref": "source app/src/main/java/me/magnum/melonds/impl/FileSystemConfigurationDirectoryVerifier.kt:76-78, 100-113, 124, source app/src/main/java/me/magnum/melonds/impl/SharedPreferencesSettingsRepository.kt:152, source app/src/main/cpp/EmulatorArgsBuilder.cpp:235-260, 475-477, upstream src/DSi.cpp:950-955, upstream src/NDSCart.cpp:127-134",
            "system": "nintendo-dsi",
            "validation": [
              "size"
            ]
          },
          {
            "aliases": [
              "biosdsi7.bin"
            ],
            "config_key": "dsi_bios_dir",
            "description": "Nintendo DSi ARM7i BIOS",
            "name": "dsi_bios7.bin",
            "note": "Opened as bios7.bin inside the DSi directory. The picker rejects any length other than 65536, and no hash is computed on it. A load failure aborts the launch. Offset 0x8308 holds the ES key used to derive the NAND AES keys, so the NAND cannot be opened without this exact image. DSi boot copies four blocks out of it from 0x8188, 0xB5D8, 0xC6D0 and 0xD718. With the boot screen off, the reset vector is overwritten in memory with 0xEAFFFFFE.",
            "path": "dsi/bios7.bin",
            "required": true,
            "size": 65536,
            "source_ref": "source app/src/main/java/me/magnum/melonds/impl/FileSystemConfigurationDirectoryVerifier.kt:72-74, 100-113, 123, source app/src/main/java/me/magnum/melonds/impl/SharedPreferencesSettingsRepository.kt:151, source app/src/main/cpp/EmulatorArgsBuilder.cpp:262-287, 347, 471-473, upstream src/DSi.cpp:959-962",
            "system": "nintendo-dsi",
            "validation": [
              "size"
            ]
          },
          {
            "aliases": [
              "dsifirmware.bin"
            ],
            "config_key": "dsi_bios_dir",
            "description": "Nintendo DSi firmware image",
            "name": "dsi_firmware.bin",
            "note": "Opened as firmware.bin inside the DSi directory, where only 131072 is accepted against three accepted lengths in the DS directory. Read in DSi mode in place of the DS firmware, and customised the same way. The core has no generator for DSi firmware, so nothing stands in for it.",
            "path": "dsi/firmware.bin",
            "required": true,
            "size": 131072,
            "source_ref": "source app/src/main/java/me/magnum/melonds/impl/FileSystemConfigurationDirectoryVerifier.kt:80-93, 125, source app/src/main/java/me/magnum/melonds/impl/SharedPreferencesSettingsRepository.kt:153, source app/src/main/cpp/EmulatorArgsBuilder.cpp:289-337",
            "system": "nintendo-dsi",
            "validation": [
              "size"
            ]
          },
          {
            "agnostic": true,
            "config_key": "dsi_bios_dir",
            "description": "Nintendo DSi NAND dump",
            "name": "dsi_nand.bin",
            "note": "Opened as nand.bin inside the DSi directory. The only test the app makes is that the entry is a file: no length, no hash. It is opened for read and write and must already exist. The core wants the nocash footer \"DSi eMMC CID/CPU\" at 0x40 before the end, falling back to 0x000FF800 for images cut short by external tools, and reads the eMMC CID and console ID from there to derive the FAT and ES keys with the key at 0x8308 of the ARM7i BIOS. Touchscreen calibration is rewritten in the mounted user data on every launch. Any regional dump works. A DSiWare title is refused unless it is already installed in this image.",
            "path": "dsi/nand.bin",
            "required": true,
            "source_ref": "source app/src/main/java/me/magnum/melonds/impl/FileSystemConfigurationDirectoryVerifier.kt:95-98, 126, source app/src/main/java/me/magnum/melonds/impl/SharedPreferencesSettingsRepository.kt:154, source app/src/main/cpp/EmulatorArgsBuilder.cpp:339-420, 479-481, source app/src/main/java/me/magnum/melonds/domain/services/EmulatorLaunchPreconditionChecker.kt:47-70, upstream src/DSi_NAND.cpp:43-70",
            "storage": "large_file",
            "system": "nintendo-dsi",
            "validation": [
              "existence"
            ]
          }
        ],
        "mode": "standalone",
        "notes": "Android port of melonDS. The emulation code is the melonDS-android-lib\nsubmodule, a fork of melonDS-emu/melonDS pinned at 431ab4bd and declaring\nversion 1.1 (CMakeLists.txt:20), and the app around it is Kotlin plus a JNI layer\nunder app/src/main/cpp.\n\nNightly is a product flavor, not a separate tree: the build dimension \"build\"\nhas prod and nightly, and nightly sets applicationIdSuffix \".nightly\" and the\nversion suffix \" (NIGHTLY)\" (app/build.gradle.kts:63,79-87), giving the package\nid me.magnum.melonds.nightly. Its source set holds an app name and a launcher\nicon (app/src/nightly/res), and the gitHubNightly set points the update check\nat the nightly release instead of the tagged one\n(app/src/gitHubNightly/java/me/magnum/melonds/github/repositories/GitHubNightlyUpdatesRepository.kt:31).\nNo load path differs from the prod flavor.\n\nFiles live in two directories the user picks through the storage access\nframework, stored in the preferences bios_dir and dsi_bios_dir\n(app/src/main/res/xml/pref_custom_firmware.xml:29-39). Both are read by\nbasename, so bios7.bin, bios9.bin and firmware.bin each name a DS image in one\ndirectory and a DSi image in the other. The accepted lengths are what tell them\napart. The app lists the expected names on screen when a directory is unset or\nrejected (app/src/main/res/values/strings.xml:120,122). Entries below carry the\nbasename the app opens in the path, under the console identifier the picker\nbinds to each directory, ds and dsi\n(app/src/main/res/xml/pref_custom_firmware.xml:33,39).\n\nuse_custom_bios defaults off (app/src/main/res/xml/pref_custom_firmware.xml:11,\napp/src/main/java/me/magnum/melonds/impl/SharedPreferencesSettingsRepository.kt:259-261). With it off, launching a ROM\nskips the directory check entirely and the core substitutes FreeBIOS and a\nfirmware built in memory, so DS games run with nothing supplied. Booting into\nthe firmware menu instead of a ROM always turns it on\n(app/src/main/java/me/magnum/melonds/impl/emulator/AndroidEmulatorManager.kt:247-253), as does any per-ROM console override\n(app/src/main/java/me/magnum/melonds/impl/emulator/AndroidEmulatorManager.kt:239). DSi needs both directories: the DSi check\nruns the DS check after its own (app/src/main/java/me/magnum/melonds/domain/services/ConfigurationDirectoryVerifier.kt:13-21).\n\nThe generated firmware keeps its Wi-Fi access point block in wfcsettings.bin,\nread at boot and written back by the emulator\n(app/src/main/cpp/EmulatorArgsBuilder.cpp:189,200-226, app/src/main/cpp/MelonInstance.cpp:58-62). It resolves\nagainst context.filesDir (app/src/main/cpp/PlatformAndroid.cpp:158-163,\napp/src/main/java/me/magnum/melonds/impl/SharedPreferencesSettingsRepository.kt:155), app-private internal storage the\nuser cannot write to, and holds settings this build produced. Not listed below:\nthere is nothing to obtain.\n\nNeither SD card is reachable in this build. getSDCardArgs returns nothing when\na card is disabled (app/src/main/cpp/SDCardArgsBuilder.cpp:19-20) and the JNI layer hardcodes\nboth the DSi card and the homebrew DLDI card to disabled\n(app/src/main/cpp/MelonDSAndroidConfiguration.cpp:95-96), with no preference anywhere in the app\nto turn either on, and the README lists DSi SD card support under missing features. The Action Replay database the core can parse is likewise\nnever built: ARDatabaseDAT is reached only from src/frontend/qt_sdl, and the\nAndroid build sets BUILD_QT_SDL OFF and links the core alone\n(app/CMakeLists.txt:8,74). Cheats are entered in the app's own database.\n",
        "profiled_date": "2026-08-12",
        "prose_written_at": "c42995caff0144f37ad9791dc9bc96d82e8a6f65",
        "source": "https://github.com/rafaelvcaetano/melonDS-android",
        "source_commit": "aaf263d233e65c348d5830db32c593f8b7a8e4c9",
        "systems": [
          "nintendo-ds",
          "nintendo-dsi"
        ],
        "type": "standalone",
        "upstream": "https://github.com/rafaelvcaetano/melonDS-android-lib",
        "upstream_commit": "431ab4bd0003c4356e25fce89640ae1004579b9b",
        "version_basis": {
          "kind": "file",
          "path": "buildSrc/src/main/kotlin/AppConfig.kt",
          "pattern": "const val versionName = \"([^\"]+)\""
        }
      }
    }
  ],
  "kind": "emulators",
  "schema_version": 1
}
