Skip to content
NewA calmer, faster ZeroHour
Otherinfo

DOS Wing Commander co-op enabled after decade of reversing

Original title: Show HN: After a decade of reversing, I got co-op working in DOS Wing Commander

Hacker News · AIby daniel_rh ()15 min read1 · 1 read
AI summary · x-ai/grok-4.7Summaries by Vani AI

Memory layout reversal in DOSBox allows one player to control ship and the other to manage lasers in Wing Commander.

After an 11-year effort the author made co-op multiplayer work in DOS Wing Commander using DOSBox. The process involved taking memory snapshots to locate player and wingman coordinates, velocity, and rotation vectors in the data segment. The method was validated by editing memory to control the ship and is now playable in a browser version.

Key facts
  • 11-year journey to identify memory locations for co-op
  • Used stopped-player snapshots to filter background churn
  • Narrowed changes to specific addresses in the 64K data segment
  • Vectors stored as 4-byte floats with 256 as 1.0 scale
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

15 min read at fireflyk64.github.io

When we were kids, my brother Patrick and I would steer our space fighter with one of us on controls and the other on the lasers and afterburner boost. We always dreamed of playing the Wing Commander series cooperatively as wingmates rather than as a two headed hydra in a single craft.

Hacker News · AI

By daniel_rh · fireflyk64.github.io

Read the full article at Hacker News · AI

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.