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
20082026
-
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 -
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 -
…[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")
comment by caseyy · 2024-10-10 · in Why Gov.uk's Exit this Page component doesn't use the Escape key -
…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…
comment by rpdillon · 2024-09-24 · in Doomretro – The classic, refined DOOM source port. For Windows PC -
…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…
comment by wang_li · 2024-09-22 · in Doomretro – The classic, refined DOOM source port. For Windows PC -
…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
comment by rpdillon · 2024-09-21 · in Doomretro – The classic, refined DOOM source port. For Windows PC -
…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
comment by caseyy · 2024-09-17 · in China Is Rapidly Becoming a Leading Innovator in Advanced Industries -
…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 -
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 -
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....
comment by caseyy · 2024-06-20 · in Let's write a video game from scratch like it's 1987 -
…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:…
comment by ThatPlayer · 2024-05-29 · in Ask HN: Why do games companies not release source code for old games? -
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 -
…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 -
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 -
…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 -
…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 -
…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 -
…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? -
…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 -
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? -
…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 -
…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) -
…) - 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 -
…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) -
…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…
comment by formerly_proven · 2021-06-26 · in Microsoft admits to signing rootkit malware in supply-chain fiasco -
> 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) -
…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 -
…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 -
Oldie but goodie: https://github.com/id-Software/DOOM
comment by 2OEH8eoCRo0 · 2020-03-08 · in Ask HN: How do I learn C properly? -
…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 -
…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 -
…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…
comment by Vetre · 2018-10-24 · in Show HN: Awesome-code-reading - A curated list of high-quality codebases to read -
…. 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
comment by hyperman1 · 2018-09-21 · in Ask HN: What open source project, in your opinion, has the highest code quality? -
https://github.com/id-Software/DOOM/blob/master/linuxdoom-1....
comment by Yuioup · 2018-09-01 · in After 24 years, Doom II's final secret has been found -
…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 -
…https://github.com/id-Software/Quake https://github.com/id-Software/Quake-2 https://github.com/id-Software/DOOM
comment by test1235 · 2017-03-13 · in Ask HN: What are some examples of good code? -
Maybe try this: https://github.com/id-Software/DOOM
comment by borplk · 2016-09-19 · in Ask HN: What are some examples of well written C/C++ codebases? -
…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…
comment by pjc50 · 2015-10-30 · in Rust-Doom: A Doom renderer in Rust, with no unsafe code -
how about this one :) https://github.com/id-Software/DOOM/blob/77735c3ff0772609e9c...
comment by ins0 · 2015-09-04 · in Really Random Number Generator -
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 -
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....
comment by JasuM · 2015-04-24 · in What happens if you remove randomness from Doom? -
> 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 -
The source is on GitHub: https://github.com/id-Software/DOOM
comment by melling · 2015-03-20 · in Development of Doom -
…source code for Doom [1]. Math tricks were integral to making that game even work back then. [1]: https://github.com/id-Software/DOOM
comment by sdegutis · 2014-01-22 · in Response to "Math is Not Necessary for Software Development" -
…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…
comment by melling · 2013-11-02 · in Michael Abrash's Graphics Programming Black Book -
…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