Hacker GitHub

← All repos

id-Software/DOOM

View on GitHub ↗ ★ 19,832 C++

DOOM Open Source Release

51 mentions on Hacker News by 45 people: 5 stories, 46 comments · first 2012-11-26 · latest 2026-06-09

Mentions per year 51 mentions · busiest year 2024 (14)
20082026
  1. The code exists! https://github.com/id-Software/DOOM/blob/master/linuxdoom-1.... And it looks to me like we are mapping each row with a constant y, calculating the "distance" (thus scale factor) only once using just the vertical slope for…
    comment by tadfisher · 2026-06-09 · in Making Graphics Like it's 1993
  2. 1997 would have been an ideal year for this to happen (except for the sound engine): https://github.com/id-Software/DOOM/blob/a77dfb96cb91780ca33...
    comment by rzzzt · 2025-01-06 · in Doom, the Gallery Experience
  3. …[2] https://www.nationalarchives.gov.uk/doc/open-government-lice... [3] https://github.com/id-Software/DOOM/blob/master/README.TXT (before GPL became popular, id software code was distributed with this readme that said "Have fun")
  4. …actual license used explicitly allows later versions of the GPL to be specified in place of GPLv2. https://github.com/id-Software/DOOM/blob/master/LICENSE.TXT > Each version is given a distinguishing version number. If the Program…
  5. …2.0. Which is the only text that puts it under the GPL at all. There is no later version mentioned. https://github.com/id-Software/DOOM/blob/master/README.TXT Regardless, you can't change the license on code you don't own, even if the code…
  6. …Free Software Foundation; either version 2 of the License, or (at your option) any later version. https://github.com/id-Software/DOOM/blob/master/LICENSE.TXT
  7. …yeah, it would be pretty mature to revisit our values and go back to what worked in computing. [0] https://github.com/id-Software/DOOM?tab=readme-ov-file – still has the "have fun" readme. [1] https://github.com/electronicarts/EASTL
  8. …to be doing these sorts of "QA"/functional manual testing. Let's look at the source code for Doom: https://github.com/id-Software/DOOM How many _test files do you see? Millions of people played Doom for endless hours and the quality beats…
    comment by YZF · 2024-08-05 · in How I Program in 2024
  9. Compare/contrast: DOOM-the-engine is open source ( https://github.com/id-Software/DOOM ), even though DOOM-the-asset-and-scenario-data is not. While you need a copy of DOOM-the-asset-and-scenario-data to "use DOOM to run DOOM", you are…
    comment by derefr · 2024-07-23 · in Open source AI is the path forward
  10. That code is a bit too readable for that time period in games, hehe. See Doom: https://github.com/id-Software/DOOM/blob/master/linuxdoom-1....
  11. …example of Doom had the original sound engine library ripped out of the source code for release: https://github.com/id-Software/DOOM/blob/master/README.TXT#L... Similarly Doom 3's source code release had features ripped out:…
  12. Nope, that was explicitly under the "Prohibited Uses" section https://github.com/id-Software/DOOM/blob/77735c3ff0772609e9c...
    comment by Zambyte · 2024-01-17 · in Doom Released Under GPLv2
  13. …and through any medium whatsoever commercially exploit or use for any commercial purpose." [1] https://github.com/id-Software/DOOM/commit/4eb368a960647c8cc...
    comment by mrighele · 2024-01-17 · in Doom Released Under GPLv2
  14. This Github repo was previously released with this license: https://github.com/id-Software/DOOM/blob/77735c3ff0772609e9c...
    comment by barge_glider · 2024-01-17 · in Doom Released Under GPLv2
  15. …you get the original Doom source release license, which is for non-commercial educational use only: https://github.com/id-Software/DOOM/blob/77735c3ff0772609e9c...
    comment by chilmers · 2024-01-17 · in Doom Released Under GPLv2
  16. …Doom had third-party audio playback routines, so the source came with a rewritten sound server: https://github.com/id-Software/DOOM/tree/master/sndserv The bad news: this code only compiles and runs on linux. We couldn't release the dos…
    comment by rzzzt · 2023-12-25 · in GTA 5 source code leaks online
  17. …no test coverage and no auto-generated DI. They're using unsafe pointers all over the place, too! https://github.com/id-Software/DOOM Shall I prepare the postage for the letter in which you'll call John Carmack an MBA? Should we send…
    comment by foooorsyth · 2023-10-23 · in Software disenchantment
  18. …game-engines from the era that have since been released as open-source can also be helpful, like https://github.com/id-Software/DOOM . In both cases notice how simple and elegant a lot of the code is. There is already enough complexity…
    comment by osivertsson · 2023-10-18 · in Ask HN: Good practices for my first C project?
  19. …is open source. Here's the source the engineers that created doom used to build the doom engine: https://github.com/id-Software/DOOM Where is the source used to build this model?
    comment by monocasa · 2023-09-27 · in Mistral 7B
  20. DOOM https://github.com/id-Software/DOOM/tree/master/linuxdoom-1....
    comment by cdiamand · 2023-08-24 · in Ask HN: Where do I find good code to read?
  21. …multiple times in GPT-4's training set, likely alongside multiple annotated explanations. [1] https://github.com/id-Software/DOOM
    comment by LordDragonfang · 2023-07-20 · in Running Stable Diffusion in 260MB of RAM
  22. …looked at these codebases: https://github.com/mit-pdos/xv6-public (based on code from the 70's) https://github.com/id-Software/DOOM (1997) I looked at allocproc() in xv6, and gives you an object from a fixed global array. This is similar…
    comment by chubot · 2023-06-22 · in Some were meant for C [pdf] (2017)
  23. …) - the above is based on insane-adding-machines/DOOM, which is also not simple ( https://github.com/id-Software/DOOM/compare/master...insane-... ) The SDL port itself ( https://github.com/AlexOberhofer/sdl2-doom ) is definitely not simple.
    comment by pizza234 · 2022-09-07 · in Show HN: Quake 1 ported to the Apple Watch
  24. …also gave my maze renderer as an example - pretty much all of it was in C except a tiny part). [0] https://github.com/id-Software/DOOM/blob/master/linuxdoom-1....
    comment by badsectoracula · 2022-01-31 · in How FreeDOS Grew Up and Became a Modern DOS (2021)
  25. …code is likely smaller than a single grand theft auto save file. Just checked, "linuxdoom-1.10" ( https://github.com/id-Software/DOOM ) is 1.26 MB, my GTA save is a little over 500 kB. The GTA save files are actually quite small, likely…
  26. > but the problem is that they have used a third-party library where they cannot legally release https://github.com/id-Software/DOOM The DOOM source code was released without sound support due to this: > The bad news: this code only…
    comment by MayeulC · 2021-01-03 · in Opensource your abandonware (2010)
  27. …ported to freaking everywhere, was released without working sound on DOS because of licenses ( https://github.com/id-Software/DOOM ): > The bad news: this code only compiles and runs on linux. We couldn't release the dos code because of a…
    comment by kllrnohj · 2020-09-23 · in Amnesia is now open source
  28. …The original DOOM is open source, I think. Update: Found it! It's here, but it's the engine only: https://github.com/id-Software/DOOM
    comment by Shared404 · 2020-08-29 · in Super Tux Kart – Linux racing game
  29. Oldie but goodie: https://github.com/id-Software/DOOM
    comment by 2OEH8eoCRo0 · 2020-03-08 · in Ask HN: How do I learn C properly?
  30. …of fixed-point is a good example which should work on any platform as long as sizeof(int) >= 4. https://github.com/id-Software/DOOM/blob/master/linuxdoom-1.... https://github.com/id-Software/DOOM/blob/master/linuxdoom-1.... Addition and…
    comment by snickerbockers · 2019-12-02 · in 0.30000000000000004
  31. …By the way, Doom's random number generator for the game mechanics... not so fantastic [0] :) [0] https://github.com/id-Software/DOOM/blob/master/linuxdoom-1....
    comment by OskarS · 2019-08-13 · in Predictably Random
  32. …the best in the industry. Really worth a read. https://github.com/fabiensanglard/Doom3-for-MacOSX- https://github.com/id-Software/DOOM https://github.com/id-Software/DOOM-3 Monogame: The Open Source implementation of Microsoft's XNA game…
  33. …. It has shown me what a goog balance between nice code and usable code is. If you want tho browse: https://github.com/id-Software/DOOM
  34. https://github.com/id-Software/DOOM/blob/master/linuxdoom-1....
  35. …on in the dark. Remember the No Clipping cheat code? Here’s the source code check to turn it on: https://github.com/id-Software/DOOM/blob/77735c3ff0772609e9c...
    comment by deckarep · 2018-06-13 · in Id Software
  36. …https://github.com/id-Software/Quake https://github.com/id-Software/Quake-2 https://github.com/id-Software/DOOM
  37. Maybe try this: https://github.com/id-Software/DOOM
  38. …vertical features in the modern screenshots. Edit: the original renderer is actually very readable, https://github.com/id-Software/DOOM/blob/77735c3ff0772609e9c... I don't see a great scope for auto-vectorisation etc there. You could write…
  39. how about this one :) https://github.com/id-Software/DOOM/blob/77735c3ff0772609e9c...
    comment by ins0 · 2015-09-04 · in Really Random Number Generator
  40. It's not crypto. It's a game. The whole thing is global mutable state. ( https://github.com/id-Software/DOOM/blob/master/linuxdoom-1.... ). On the original DOS/4GW version, I don't think there were even any synchronisation primitives…
    comment by pjc50 · 2015-07-01 · in The random number generator of DOOM
  41. It reads the next number in the list, it's not a random lookup. See https://github.com/id-Software/DOOM/blob/master/linuxdoom-1....
  42. > https://github.com/id-Software/DOOM/blob/master/linuxdoom-1.... One thing that's clear when reading game source code is that they hard code a lot more than I would writing system or application software. That's to be expected given the…
    comment by benkant · 2015-03-21 · in Development of Doom
  43. The source is on GitHub: https://github.com/id-Software/DOOM
    comment by melling · 2015-03-20 · in Development of Doom
  44. …source code for Doom [1]. Math tricks were integral to making that game even work back then. [1]: https://github.com/id-Software/DOOM
  45. …didn't have to. If you look at Doom, there wasn't a lot of assembler even back in the early 1990's. https://github.com/id-Software/DOOM And according to Carmack, he liked working in C and OpenGL. http://rmitz.org/carmack.on.opengl.html…
  46. …appears to be some Xbox and PS3-specific code as well (not that it's useful to mere mortals) [0] https://github.com/id-Software/DOOM-3-BFG/tree/master/doomcl... [1] https://github.com/id-Software/DOOM
    comment by ConstantineXVI · 2012-11-26 · in Doom 3 BFG Edition source code released