0stars on GitHub
October 27, 2026last update
C++language
MITlicense
What it is
A decompilation of Cotton: Fantastic Night Dreams (Sharp X68000)
From its README: A fan static recompilation of Cotton: Fantastic Night Dreams for the Sharp X68000. The goal is a native Windows and Linux build, which also makes ports to other platforms and, later on, mods practical. All of the game's 68000 code, including its sound driver, is recompiled to native code, so there is no CPU emulator. The only emulated parts are the two sound chips (YM2151 FM and MSM6258 ADPCM), which are hardware with no code to translate.
- DIM/XDF image reader and Human68k FAT12 filesystem (tools/willow/disk.py)
- LZX 0.42 unpacker, recovered from the self-extracting stub (tools/willow/lzx.py)
- Version lock and the verify / ls / extract tools
- Sound driver interface mapped (docs/sound-driver.md)
- 68000 decoder and control-flow analysis of cot.r and ctnsnd.r (docs/analysis.md)
- Code generator: 68000 to C, compiling warning-free (docs/codegen.md)
- Runtime core: memory map, interrupts, Human68k and IOCS calls, the boot chain (docs/runtime.md)
- Video: graphic, text, sprite and BG layers, drawn line by line with raster interrupts (docs/runtime.md)
- Sound: YM2151 (ymfm), MSM6258 and its DMA channel (docs/runtime.md)
- Input: keyboard (as the X68000 keyboard) and gamepads (as joysticks)
- Run at the right speed
- Patches and mod hooks
Games
Get it
No release published yet.
Port Tracker never links downloads. Get it only from the project’s own repository and its Releases page; files offered in comments or on file hosts are a common scam.