{
  "commit": "3effc4a043e0fca93f5882c62eba9a2344b02d56",
  "count": 1,
  "generated_at": "2026-11-24T10:38:35Z",
  "items": [
    {
      "id": "swan-emu",
      "profile": {
        "core_classification": "community_fork",
        "core_version": "1.5.85",
        "cores": [
          "swan-emu",
          "Swan.emu",
          "SWAN-EMU"
        ],
        "display_name": "Bandai - WonderSwan / Color (Swan.emu)",
        "emulator": "Swan.emu",
        "files": [],
        "mode": "standalone",
        "notes": "Member of the EX Emulator series by Robert Broglia, which targets Android and\nLinux (README.md:1,3-4,12-13) and keeps iOS and Pandora build shortcuts in the\ntree (Swan.emu/ios.mk, Swan.emu/pandora.mk). Published as\ncom.explusalpha.SwanEmu (Swan.emu/metadata/conf.mk:2,6,7) and reached by ES-DE\nthrough its SWAN-EMU find rule, which only the Android rule set carries.\nMednafen's WonderSwan module, itself descended from Cygne, is vendored under\nSwan.emu/src/wswan (Swan.emu/metadata/conf.mk:8,\nSwan.emu/src/main/AppMeta.cc:27) on the 1.32 line\n(EmuFramework/include/shared/mednafen/mednafen-config.h:167) and driven by the\napp's own video, audio, input and save layers. Three files differ from the\nMednafen 1.32.1 release: the pixel format and sound rate hooks move to the app\nand the button latch is dropped for a value the input layer writes directly,\nthe save file calls are removed from loading and closing, and the SRAM and\nEEPROM writes signal the app's backup memory\n(Swan.emu/src/wswan/main.cpp:91,95, Swan.emu/src/main/Main.cc:96,104,119,\nSwan.emu/src/main/input.cc:97,102, Swan.emu/src/wswan/memory.cpp:160-164,\nSwan.emu/src/wswan/eeprom.cpp:164-169). The debugger and the disassembler are\nleft out of the build (Swan.emu/src/CMakeLists.txt:6-22). Content is read from\n.ws, .wsc and .bin files (Swan.emu/metadata/conf.mk:5,\nSwan.emu/src/main/AppMeta.cc:30). An archive is opened by the framework, which\nkeeps the first entry passing that same filter\n(EmuFramework/src/EmuSystem.cc:394-412).\n\nThe content image is the only one the app loads. It is read into a 64 MiB\nbuffer, refused under 64 KiB or over 64 MiB, rounded up to 64 KiB then to a\npower of two with the image sitting at the end of the buffer, and hashed for\nthe save file names (Swan.emu/src/main/Main.cc:91-97,\nEmuFramework/src/shared/mednafen-emuex/MDFNUtils.hh:133-146,\nSwan.emu/src/wswan/main.cpp:236-257,294-299). Byte 5 of the footer selects\neither an EEPROM of 128, 1024 or 2048 bytes or battery RAM of 8 KiB to 512 KiB\n(Swan.emu/src/wswan/main.cpp:317-333). A 512 KiB image carrying ELISA at\n0x70000 whose last 16 bytes hash to crc32 0x0d05ed64, minus three blacklisted\nimages, is taken for WonderWitch firmware and read as content\n(Swan.emu/src/wswan/main.cpp:273-291,351-352).\n\nNo boot ROM is read. Reset writes a built-in table of 200 power-on values to\nthe I/O ports, less the four EEPROM data ports\n(Swan.emu/src/wswan/start.inc:12,\nSwan.emu/src/wswan/main.cpp:66-70) and the memory reset writes at 0x75AC the\neight identifier bytes the boot ROM would have left\n(Swan.emu/src/wswan/memory.cpp:801-808). The internal EEPROM is a built-in\n0x400 byte image copied at init, then personalized in place with the name,\nbirth date, sex and blood type of the WonderSwan User Profile menu, and the\nlanguage flag reaches the hardware the same way\n(Swan.emu/src/wswan/eeprom.cpp:31,33,183-214,\nSwan.emu/src/wswan/memory.cpp:748-772, Swan.emu/src/wswan/main.cpp:377,\nSwan.emu/src/main/EmuMenuViews.cc:34-155,\nSwan.emu/src/main/options.cc:117-165).\n\nNo firmware path exists by construction: the app answers Mednafen's file name\nrequest for save states, saves and save backups only, and any other kind ends\nin unreachable() (Swan.emu/src/main/options.cc:179-189). The module's own save\nreader and writer, which would open a .sav and, for WonderWitch, a 524288 byte\n.flash image, are unreachable, both call sites of the Mednafen release having\nbeen removed from loading and closing (Swan.emu/src/wswan/memory.cpp:674-740,\nSwan.emu/src/wswan/main.cpp:223-226,377-379). The comms setting is answered\nfalse and its program path empty, so the serial link never forks a helper\n(Swan.emu/src/main/options.cc:159-160,173-174,\nSwan.emu/src/wswan/main.cpp:379, Swan.emu/src/wswan/comm.cpp:40-71). Cheat\nloading and IPS patching are compiled in from the shared Mednafen sources and\ncalled from nowhere (EmuFramework/src/shared/CMakeLists.txt:11-12,\nEmuFramework/src/shared/mednafen/mempatcher.cpp:251-254,\nEmuFramework/src/shared/mednafen/file.cpp:38-53), and the music rip player\nroutines are stubs (EmuFramework/src/shared/mednafen-emuex/MDFNApi.cc:87-88,\nSwan.emu/src/wswan/main.cpp:259-268).\n\nPer content the app writes and reads back one .sav holding the EEPROM followed\nby the battery RAM, plus save states and SwanEmu.config\n(Swan.emu/src/main/Main.cc:47-54,56-82, Swan.emu/src/main/system.ccm:155,\nSwan.emu/src/main/AppMeta.cc:28,\nEmuFramework/src/shared/mednafen-emuex/MDFNUtils.hh:76-122,\nEmuFramework/src/EmuSystem.cc:168-172). ui.png, gpOverlay.png and the shader\nsources are drawn from the application bundle\n(EmuFramework/include/emuframework/AssetManager.hh:61-66,\nEmuFramework/src/AssetManager.cc:58-70,\nEmuFramework/src/VideoImageEffect.cc:163-173), as is the interface font on a\nbuild without fontconfig (imagine/src/font/FreetypeFont.cc:271-289). The app\ndeclares no bundled content, the framework definition defaulting to an empty\nspan (EmuFramework/src/AppMeta.cc:40,\nEmuFramework/include/emuframework/AppMeta.hh:66-68).\n",
        "profiled_date": "2026-08-12",
        "source": "https://github.com/Rakashazi/emu-ex-plus-alpha",
        "source_commit": "1c12fac5ce49badaadff2e2f210dcc30b89f4943",
        "systems": [
          "bandai-wswan",
          "bandai-wswanc"
        ],
        "type": "standalone",
        "upstream": "https://mednafen.github.io/",
        "version_basis": {
          "kind": "file",
          "path": "EmuFramework/metadata/conf.mk",
          "pattern": "^metadata_version\\s*=\\s*(\\S+)"
        }
      }
    }
  ],
  "kind": "emulators",
  "schema_version": 1
}
