TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Wadzilla. Play DOOM in Zork

94 pointsby ycombireddabout 1 year ago
Wadzilla is currently a PoC. Although in theory it “works”, it does not create an entertaining experience as a game, although to me it is quite fun just too see it output ZIL for all of the rooms in a DOOM WAD, with all of the objects in all of their correct locations by their plain English names, along with the 8-character names for the textures of the walls, floors, and ceilings in their relative positions in the room. Part of that enjoyment of course comes from knowing what it entails just to get that far, so the amount of entertainment you derive from that may be far less. In fact, I suspect that for most people at this point the most amusing thing about Wadzilla will be the very concept of its existence - and of course the name, which I will take credit for while also acknowledging how fortuitous it is that the project practically named itself. “What should I name a tool that converts WAD to ZIL? Oh yeah, right. Of course. Wadzilla.”<p>I share it in this early stage because I suspect many in this audience may enjoy just reading about it, and many others might be excited by it and want to contribute to the effort, and also because I welcome feedback here and contributions by way of GitHub issues and PRs.

19 comments

quuxplusoneabout 1 year ago
+1 to what vijayr02 said: you really need at least screenshots, and ideally just post the .z5 file with a link to iplayif so people can play it directly and see what you&#x27;re talking about. Like this:<p><pre><code> https:&#x2F;&#x2F;iplayif.com&#x2F;?story=https:&#x2F;&#x2F;raw.githubusercontent.com&#x2F;Quuxplusone&#x2F;Advent&#x2F;gh-pages&#x2F;advent.z8 </code></pre> I tried and failed to create the .z5 locally myself. It&#x27;d be easy if your script generated Inform code, but you generate ZIL, and the only tool I was able to find to compile ZIL is ZILF&#x2F;ZAPF, which needs Windows. Here&#x27;s how to create the &quot;output.zil&quot; file using your script...<p><pre><code> git clone https:&#x2F;&#x2F;github.com&#x2F;scottvr&#x2F;wadzilla cd wadzilla curl -O &quot;https:&#x2F;&#x2F;raw.githubusercontent.com&#x2F;dabignerd&#x2F;doom-wads&#x2F;master&#x2F;zips&#x2F;Doom%20(v1.9).zip&quot; unzip &quot;Doom%20(v1.9).zip&quot; pip install bs4 python wadzilla.py --basewad DOOM.WAD </code></pre> But then you need a ZIL compiler to proceed any farther. You can get a compiled ZILF.EXE (for Windows) here:<p><pre><code> curl -O &quot;https:&#x2F;&#x2F;ifarchive.org&#x2F;if-archive&#x2F;infocom&#x2F;compilers&#x2F;zilf&#x2F;zilf-0.8.zip&quot; </code></pre> Or the C# source code and MSVC project files here (seems to use hg, not git, for version control):<p><pre><code> https:&#x2F;&#x2F;foss.heptapod.net&#x2F;zilf&#x2F;zilf </code></pre> But since I&#x27;m on Apple Silicon, both of those avenues seem to be dead ends. I verified that ZILF.EXE &quot;cannot be run in DOS mode&quot; as far as DosBox is concerned. There&#x27;s a thing called WineskinServer that&#x27;s allegedly supposed to let you run Windows code on Macs, but it didn&#x27;t help me; I think it&#x27;s trying to tell me that it needs some proprietary bits (the Windows-system-library equivalent of a disk image or a ROM) in order to do anything useful with an EXE file.
评论 #40535819 未加载
评论 #40536038 未加载
评论 #40536479 未加载
评论 #40536680 未加载
评论 #40535491 未加载
vijayr02about 1 year ago
No screenshots? ;p<p>Also - IMNSHO the obvious name for this project is Zoom - but that&#x27;s been taken by a similar game where you slay your coworkers by talking too much.<p>The next obvious candidate therefore is Dork :)
评论 #40532598 未加载
评论 #40546331 未加载
bitwizeabout 1 year ago
There was an old joke floating around the internet about text-adventure Doom. It went something like:<p><pre><code> There is a demon here. &gt; shoot demon The demon is dead. There is another demon here. </code></pre> When jokes like that turn into serious projects... that&#x27;s pure hack value.
评论 #40536375 未加载
crooked-vabout 1 year ago
Have you considered an Inform 7 version at some point? (<a href="https:&#x2F;&#x2F;ganelson.github.io&#x2F;inform-website&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ganelson.github.io&#x2F;inform-website&#x2F;</a>)
评论 #40532432 未加载
评论 #40532382 未加载
karmakazeabout 1 year ago
This seems interesting to me in the context of ML research <i>(not that I know anything about that)</i>. We have generative AI and this is sort-of the reverse doing compression like turning an interactive movie into an interactive book. I know it&#x27;s reading the code of the graphics, but that could serve as labelled data for training image to text generation. Image to text isn&#x27;t new, but if the sequences of images to text could tell a coherent story that could be interesting. Perhaps we need many people playing Doom with running commentary on the evolving story for data.<p>Or we could do the same for an adventure game which has more story than Doom.
评论 #40535396 未加载
评论 #40534349 未加载
doixabout 1 year ago
Ha this is amazing! Seeing BeautifulSoup in the list of dependencies confused me for a second. Had to look through the code to see that had code to scrape the type information directly from the wiki!
ycombireddabout 1 year ago
@quuxplusone and all I fixed my dunderheaded debug output commit that meant the &quot;outputs ZIL&quot; was a lie. This temporarily puts us back to a state where the Things have no locations in the ZIL, but I am working on that. I just wanted to show that it is back on track. Thanks Q+1!<p><a href="https:&#x2F;&#x2F;github.com&#x2F;scottvr&#x2F;wadzilla&#x2F;commit&#x2F;b92f90070726088ba3f8c0998b68005afff0bae5">https:&#x2F;&#x2F;github.com&#x2F;scottvr&#x2F;wadzilla&#x2F;commit&#x2F;b92f90070726088ba...</a>
scovettaabout 1 year ago
Next step: Play Zork in Doom in Zork.
评论 #40534199 未加载
anthkabout 1 year ago
<a href="https:&#x2F;&#x2F;ifdb.org&#x2F;viewgame?id=lkr2jf03np19ieix" rel="nofollow">https:&#x2F;&#x2F;ifdb.org&#x2F;viewgame?id=lkr2jf03np19ieix</a>
QodeQodeabout 1 year ago
Kill Slayer with little rusty shotgun $ You Miss Reload Kill Slayer with little rusty shotgun $ You hit Go South ....
评论 #40532074 未加载
anthkabout 1 year ago
BTW, there was a demo IF for Quake for the ZMachine (probably written with Inform 6)
评论 #40532486 未加载
pimlottcabout 1 year ago
Is this entirely text based? This may sound like a stupid question, but there were later Zork games had supported rudimentary graphics. There need to be some screenshots to show what it actually looks like.
评论 #40549799 未加载
Jeema101about 1 year ago
Relevant xkcd (and personal favorite of mine) since no one else posted it yet: <a href="https:&#x2F;&#x2F;xkcd.com&#x2F;91&#x2F;" rel="nofollow">https:&#x2F;&#x2F;xkcd.com&#x2F;91&#x2F;</a> :)
splatzoneabout 1 year ago
It would be awesome to have some kind on playable demo in-browser, or sample output. Nice work
hxrivabout 1 year ago
Based. Unfathomably based.
WorldMakerabout 1 year ago
Have you tried the challenge of feeding it MyHouse.WAD yet?
sandebertabout 1 year ago
Please show a playthrough of the Okuplok WAD.
ycombireddabout 1 year ago
Yeah, and I know that it would be far easier and probably immensely more playable and practical to just craft a good prompt for an LLM, presto! Play Doom in Zork with ChatGPT. The ludicrous technical implementation is actually the point though in this case.
Keyframeabout 1 year ago
now make a multiplayer client and let&#x27;s flee together.