News for hackers. Stuff that matters.
Re:Show HN: After a decade of reversing, I got co-op working... by daniel_rh on Wednesday November 04, 2026 @02:08PM (#50370118)
Author here: in 2015, I was playing the classic Wing Commander in DOSBox and suddenly realized the game state fit in the 64k data segment.

Over ten years my brother and I went through a set of experiments (stop and go, turn, communicate) while probing the memory. We uncovered where the variables were, how to inject calls into the game functions, and how to sync the gamestate across the network, so we can fly the story missions together.

My favorite finding is that the camera lives in entity slot 0x3D, which is possibly a "3D" reference by the original developers.

You can play it at https://fireflyk64.github.io/dosbox in browser. 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. I upscaled and redid DOS Vega Strike art using AI, but it now has multiplayer and a similar feel.

I'll be in the lobby for the next few hours if anyone wants to fly together.

Disclosure: 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.

Re:Show HN: After a decade of reversing, I got co-op working... by frikk on Wednesday November 04, 2026 @03:47PM (#50371276)
helllllll yeah. i think it's awesome when domain experts and clever humans use AI to automate the implementation after they've designed the path through the forest. Nice work.
Re:Show HN: After a decade of reversing, I got co-op working... by daniel_rh on Wednesday November 04, 2026 @04:05PM (#50371512)
I definitely used AI to bring my old Vega Strike DOS game up to speed and make it work with the layout. Some of the art is better than the rest, but it did feel good to dust off the old dos game from the geocities era and write an equivalent "accelerator" in DOSBox, so that we could get 640x480 graphics in dos. The new Vega Strike is still being developed at https://www.vega-strike.org/

However, 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.

Re:Show HN: After a decade of reversing, I got co-op working... by cadr on Wednesday November 04, 2026 @04:02PM (#50371476)
I don't know if I'm more impressed with the result, or that you kept coming back to it for a decade. Super cool!
Re:Show HN: After a decade of reversing, I got co-op working... by genxy on Thursday November 05, 2026 @02:00AM (#50376032)
You write well.
Re:Show HN: After a decade of reversing, I got co-op working... by atakmim on Thursday November 05, 2026 @06:51AM (#50378062)
If you start today with AI assistance, how long will it take?
Re:Show HN: After a decade of reversing, I got co-op working... by daniel_rh on Friday November 06, 2026 @04:30AM (#50390163)
0 minutes because the entire 11 years this project has been open source on a dosbox branch; therefore, it has all been harvested in the training set, and it's a matter of requesting that the model reproduce the training set and replicate my and others' memory debugging adventures.
Re:Show HN: After a decade of reversing, I got co-op working... by atakmim on Friday November 06, 2026 @03:41PM (#50398204)
Reading my comment again, I realize it sounded not okay and even rude, sorry about that! I didn't want to say AI can just replace 8+ years of hard work and probing memory by hand. I'm curious what parts of the reverse engineering process can be faster with modern AI tools today? What parts still need 100% human logic and trial and error. Amazing job for not giving up on this for so long!
Re:Show HN: After a decade of reversing, I got co-op working... by spiritplumber on Thursday November 05, 2026 @08:05PM (#50386867)
HI DANIEL YOU'RE AWESOME <3 <3 <3

guess what me and kuprin who met on the privateer remake forum are a couple, and i got citizenship <3

miss you!

Re:Show HN: After a decade of reversing, I got co-op working... by n0th3rwcf4n2026 on Friday November 06, 2026 @04:40AM (#50390241)
Hey spiritplumber, that's a nick I have not seen in many years! Are you still working on any of the old models from back during the vegastrike era? I remember you prolificly produced a ton of wing commander models, I think at least some had gotten used in other projects, but then vegastrike 0.5 changed a bunch of formatting?

Anyways just wanted to say I appreciated all the work you did and thought it was cool to randomly run across you here!

Re:Show HN: After a decade of reversing, I got co-op working... by spiritplumber on Saturday November 07, 2026 @12:25PM (#50406278)
hi! did you see the new priv remake? (i wasn't in it) they saw WCU and basically ran with it

what i DID do is a bunch of accurate wing commander 1 and privateer ships for Space Engineers, just yoink them on the steam workshop :)