25 ms·
Dwarf Fortress Creator Explains Its Complexity and Origins [video]
- paloaltokid 6y agoThey are adding graphics to the game! And it will be on Steam. It's exciting to see where they are taking it.
- grawprog 6y agoPersonally, I'm more excited for the myths and magic release that he's been working on for the last couple years. That's going to completely change the game and really make each world feel unique. I love dwarf fortress, i've played it for years, but I always hit its limits what feels like far too soon after each release.
- herdodoodo 6y agoGraphics packs have always existed. But I am glad they are putting it on Steam. Hopefully doing so will make it easier to send money Toady and his brother's way. I know he is struggling with cancer right now... sad stuff..
- simaldeff 6y agoThat's great but I wish the creator'd do something about death by FPS. Which is arguably how I end up all the time. I like to build big complex fortresses with a lot of industry and a lot of mining. And oftentimes I end up with a lot of animals to produce meat, leather and bones (had a very promising Draltha industry at one point). It's quite disheartening to put time in a fortress and "die" by FPS just because you are doing good. Will still buy the Steam version (been supporting them for a while now).
- grawprog 6y agoBeing able to explore goblin spires and human cities in adventure mode would be nice too. It's sad when you have to avoid exploring the biggest city in your world mode because taking a step takes two minutes or more. It sucks all the more because exploring things in cities in adventure mode has given some of the best roleplaying adventures i've had in a game. It just take so damn long to do anything. Can't think of any other game i've played where the leader NPCs of a city were vampires who'd taken over the city a few hundred years ago and were at war with a church started by a human who found jewelry created by a dwarf who'd ran away after murdering a child and crafting their bones into jewelry in a fell mood that was found by a random human in the city who started a cult around it, who then took up a personal vengeance with the vampire overlords and were undergoing covert operations against them that i disrupted when I killed the fuck out of everyone, gathered the child bone jewelry and read about that shit in legends. All procedurally generated and created on the fly through the simulation of all those respective NPC's lives.
- hombre_fatal 6y agoOnly game I've played with emergent (alt-history) stories like that is Crusader Kings. Every friday the subreddit has stickied thread for sharing in-game stories: https://old.reddit.com/r/CrusaderKings/comments/hc4iyp/feudal_friday_june_19_2020/ https://old.reddit.com/r/CrusaderKings/comments/hc4iyp/feuda... https://www.destructoid.com/crusader-kings-ii-s-community-is-hilarious-when-taken-out-of-context-514623.phtml https://www.destructoid.com/crusader-kings-ii-s-community-is...
- chongli 6y agoCaves of Qud [1] is a fantastic roguelike with procedurally generated backstory, quests, towns, etc. If you like the classic Fallout games (1 & 2) and you enjoy roguelikes with a lot of weird stuff, I think you’d get a kick out of CoQ. The game has incredible atmosphere that gives you this feeling like you’re exploring a real, living, breathing world. There’s a lot of depth to the gameplay as well, with deep character building and a complex crafting system. I really want to get back to playing it but I’m in school right now and have a ton of work to do! [1] http://www.cavesofqud.com/ http://www.cavesofqud.com/
- kibwen 6y agoI just learned about Caves of Qud by this great talk by its developer that goes over examples of its procedural history generation: https://www.youtube.com/watch?v=ClGAApZYIvI https://www.youtube.com/watch?v=ClGAApZYIvI Apparently it's slated to leave early access in Q4 2020, so I'm holding off on buying it for the moment, but I'm very eager to play it.
- chongli 6y agoDefinitely make sure you don’t forget to play it. It’s an absolute treasure. I’ve played to the end of the campaign so far and I can’t wait to play some games again when I get on a work term this fall!
- programd 6y agoAnd here is the paper [1] about how they procedurally generate the histories in Caves of Qud. Very interesting both from a storytelling theoretical point of view, and from a practical programming point of view (state machines and replacement grammers) [1] http://www.freeholdgames.com/papers/Generation_of_Mythic_Biographies_in_CavesofQud.pdf http://www.freeholdgames.com/papers/Generation_of_Mythic_Bio... Makes you wonder what you could do applying something like the GPT-3 AI text model to this kind of problem (history generation).
- stryan 6y agoConsidering DF is still all mostly single threaded and IIRC Toady doesn't really know how to make it multi-threaded (per his own admition) that might take a while.
- Twinklebreeze 6y agoEvery time multi-threading gets brought up one of the devs explains that being single threaded isn't the bottleneck. It is the cpu cache that is the bottleneck.
- foota 6y agoDon't modern processors have more cache available between all cores than available to a single core?
- jayd16 6y agoThey must mean its memory I/O bound.
- foota 6y agoI think they meant it only runs quickly enough when everything's in cache? But that doesn't make much sense to me. It's really hard for me to believe it'd be I/O bound though, when memory bandwidth is like tens+ of gigabytes per second?
- imtringued 6y agoIO bound can also mean that memory latency is a problem. It's not difficult to believe that DF is doing lots of pointer chasing.
- ViViDboarder 6y agoDoes that sound right? Do I have this wrong: there is too much to cache so some of the memory goes to RAM or disk where loading will take longer than cache. You could move some of the loading to another thread so that the UI (text or otherwise) can continue while other data in the backend is moved around between cache, RAM, and disk, and then processed before sending to the interface.
- ruste 6y agoI've started enjoying the game a lot more when I lowered my population limit (like to 10-15) and started playing smaller forts. Makes FPS death much less of a problem and means I can actually take care of my dwarves instead of rushing to keep up with population growth. Not breaching the caverns also helps a _lot_ with FPS.
- AdmiralAsshat 6y agoI don't expect it anytime soon, though. I added the game to my Steam wishlist soon after it was announced on Steam. That was in March of 2019.
- herdodoodo 6y ago>That hairline It's over... just shave it
- 29athrowaway 6y agoSome casual alternatives to Dwarf Fortress include Gnomoria or Rimworld. They do not have the same level of depth, but they're enjoyable.
- sgillen 6y agoShould also checkout Kenshi, on the surface very different, but in practice I think it can scratch a similar itch.
- itgoon 6y agoI liked Kenshi, but it was a bit too shallow and rather janky. I am looking forward to Kenshi 2.
- sgillen 6y agoHaha yeah, I consider Kenshi to be the jankiest game that I consider worth playing.
- CathedralBorrow 6y agoFor me, that title was recently taken over by My Summer Car.
- herewulf 6y agoGnomoria
- 29athrowaway 6y agoEdited, thanks.
- ducaale 6y agoThere is also Cataclysm: Dark Days Ahead[1] which is open source [1] https://github.com/CleverRaven/Cataclysm-DDA https://github.com/CleverRaven/Cataclysm-DDA
- pkilgore 6y agoAs you might imagine after watching, and if you haven't read it before, the Dwarf Fortress change log[1] is a thing of absolute beauty. > - 0009195: [Dwarf Mode -- Pets] Cats dying for no reason - alcohol poisoning? - resolved. [1] https://www.bay12games.com/dwarves/mantisbt/changelog_page.php https://www.bay12games.com/dwarves/mantisbt/changelog_page.p...
- KMnO4 6y agoFor anyone doubting the complexity of Dwarf Fortress, the dying cats bug provides a fantastic glimpse. > Cats have a self-cleaning interaction that contains the [IE_SYNDROME_TAG:SYN_INGESTED] tag [...] They might be walking through spilled alcohol, licking it off their fur and ingesting the drunkenness syndrome. Toady also said alcohol effects are related to body size, so it theoretically wouldn't take much to do them in. > Haven't made a tavern yet myself, but does alcohol routinely end up on the floor? So Dwarf Fortress simulates 1) spilling alcohol, creating puddles on the floor, 2) cats walking through puddles getting dirty with the puddle’s contents, 3) dirty cats having the desire to clean themselves, 4) self-cleaning leads to the substance being ingested, 5) ingestion of alcohol intoxicates the cats as a function of their body size
- ehsankia 6y agoHe actually goes in depth in the first 5m of the video. There's also the whole eyelid thing.
- grawprog 6y agoModding dwarf fortress is ridiculously fun. All the raws are a plethora of awesome just too detailed things like that.
- deleted 6y ago[deleted]
- floatingatoll 6y agoIt helps if you think of it as 1a) spilling liquids, creating puddles on the floor; and, 1b) alcohol includes the property liquid; because then you can start considering scenarios like "if I spill a potion of rampage, would the cat go berserk?" — and I don't know whether a potion of rampage exists, but if it does, I expect the answer would implicitly be 'yes' because DF is coherent like that. There are absolutely a few 'potions' mods and so someone motivated could test this :) Until then, please enjoy this interview with the creator of Dwarf Fortress. I quote a paragraph about the puzzle of intersecting the side effects (blisters and flight) of a potion of happiness with the simulated motivations of a slightly depressed dwarf: https://www.bay12games.com/media/df_talk_8_transcript.html https://www.bay12games.com/media/df_talk_8_transcript.html > But just in general things like a potion that makes you happy ... there are two obstacles there now in the current system. One of them is that you'd need to have the effect, you'd need to give the modder or vanilla modding control to change the happiness of a dwarf, so it's not just giving blisters or whatever but there's a new effect, and that list is just going to increase over time and hopefully cover the basis. The other problem is to get a dwarf to actually use the thing; to recognise that there's now this flask filled with this juice that when you drink it it makes your happiness one hundred and fifty percent for a week, and having the dwarf know that that's something that needs to be used is a large problem, especially for a modding situation where you make happiness juice that gives you blisters and makes you fly ... when do you drink it? I don't know, it sounds like an adventure mode thing; the adventurer would take that journey, but not necessarily a dwarf craftsman that's feeling a little bummed out.
- Trasmatta 6y agoI would love to be able to read the Dwarf Fortress source someday. I know Tarn considers Dwarf Fortress to be his life's work, so it would be amazing if he decided to release the source someday -- even if that's 10, 20, 30 years from now.
- pengaru 6y agoHe wrote Liberal Crime Squad [0] which is GPL. If LCS is any indication, the code in DF will be a horrible mess. [0] https://sourceforge.net/projects/lcsgame/ https://sourceforge.net/projects/lcsgame/
- nitwit005 6y agoThat style seems similar to a number of other terminal games. I think it's just the natural pattern to grow more and more switch statements and arrays if you expand your game without major refactoring. At one point I tried to edit Nethack to make it impossible to die. It was kind of shocked by all the random checks strewn throughout the code.
- LanceH 6y agoA dwarf can only dig deeper.
- Trasmatta 6y agoThanks, just spent some time browsing through that source. At first I was going to say it didn't look too bad, but then saw some comments from someone named Chris Johnson that everything used to be contained in a single game.cpp file. The current state of the source honestly doesn't look too bad. Some large and scary case statements and functions, but that's not always a terrible idea in game dev, and it looks to be well commented. But I'm not sure how much of that is thanks to Tarn or other people that have cleaned up the source. That being said, LCS came out in 2004, so presumably Tarn has improved over the years.
- genocidicbunny 6y agoFrom my understanding, Tarn first and foremost focuses on making the game fun (and Fun) rather than making the code well-organized and clean; I seem to recall some interview or maybe forum post where he made that clear. In practice that likely means that the code is not all that well organized and planned out. Doubly so if he and his brother have been the only ones who have touched it -- there's a lack of outside influence that would drive one to clean up their code. I of course have not seen any of the source code for DF, so I this is purely my own hypothesis.
- eindiran 6y agoI attempted to play DF in high school many years ago, booted it up and was immediately overwhelmed. I ended up uninstalling it and forgetting about the game for a long time. Recently I remembered the game and gave it another shot, and have been having a lot of fun [0]. Having the noob pack available to try out some titlesets made it a lot more approachable as well. And there have been a lot of quality of life improvements for new players; I think the Steam release will add a lot more in this direction as well. There is also a large community of content creators who play the game and post the stories of their fortresses. This can be an interesting place to jump in. I enjoy Kruggsmash's videos [1] and if you haven't heard it yet, a classic DF story is Boatmurdered, from the Something Awful forums. I recently listened to this reading of the story: [2] [0] https://dwarffortresswiki.org/index.php?title=Fun https://dwarffortresswiki.org/index.php?title=Fun [1] https://www.youtube.com/user/kruggsmash https://www.youtube.com/user/kruggsmash [2] https://www.youtube.com/watch?v=CZF59Dkk73g https://www.youtube.com/watch?v=CZF59Dkk73g
- eindiran 6y agoIn case anyone wants to try out the game, these are two great tutorials for very recent releases: * https://www.youtube.com/watch?v=QtQyRNNEMRA https://www.youtube.com/watch?v=QtQyRNNEMRA * https://www.youtube.com/watch?v=eTeQJOC1H38 https://www.youtube.com/watch?v=eTeQJOC1H38 Head over to the Bay12 Games forums (https://bay12games.com/dwarves/ https://bay12games.com/dwarves/) and find one of the noob packs for your platform (there are versions for macOS, Windows, and Linux). Download and install it. It'll take a few hours to create the world, so let it run over night or plan to watch DF tutorials while it runs.
- genocidicbunny 6y agoCreate a smaller world with a shorter history and it shouldn't take more than a couple of minutes. No need to overnight it -- not like a new player's going to get quite as much out of the extensive history of the world, so might as well get to playing sooner.
- dmonitor 6y agoI can see it being very fun for a certain kind of person, but I don’t think most people will get a ton of pleasure from just making your base bigger without any end goal
- snide 6y agoNice to see NoClip getting some love on HN. I'm an unabashed Danny O'Dwyer fan and I think this community would enjoy all of NoClip's work if this is your first taste. His docs cover quite a few behind the scenes stories that I feel all us startup / programmer folks can relate to. His work captures the heart of what it means to be a creator. My dream is that one day he makes a doc about the community around Vim. It'll never happen, but a boy can dream. Some of my favs The untold story of Astroneer's development https://www.youtube.com/watch?v=tfUjl4owxTQ https://www.youtube.com/watch?v=tfUjl4owxTQ Doom: To hell and back https://www.youtube.com/watch?v=PS6SBnccxMA https://www.youtube.com/watch?v=PS6SBnccxMA
- dgritsko 6y agoNoClip is fantastic; I also really enjoyed the Rocket League[1] and Half-Life[2] documentaries. Danny just seems like a genuinely nice guy who just loves to tell the stories behind these games, it's awesome to see the success he's had with NoClip. [1]: https://www.youtube.com/watch?v=Om0j9SLBDPQ https://www.youtube.com/watch?v=Om0j9SLBDPQ [2]: https://www.youtube.com/watch?v=BQLEW1c-69c https://www.youtube.com/watch?v=BQLEW1c-69c
- pdrummond 6y agoThe NoClip Spelunky[1] documentary is also particularly good. [1] https://www.youtube.com/watch?v=jv434Xyybqc https://www.youtube.com/watch?v=jv434Xyybqc
- oakesm9 6y agoI went into the Astroneer doc without knowing much about the same or the circumstances of how the game was completed. It hit me really hard...
- opportune 6y agoI have been playing dwarf fortress for about 7-8 years. If anybody has any questions feel free to ask me. I think the difficulty of learning the game is overstated: if you follow a tutorial, use a graphics pack, and use dwarf therapist (dwarf therapist is a must, most experienced players also use this because it's just a better UI) I think you can get the hang of the game in a few hours of play time. Probably the biggest barrier to learning the game is the UX but if you're a programmer that will be much easier to learn. I recommend https://dwarffortresswiki.org/index.php/DF2014:Quickstart_guide https://dwarffortresswiki.org/index.php/DF2014:Quickstart_gu... and https://dwarffortresswiki.org/index.php/DF2014:Dwarf_fortress_mode https://dwarffortresswiki.org/index.php/DF2014:Dwarf_fortres... as guides, and I recommend downloading the "Lazy Newb Pack" version compatible with your operating system, as it makes switching graphics and managing utilities/settings very easy.
- tetris11 6y agoI found that you get used to the ascii after a while. Now I dont even see the code, just blonde, brunette, redhead, quantum stockpile...
- opportune 6y agoYeah, once you get accustomed to the tilesets for a bit it becomes trivial to switch to ascii. But I think it's nice to learn using the tileset because it's usually pretty clear what something is.
- csunbird 6y agoI think the joke went flying over your head. Edit: It is a Matrix reference, where Neo asks Tank if he can understand what is going on by just looking at the green characters whizzing in the screen. He answers "You get used to it after a while. ... For example, I see blondes, brunettes, redheads ... " Edit 2: I guess I remembered it wrong, it was Cypher!
- opportune 6y ago
- dopu 6y agoDF is wondrous not just because of what it is (I think it's one of the greatest living examples of the artistic potential of computers as a medium), but also because of how it came about. In a society which does about nil to allow for this kind of deep creative work to flourish (I mean, was Toady basically living on ramen for most of the 2000s?), the Adams brothers set out and did it anyway. And we're getting to see it happen in real time!
- nix23 6y agoDF and Aurora are the two 'games' i sunk the most time in by a far margin, what two pieces of great software!!!
- speps 6y agoHave you heard about Brogue[1]? [1] https://sites.google.com/site/broguegame/ https://sites.google.com/site/broguegame/
- playworker 6y agoCogmind might be worth a look too, the author's dev blog is also superb. https://www.gridsagegames.com/cogmind/ https://www.gridsagegames.com/cogmind/ https://www.gridsagegames.com/blog/ https://www.gridsagegames.com/blog/
- hyperion2010 6y agoAfter watching this I went to go check in on my last fort that I played which was about two years ago. Turns out the countless hours I spent herding dorfs in college have left me with an instinctive memory of the key bindings over a decade later. DF has such incredible depth and nearly infinite replayability. It struck me today that despite all that time playing I have never actually made it to a fort that was able to produce adamantine weapons, and you know what? Loosing really IS fun! DF is one of those works of art that truly elevates our sense of the possible. Now, if only we could convince Toady to work on multithreading ....
- tetris11 6y agoOr just opening the graphics interface ever so slightly. Those menus do not need to be so convoluted as they are, and plenty of fans would jump in to do a UI overhaul if allowed.
- Asuchug4 6y agoDFhack already modifies many parts of GUI. Changes in trade window or construction building(floors/walls) are so convenient I refuse to play new DF release until dfhack is able to support it.
- imtringued 6y ago>Now, if only we could convince Toady to work on multithreading .... I have thought about this problem mostly because Minecraft runs like shit when you overload it with 300 mods. It's much harder than you think. Unfortunately there is no "easy" solution. Converting single threaded code 1:1 would only be possible if you could guarantee that no deadlocks will occur and that requires trickery unique to the problem at hand. It's not really a scalable solution. If you can, you should try to avoid acquiring more than one lock at a time but that also means you will have to rewrite everything to use message passing. Rewrites mean bugs and no new features for a long time.
- INTPenis 6y agoI love DF. I played it for so many years that I knew all the bindings I needed by heart. It was insane. But I left it alone many years ago, like 6 years ago at least. And after that I feel like you can get the same joy from simpler games, and prettier games, like Rimworld and Oxygen not included. Sure they'll never be as complex and deep as DF but they're much simpler to get into after not having played and they don't have a steep learning curve. To this day I'm on the lookout for DF-like games on Steam. And I'm still waiting for DF to come out on Steam to give it another shot.
- hinkley 6y agoI tried to get into DF by watching some of the better play through videos. It was fun but in the end it just inspired me to pick up Oxygen Not Included again.
- zajio1am 6y agoI played DF for a while and seems to me that its main usability problem is not text graphics, but general bad UI design. It can be used as a cautionary example of why action-object (instead of object-action) approach and many-modes lead to bad usability.
- hu3 6y agoInteresting. So it's better to have a character interact with the object and then br presented with action options? I've been trying to learn game design.
- otikik 6y agoI have learned to enjoy the game, but I enjoy it despite the abismal UX. I know other people can interiorize it, and that's cool, but it is not my case. To be precise: I don't mind having keyboard shortcuts for lots of things. I think that's good UX. But all options should be mouse-clickable too. I find the separation between Designations, Piles and Burrows (or whatever they are called) very confusing. In my mind they should be the same kind of "thing" in the UI (a "zone"). Farms are their own "kind of zone", with a custom UX which looks like the one used for building walls (which is just bad imho, just let us click on the two corners please). That brings us to my biggest grip: lack of consistency across different windows. The initial overmap has a set of keys. The initial "prepare your journey carefully" has a different set of keys for moving around the menus. Then the zone designation window has yet another set of keys to navigate through the menu. The fortress task manager (where you queue new tasks) has another. When a merchant caravan asks you what items they should bring next year, that also comes with a custom UI which is not used anywhere else (and also has its custom set of keys). The steps required to set tasks on each dwarf are so contorted that there is a dedicated tool (Dwarf Therapist) just for that. And over all this, there is the military management window, which I have never been able to master (I just rely on traps and atom smashers to deal with baddies, mostly because of this, and the fact that ranged attacks have been broken for a while). I wish Dwarf Therapist could handle that one as well. This lack of consistency combined with the lack of mouse support means that in order to play this game one needs to learn and interiorize a bunch of keystrokes /for each single window in the game/. I understand that for others this is not a huge deal, but this really puts me off. I don't have the mental agility I used to have when I was younger and makes the game a struggle for me. But the stories produced are great. On that note, if you just want to see Dwarf Fortress stories and don't want to have to deal with all the UX issues I just mentioned, I recommend the Kruggsmash channel. He really takes this game to another level: https://www.youtube.com/user/kruggsmash https://www.youtube.com/user/kruggsmash
- deleted 6y ago[deleted]
- totetsu 6y agoI wish they hadn't stopped the DF TALK podcasts. Listening to Tarn talking in crazy detail about the 10 year plan for some new feature was one of the sweetest ways to fall asleep.
- ckemere 6y agoI've been thinking for a while that the creator of Dwarf Fortress should win. Macarthur award. If any nominators read the HN comments, please consider!
- jcrites 6y agoDwarf Fortress sessions have been fun, but Oxygen Not Included provides a lot of the same type of satisfaction (unfortunately with no combat aspect, but much more complicated designing and building of systems) with great graphics and great UX. It's 40% off on Steam right now: https://store.steampowered.com/app/457140/Oxygen_Not_Included/ https://store.steampowered.com/app/457140/Oxygen_Not_Include... The simulation is highly detailed, but in a different way than DF: liquids, gases, creatures in the environment, and networks of machines that you build to produce food and oxygen, recycle various elements, manage germs, and generally keep your base alive. ONI is made by Klei Entertainment, an experienced team, which is primarily known for the game series called Don't Starve. It was in early access for a while and launched in July 2019. They've been adding more content periodically for free since then. I've enjoyed games of DF, but I'd find it hard to come back to after having played games like Oxygen Not Included, Prison Architect, Rimworld, Frostpunk, Banished, and so on. I'm looking forward to seeing what they come up with for the Steam release, though, and maybe be willing to give it another try. Factorio is absolutely amazing, but that's an entirely different kind of game.