Hi HN! I've been reading a lot about games being de-compiled using LLMs, so I thought that I'd give it a go myself. Back when I was a kid my siblings and I would spend a ton of time playing Crystal Caves on our 286. Given it's age and relatively small footprint, I figured it would be a good target. - I mostly used DeepSeek V4.1 Flash 1017. If there was an issue it struggled with, I would switch to GLM 5.3 which could power through it. - It cost me about $20 to make the WASM port - I chose WASM for portability and so everyone can play it easily - Yes DosBox exists. This was for fun and experimentation - You can play directly at https://crystal-caves.re-cycledair.com/ For next steps (if any) I might add a few quality of life improvements and work towards better code organization.
Repository
vital101/crystal-caves
Crystal Caves C/WebAssembly Port
vital101/crystal-caves
Crystal Caves C/WebAssembly Port
A clean-room, decompilation-driven port of the 1991 shareware Crystal Caves Episode 1 to freestanding C and WebAssembly, verified frame-for-frame against the original EXE.
Visit project- First shared
- Nov 1, 2026
- HN activity
- 21
Show HN@vital101Nov 1, 2026
Show HN: Crystal Caves (1991) – C and WebAssembly port without an emulator
Community