Decompiling Battlefield 1942 for the Web with Multiplayer

x.com1 min read

An independent developer has decompiled the game Battlefield 1942 and ported its shareware demo to the web with multiplayer support. Using an AI assistant, the developer disassembled 57,000 x86 functions into C, compiled the output to WebAssembly via Emscripten, rewrote Direct3D functions to WebGL and OpenGL, and built a custom WebSocket network stack. Open article →

More on this topic