Xelanul Posted November 11, 2019 I want to use Doom's binary code to create a knitting pattern. I was hoping I could find it all written out already without having to run it through a translator. Does anyone have it or know where I can get it? Thanks! 2 Share this post Link to post
Linguica Posted November 11, 2019 You'll need to be a little more specific about what this entails / what precisely you are looking for. 1 Share this post Link to post
Xelanul Posted November 15, 2019 On 11/11/2019 at 4:19 PM, Linguica said: You'll need to be a little more specific about what this entails / what precisely you are looking for. Fair enough! I need the literal base code, the 1s and 0s. This way, I could use the knit stitch for all of the 1s and the purl stitch for the 0s. Does that help? 0 Share this post Link to post
Maximum Matt Posted November 15, 2019 Ugly Christmas Sweater Doom. I like it 4 Share this post Link to post
DavidN Posted November 15, 2019 (edited) I have no idea where this is going but I'm curious to find out :) Are you interested in the binary of the EXE, the IWAD or something else? Here's a rendering of the EXE for Ultimate Doom v1.9. Note that it's a 6.9MB file already - the same rendering for the accompanying WAD is a 106MB text file. You might want to plan to knit a scarf for a giraffe, or something :) http://teamouse.net/games/doom/doomexebytes.txt This is my attempt at a translator, for anyone who wants to check my coding: <?php $filename = "e:\\games\\retro\\doom\\ultimate\\doom.exe"; $handle = fopen($filename, "r"); for ($i = 0; $i < filesize($filename); $i++) { $byte = fread($handle, 1); $int = ord($byte); echo(substr("00000000" . decbin($int), -8) . " "); } fclose($handle); ?> Edited November 15, 2019 by DavidN 1 Share this post Link to post
wallabra Posted November 15, 2019 Doom is a bit large. I'd rather just knit regular Doom art, if I knitted. Maybe overlay some of the C source code instead? Pick a random part and knit it like it was written on top of the cover art or something like that. 0 Share this post Link to post
Eurisko Posted November 15, 2019 I'd love a Christmas Cacodemon sweater! 0 Share this post Link to post
wallabra Posted November 15, 2019 Sounds like a perfect commission taking opportunity for grandmothers out of retirement money! 0 Share this post Link to post
Xelanul Posted November 15, 2019 8 hours ago, DavidN said: Here's a rendering of the EXE for Ultimate Doom v1.9. Note that it's a 6.9MB file already - the same rendering for the accompanying WAD is a 106MB text file. You might want to plan to knit a scarf for a giraffe, or something :) http://teamouse.net/games/doom/doomexebytes.txt This is exactly what I was looking for! Thank you! I searched everything I could think of but couldn't find this. Clearly, I wasn't using the right search terms. Long scarves are kinda my thing (I'm working on a Doctor Who scarf, 18th season), so I'm really looking forward to this challenge! 2 Share this post Link to post
Xelanul Posted November 16, 2019 9 hours ago, Gustavo6046 said: Doom is a bit large. I'd rather just knit regular Doom art, if I knitted. Maybe overlay some of the C source code instead? Pick a random part and knit it like it was written on top of the cover art or something like that. That sounds like a cool design! You should do that and post pics. I won't really have time to design a pattern like that myself since I'm going to be working on knitting the entire, if a bit large, executable file. 0 Share this post Link to post
Doomkid Posted November 20, 2019 I love the idea of wearing doom.exe when it’s cold. Please do share the results! 5 Share this post Link to post
wallabra Posted November 20, 2019 It's a huge executable. I can't even scroll to the bottom of that page! Do you really think you can knit all that up? I deem it a nearly impossible challenge. 1 Share this post Link to post
Boomslang Posted November 20, 2019 On 11/15/2019 at 9:42 AM, DavidN said: I have no idea where this is going but I'm curious to find out :) Are you interested in the binary of the EXE, the IWAD or something else? Here's a rendering of the EXE for Ultimate Doom v1.9. Note that it's a 6.9MB file already - the same rendering for the accompanying WAD is a 106MB text file. You might want to plan to knit a scarf for a giraffe, or something :) http://teamouse.net/games/doom/doomexebytes.txt This is my attempt at a translator, for anyone who wants to check my coding: <?php $filename = "e:\\games\\retro\\doom\\ultimate\\doom.exe"; $handle = fopen($filename, "r"); for ($i = 0; $i < filesize($filename); $i++) { $byte = fread($handle, 1); $int = ord($byte); echo(substr("00000000" . decbin($int), -8) . " "); } fclose($handle); ?> i almost crashed the browser will putting this in a coding software give me a game lol 0 Share this post Link to post
andrewj Posted November 21, 2019 (edited) A thousand years from now this knitted pattern will be discovered in a bunker somewhere, and people will wonder what it means. Some genius will figure out that it is computer code, and figure out how to run it. Then the demons will start appearing and it will be Hell on Earth once more! Oh what a bitter twist of fate for humanity..... 4 Share this post Link to post
Maximum Matt Posted November 21, 2019 Hellspawn-summoning scarves are TIGHT 2 Share this post Link to post
Xelanul Posted November 26, 2019 If y'all want to follow along on this ridiculous project, I started a tumblr blog to track it all. knittingdoom.tumblr.com I want thank all of y'all again for your help, particularly DavidN. 2 Share this post Link to post
DavidN Posted November 26, 2019 This is remarkable. To be honest I thought when I put that tidal wave of 1s and 0s up you would surely turn away at the sheer impossibility of the project... and here you are forging ahead, doing it anyway. I rather regret doing the 7MB Ultimate Doom EXE instead of the compressed installer like you’d originally planned... but I see you are determined and can only wish you the best of luck! 1 Share this post Link to post
CyberDreams Posted November 26, 2019 Pretty cool! I have no idea how this works, but the fact that you are doing it is really neat lol! 1 Share this post Link to post
wallabra Posted November 26, 2019 Good luck, buddy! Also, haha, funny pic up there! Aaaaalso, cute doggo. 0 Share this post Link to post
Doominator2 Posted November 26, 2019 Cant wait to see a mile long scarf! 2 Share this post Link to post