# Wing Commander Together: co-op for the 1990 DOS Wing Commander, playable in the browser, after eleven years of two brothers reverse engineering a 64K data segment by hand and one year of asking an LLM to finish the port

> Daniel Horn, posting as daniel_rh, put up a Show HN yesterday titled "After a decade of reversing, I got co-op working in DOS Wing Commander." He and his brother Patrick grew up steering one space fighter together, "one of us on controls and the other on the lasers and afterburner boost," and "always dreamed of playing the Wing Commander series cooperatively as wingmates rather than as a two headed hydra in a single craft." Starting in October 2015 they dumped DOSBox memory, found the ship's position, found the game's own functions and learned to call them, then synced two games over TCP and protobuf. By 2020 it worked and nobody could play it. In 2026 it came back as a browser page with room codes, WebRTC and voice chat, and the write-up's last section is headed "And in 2026, machine assisted development helped us laugh together." The disclosure in the thread: "I also used AI for the final step to help compile for the browser and port our TCP networking stack to WebRTC with voice and solve a few lingering bugs." The "8+ years of figuring out how the data segment was organized and how to call original functions was all by-hand hacking."

- URL: https://acceptallhq.com/shipped/2026-11-05-wing-commander-together/
- Section: Shipped
- Published: 2026-11-05T08:34:00-05:00
- Author: MK (https://acceptallhq.com/about/)
- Maker: Daniel Horn (daniel_rh)
- Link: https://news.ycombinator.com/item?id=50369895
- Source code: https://github.com/danielrh/wcmulti

## What it is

**Wing Commander Together** is the 1990 DOS Wing Commander with a second pilot in it. The Show HN went up yesterday under the title "After a decade of reversing, I got co-op working in DOS Wing Commander," and the write-up it links opens with two kids at one keyboard: Daniel and his brother Patrick "would steer our space fighter with one of us on controls and the other on the lasers and afterburner boost." They "always dreamed of playing the Wing Commander series cooperatively as wingmates rather than as a two headed hydra in a single craft."

Now they can, and so can you, in a browser tab. The play page says "Bring your own game": drop in a zip of your game folder or the GOG installer, and "Nothing is uploaded," the files stay in the browser. Enter a room code, pick a callsign, choose a voice setting (off, listen only, push to talk, always on), and fly a story mission with someone else on your wing. From the thread: "If you own Wing Commander, drag in the installer since no game files are hosted. If you don't, the page will load the original DOS/3Dfx version of Vega Strike, before I open sourced it." That fallback is in the Play dropdown as RetroVega. The emulator is a fork of DOSBox ported to Emscripten, GPL-2.0, in the wcmulti repo; the room codes come from lobbylink, a Go matchmaking server he also published.

## How it was built

The write-up is dated like a ship's log. "On October 4, 2015 as I was playing the classic Wing Commander in Dosbox I realized the whole memory probably fit in that 640K Bill Gates apocryphally said 'ought to be enough for anybody'." The game state sat in one 64K data segment. They snapshotted DOSBox memory stopped and moving, diffed the dumps down to a few dozen candidate clusters, and found the ship's position; writing integers into it jolted the ship forward. There were 64 entity slots, and the top comment names the best one: "My favorite finding is that the camera lives in entity slot 0x3D, which is possibly a '3D' reference by the original developers." Firing a laser by poking memory proved too hard, so they found the game's own functions and built a trampoline in a dead string to call them. In 2017 came TCP and protobuf between two copies of the game. In 2020 came typed chat on the wingman's VDU. Then it stalled: "Expecting people to locate a copy of that old game, compile or download a strange version of DOSBox, share each other's public IPs and punch the firewalls and play together was sadly a bridge too far."

The last section is headed "And in 2026, machine assisted development helped us laugh together." "I ported over the transport to lobbylink and asked an LLM to configure the build scripts to target emscripten and take a GOG Inno Setup installer package of Wing Commander and unzip it and use it as data files for emscripten." "And as an added bonus I asked an LLM to add voice chat as well for realtime voice in game using a second WebRTC peer connection to carry audio, if people choose." The thread has the disclosure in one line: "I also used AI for the final step to help compile for the browser and port our TCP networking stack to WebRTC with voice and solve a few lingering bugs." Asked about it, he drew the line exactly where it sits: "that original WC-only 8+ years of figuring out how the data segment was organized and how to call original functions was all by-hand hacking. It was indeed like cutting through a dark forest with no guide." He "upscaled and redid DOS Vega Strike art using AI" for the fallback game too. The thread sits at 218 points and 31 comments as we write, and the write-up ends: "And so we can fly and laugh together."

## Why we picked it

Because the agent got the last mile and the humans kept the first eight years, and the maker said so in the same paragraph. Because the camera lives in slot 0x3D and someone cared enough to notice. Because the hardest part of shipping multiplayer in 2020 was firewalls, and the fix in 2026 was a room code. Drag in your installer, call your brother, and take the lasers. Accept all.
