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
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.
- 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
From the original article
15 min read at fireflyk64.github.ioWhen 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.
By daniel_rh · fireflyk64.github.io
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.