logoalt Hacker News

Reconstructed Commander Keen 1-3 Source Code

148 pointsby deevustoday at 3:26 AM26 commentsview on HN

Comments

taco_emojitoday at 2:40 PM

I really love that a phpBB board like this still exists outside the dominant social media hellscape of the internet.

show 1 reply
albertzeyertoday at 8:37 AM

Very nice!

This is released under GPL.

I wonder, who is K1n9_Duk3? Does he have the rights to actually release this, and put it under GPL?

What does "reconstructed" mean? Is this disassembled? And if so, is it really ok to put this under GPL then?

geontoday at 7:42 AM

> I had to find names that would allow the variables to appear in the correct order. So after some trial and error, I wrote a small throw-away program that generated a bunch of variables with random names and ran that list of variables through the Turbo C++ compiler. Disassembling the generated .OBJ file showed me which order these variable names would produce

Nice puzzle!

Is the ordering the only thing that can be recovered from the binary? If the hash is available anywhere, it should be possible to brute force the exact original names.

kqrtoday at 8:04 AM

> They used the same routines they wrote for their day jobs at Softdisk in the Keen code. [...] Most of the IDLIB.C code must have come directly from the PC version of Dangerous Dave. [...] there is some extremely strong evidence showing that the id founders used Softdisk's code in their own game. Sure, it's not the code responsible for the smooth scrolling, but it is code they probably didn't have the rights to use.

Huh, this is interesting. Is someone able to provide more detail?

The pace at which Id produced games has always been an inspiration for me. Large amounts of code reuse seems like an important clue as to how they were able to do that.[1] But how were they able to reuse code effectively to such a degree?

[1]: The other clues I have so far are Romero's legendary tool-making abilities, and Carmack's tendency to produce code that gets computers to do things they couldn't before.

show 1 reply
guidedlighttoday at 8:13 AM

These games ran so well on IBM XT computers. Honestly, seeing these games made me realise PC’s could be used for gaming.

Carmack was a genius.

newsre4dertoday at 7:28 AM

Can it help the progress of https://gitlab.com/Dringgstein/Commander-Genius ?

oaieytoday at 6:44 AM

Keeping commander keen alive should be a priority project for humanity!

show 1 reply
GaryBlutotoday at 10:24 AM

Site is intermittently becoming unavailable.