HeadlinesBriefing favicon HeadlinesBriefing.com

W4ME Station Runs WASM-4 Games on Java ME Phones

Hacker News •
×

W4ME Station brings unmodified WASM-4 cartridges to CLDC 1.1 / MIDP 2.0 feature phones from the mid-2000s. Thirteen bundled games ship in a 275 KB JAR with no JIT compilation or network dependency required. Both release variants stay under 300 KB.

Two builds are provided: a full variant with optional JSR-75 file browsing and a base variant without it. The runtime implements validated WebAssembly execution with a persistent W4IR cache, full WASM-4 host APIs (graphics, input, audio, disk, text, tracing), and sampled MMAPI audio with streamed MIDI fallback. Controls map to phone keys, keyboard, or an on-screen touch pad. Per-cartridge persistent storage uses checksummed RMS generations.

Installation requires transferring a matching .jad/.jar pair to the device. Additional .wasm files can be loaded via HTTP(S), file:// URLs, or the JSR-75 browser on supported devices. Installed cartridges are cached in RMS for offline relaunch.

Development targets Linux with just, Podman, and Distrobox. The toolchain pins JDK 8, ProGuard, KEmulator, and WABT in a container. Source code is MIT License; bundled cartridges retain their own licenses. Version 1.0.0 artifacts include SHA-256 checksums.