[00:00.000 --> 00:05.380] So we're going to talk about how we built our redacted Anodic Sower Badge this year. [00:07.160 --> 00:10.700] Oh, really? I should start with, can you hear me all right? [00:11.180 --> 00:17.280] Now we're golden. And feel free to come closer if you want to ask questions and whatnot. [00:17.700 --> 00:20.620] So yeah, we're going to go over how we did our Anodic Sower Badge this year, [00:20.620 --> 00:26.580] all the fun and challenges we ran into, and reverse engineering snack machines. [00:28.500 --> 00:43.080] Now it's off. We're dying. We've lost mics. No. Does the mic run on Cox internet? All right. [00:48.520 --> 00:54.020] I'm higher on. This is... yeah. Zap's taking care of the snack machine. [00:56.780 --> 01:01.840] So of course, normal disclaimer, this is our fun side thing. We have employers, [01:01.840 --> 01:05.900] like most people do. This does not represent our employers. But more importantly, [01:06.260 --> 01:10.480] this is a community stage. And we didn't really want to give a talk. [01:10.480 --> 01:14.900] We wanted to treat it like community discussion. When we're running our contest, tons of people [01:14.900 --> 01:19.040] want to talk to us about, hey, what was it like making the badge, working with Snacky, [01:19.040 --> 01:23.240] doing different things. And you feel bad because you want to have deep conversations about this [01:23.240 --> 01:29.620] stuff. But you're also running a contest with six, seven, 800 people running around and things [01:29.620 --> 01:36.600] breaking. So don't treat this as a talk. Treat it like a town hall. Politely interrupt us. Ask [01:36.600 --> 01:44.060] questions. I'll do my best to hear and repeat it back so others can hear it. And group discussion. [01:44.060 --> 01:50.060] But we'll use the slides to go through it. And any time you're curious about something, ask. [01:50.060 --> 01:57.840] Same thing? That's good. All right. So we're Anodic Soar. We've been making badges for about [01:57.840 --> 02:04.120] nine years. Different members have come in and out. But if you take a look at the picture, you [02:04.120 --> 02:08.820] can see a lot of the different work we've done over the years. And, yeah, we joke, we make stuff, [02:08.820 --> 02:14.960] drink beer, no particular order. We just have a wide variety of backgrounds. And we like doing [02:14.960 --> 02:20.820] this as a fun, interesting way to learn new things. And I guess that's, like, hey, why do [02:20.820 --> 02:25.280] we do this to ourselves? Because you'll hear people, you know, joke about badges. What do [02:25.280 --> 02:29.500] badges do to you? What's all the stuff that's involved in it? And I don't know. For me, it's [02:29.500 --> 02:35.300] like I like learning new things. Usually on a badge, sometimes we pick stuff that we don't know [02:35.300 --> 02:40.360] how to do so we have an excuse to learn it. Yeah. Building stuff and just seeing how [02:40.360 --> 02:41.000] it works. [02:41.820 --> 02:51.460] DEF CON, DEF CON. Also just providing something that people just like to do. [02:53.280 --> 02:58.000] Yeah, and I think, like, just teaching others, that's always been fun. When we do our CTF, [02:58.000 --> 03:01.840] it's usually a mixture of things. We like putting hardware hacking mostly, [03:01.840 --> 03:05.580] but we'll put reverse engineering, lock picking we've done before, [03:05.580 --> 03:10.340] just different side channel attacks and RF cryptography. It's fun to mix it up that way [03:10.340 --> 03:19.820] it's not fully devoted to one domain or something. Fun fact, if you have friends with kids and [03:19.820 --> 03:23.480] you're worried if your badge will survive DEF CON, as soon as you're done, you give your [03:23.480 --> 03:27.800] prototype to a 3-year-old and let them play with it for a week, it will survive drunk hackers at [03:27.800 --> 03:36.600] DEF CON sometimes. And it's good level of response, 3-year-old. So I would say without further ado, [03:36.600 --> 03:47.520] our badge this year plays Doom. And on the surface, you have a case which resembles a [03:47.520 --> 03:57.400] very recognizable handheld video game device that came out 30 years ago. It's very nostalgic. [03:57.400 --> 04:03.400] And what would I say? We did everything in C. We got firmware that I'll talk about a little bit [04:03.400 --> 04:07.280] later. But yeah, it runs Doom. And if you've never messed with Doom, by the way, if you have [04:07.280 --> 04:12.940] questions about Doom later, throw them out there. At this point, we're probably 16 forks deep on [04:12.940 --> 04:19.700] the version of Doom we're using. And in a nutshell, where we stood on other shoulders, [04:19.700 --> 04:25.080] we had to put custom drivers together, rewriting of the entire control API because we do things [04:25.080 --> 04:32.740] where it's really hard to see a status bar to play Doom. So tap into that API and control the LEDs. [04:32.740 --> 04:37.700] When you get shot, it gets bloody, the LEDs are red. When you shoot, go through ammo, [04:37.700 --> 04:44.300] you have a status of ammunition going downwards, white, et cetera. We've done some other things, [04:44.300 --> 04:50.440] making custom free open source IWOD that can be used. I'll get into that, what the hell that means. [04:50.500 --> 04:56.800] And tying it into a CTS. We do have slides for the hardware. [04:58.220 --> 05:02.540] We have lights on us now. And it's actually more blinding and I can't see anyone. [05:03.180 --> 05:08.500] I appreciate it. So yeah, if you're curious to have a question, you can wave your hand on [05:08.500 --> 05:13.820] something. I think I just wanted to go through what's up with the hardware and what does it [05:13.820 --> 05:20.120] look like at first. Because that is where it starts to look boring. You may not be able to [05:20.120 --> 05:23.880] tell when it's first put on there, but that's like our first rev, where you just have the form [05:23.880 --> 05:30.760] factor, the buttons, you have a little, oh, of course you can't see it. Our RP2040, the Raspberry [05:30.760 --> 05:37.040] Pi microcontroller. It may be too small, but I was going to ask folks, do you see what's wrong [05:37.040 --> 05:42.880] with it? I didn't even catch this problem until the final rev. Does anyone notice what's wrong [05:42.880 --> 05:54.000] on the front plate? No. Introverts. That's one. Start and select are switched. There's another [05:54.000 --> 06:09.000] one. Yeah. What's that? Oh, we don't have SD cards. Yeah. Never again. We've had a bad experience [06:09.000 --> 06:24.340] with SD cards. So we use win bond flash instead. Yeah. So it's funny. No. Then you learn there's [06:24.340 --> 06:29.760] many variants of game boy cases. Yeah. So we didn't catch that. A and B were flipped because [06:29.760 --> 06:34.060] when we were looking at the EDA design tools, depending on the point of view, you see start [06:34.060 --> 06:39.600] select BA. And it wasn't until I started working with the firmware and control that I thought the [06:39.600 --> 06:43.960] engine was just screwed up and I had to remap everything on the inside when our buttons were [06:43.960 --> 06:51.060] backwards. And you never want to build something into a game boy case. I think our assembly [06:51.060 --> 06:58.900] involved 19 different parts and steps and the shit show gets worse. But it works. It's fun. [06:58.900 --> 07:07.080] It's a nostalgic, nice hand feel to it. But you have to have tedious devotion to get through [07:07.080 --> 07:18.840] assembly. It's not fun. I honestly regret suggesting doing a game boy case. Really? [07:20.080 --> 07:27.160] I don't know. Has anyone ever done game boy moddings? Messed them for? Yeah. It's a passion. [07:27.160 --> 07:32.600] Doesn't scale well. But we persevered. I think it's fun. Especially button do. Yeah. [07:36.160 --> 07:43.260] Original, the question was in the other formats. We thought about actually doing the original, [07:43.260 --> 07:50.180] the big brick. And then I think what happened was Zap basically bought the colors by accident [07:50.180 --> 07:56.260] and we just went with that. Lots of planning, right? We're like, just roll with it. And at [07:56.260 --> 08:00.920] was a nice form factor, too, because you're thinking about it like, okay, I can get cases. [08:00.920 --> 08:05.820] It already holds batteries. We'll get into some of the battery stuff on the later revs. But [08:06.600 --> 08:11.460] I'll admit, as much as we complain about the cases, they're actually, it's ergonomic. It [08:11.460 --> 08:16.580] uses certain form factors so you can only put in the parts in one way. It's super useful. [08:17.560 --> 08:23.520] In hindsight, a GBA would have given us better GPIO, especially for Doom. It made it a fun [08:23.520 --> 08:28.580] challenge of button combos to try to take an 8-control system and put it on this. [08:29.280 --> 08:34.980] What's interesting is this is our first batch. We also did lithium-ion for our power source. [08:35.280 --> 08:41.100] Usually we use 3 AAAs or 3 AAs, but because of the form factor, we were limited to just two [08:41.100 --> 08:50.200] batteries. And the RP2040 is highly overclocked so that Doom runs okay-ish on it. And so it's [08:50.200 --> 08:55.960] really, really power hungry. And so we needed the extra lithium to make that work. [08:56.460 --> 09:00.840] Yeah. Anyone that gets them, like, we had to put a, we put a weird sticker on there just saying, [09:00.840 --> 09:05.900] like, you know, RTFM, don't put AAs in here. In fact, they shouldn't have to remove the [09:05.900 --> 09:11.200] batteries at all. These are lipos that are in the form factor of a AA battery. [09:12.200 --> 09:16.420] Yeah. So fully charged circuit in there. But if you put in AAs, [09:16.420 --> 09:19.320] it just won't work because they can't provide enough power. [09:21.320 --> 09:25.720] So this is kind of what, like, the progression looks like from a REV1 to a REV2-3. You start [09:25.720 --> 09:31.280] seeing the yellow. I know you want to talk about that. You want to geek about the charging circuit? [09:31.280 --> 09:36.240] Yeah. So REV2-3 is when we're kind of dialing the charging circuit to make the lithium work [09:36.240 --> 09:41.880] correctly. I think we were using a slightly different stream of REV1-2. Before we said [09:41.880 --> 09:52.060] there. This was when I adapted the hardware one. And then I took over for finishing hardware [09:52.060 --> 09:55.990] two and three, and then eventually four, which is the production version. [09:58.200 --> 10:04.180] I'm a big guy. I've never used ZTAD before. So I basically had to spend about a month and a half [10:04.180 --> 10:11.660] learning ZTAD, another unit tool, to basically finish up REV2 and then REV3. We actually didn't [10:11.660 --> 10:18.040] have any problems with, like, we didn't have any wire mods or anything like that. Everything [10:18.040 --> 10:22.200] kind of just worked. It just was trying to get it to fit in the case. And when you get a different [10:22.200 --> 10:27.780] case and it just still wouldn't fit, figuring out all the different locations of cases that it had [10:27.780 --> 10:34.140] to fit into. Yeah. Okay. So there's a problem I can think of. You guys all made fun of me before. [10:34.140 --> 10:38.300] So you see on that previous one, I got the breadboard with the two wires and the two buttons. [10:39.060 --> 10:44.920] When you program a Pi Pico, you have to put it in boot select mode. Those buttons were [10:44.920 --> 10:52.620] strategically placed on the very bottom of here, where there is you would have an old audio jack [10:52.620 --> 10:58.580] and an old DC in. It's hard to hit them and they were covered by the case. It's fine when you're [10:58.580 --> 11:04.520] designing hardware, but when you're working on flashing firmware and wads and files nonstop [11:04.520 --> 11:10.660] 100 times a day, I can't sit there with a paper clip and push them in. So I yanked out wires and [11:10.660 --> 11:16.280] just soldered them in so I could tap buttons to do that. Eventually, a fun mod, if you ever develop [11:16.280 --> 11:20.740] on a RPi 2040 or any of the Raspberry Pi microcontroller lines, because now there's [11:20.740 --> 11:27.420] multiples of them, you can mess with the boot loader selecting, we call it our magic mod rate, [11:27.420 --> 11:33.400] so that if you open a serial connection, you can set it to say, hey, if anything ever tries [11:33.400 --> 11:40.160] to connect to you at 1200 baud, we picked 1337 as our magic baud rate now, but if you just hit it [11:40.160 --> 11:46.160] with 1337 on a serial terminal, it will automatically fall into boot select mode and [11:46.160 --> 11:50.820] reboot, which is wonderful if you want to, you know, speed up your tool chain when you're [11:50.820 --> 11:59.260] developing and just have a script that runs and knocks it in boot select. I bitched quite a bit. [12:01.920 --> 12:03.920] So, and there's the final. [12:03.920 --> 12:08.260] The only difference between REV3 and REV4 was the artwork. [12:08.640 --> 12:12.620] And we were actually just shooting without artwork for a really long time. [12:12.620 --> 12:14.240] I was like, you know how we got to do it. [12:14.680 --> 12:17.420] So that was the artwork that we did. [12:17.420 --> 12:19.300] So it's AI generated. [12:19.300 --> 12:21.520] It just kind of left the artifacts in there. [12:21.520 --> 12:22.560] So like you see, it says, [12:22.560 --> 12:23.280] Doom. [12:24.860 --> 12:26.780] And so it just kind of left that little [12:27.240 --> 12:28.340] sneak streak in there. [12:28.340 --> 12:29.800] It was funny enough. [12:30.940 --> 12:32.280] It's actually kind of unfortunate [12:32.280 --> 12:34.300] that you can't see, like clear cases [12:34.300 --> 12:36.440] aren't kind of cloudy. [12:36.440 --> 12:37.680] You can't actually see how [12:37.680 --> 12:40.180] some screen actually turned out. [12:41.420 --> 12:42.280] True. Yeah. [12:42.280 --> 12:44.300] I think if people had the clear PCBs, [12:44.300 --> 12:45.740] you can actually see them a lot better. [12:45.740 --> 12:47.620] Maybe the black ones, but purple, [12:47.620 --> 12:50.560] I was trying to go with like a Miami Vice color, [12:50.560 --> 12:52.320] cyan teal. It blocks [12:52.320 --> 12:53.760] the PCB altogether. [12:53.760 --> 12:55.560] But, yeah. [12:57.040 --> 12:57.840] A lot [12:57.840 --> 12:59.640] happened the past couple months. [12:59.720 --> 13:00.720] A lot. [13:01.140 --> 13:03.000] Oh, and... [13:06.500 --> 13:07.880] We're full stack. [13:08.020 --> 13:09.560] Got random questions, too. [13:09.640 --> 13:11.020] Throw them at us. [13:11.320 --> 13:13.680] So, yeah, that's my excuse. [13:13.700 --> 13:15.720] We were looking at the slides we're about to turn in [13:15.720 --> 13:17.760] and I was like, oh, shit, we didn't finish those. [13:17.760 --> 13:19.660] But you know what? That's good enough for a slide, [13:19.660 --> 13:20.300] right? [13:21.340 --> 13:23.360] When we were talking earlier, [13:23.360 --> 13:25.300] it runs Doom. [13:25.300 --> 13:27.740] And sometimes people are curious, [13:27.740 --> 13:29.640] how do you put Doom on something? [13:29.980 --> 13:31.680] What is really going on [13:31.680 --> 13:33.100] when you see Doom and [13:33.100 --> 13:34.880] different types of things? [13:35.900 --> 13:37.280] In general, [13:37.280 --> 13:39.320] you see a bunch of variants of Doom [13:39.320 --> 13:41.200] out there. You'll hear people refer to [13:41.200 --> 13:43.360] Vanilla Doom, Chocolate Doom, [13:44.180 --> 13:45.220] Jeezy Doom, you get [13:45.220 --> 13:48.620] all these different variants. In general, [13:49.360 --> 13:51.920] you know what? Vanilla is Vanilla. [13:51.920 --> 13:53.700] It's plain. It is what [13:53.700 --> 13:54.980] id released. [13:55.700 --> 13:57.680] And Chocolate built on it because you're not [13:57.680 --> 13:59.600] going to change what id released. [13:59.600 --> 14:01.660] You're going to keep it as close to the original [14:01.660 --> 14:03.180] port of Doom as possible [14:04.600 --> 14:05.560] with some [14:05.560 --> 14:07.340] fixes that are necessary [14:07.340 --> 14:10.020] but not changing the original source. [14:10.320 --> 14:11.780] And what happens over time [14:11.780 --> 14:13.680] is you have all of these forks where [14:14.280 --> 14:15.760] people want to play original Doom [14:15.760 --> 14:18.000] but they want it in triple super widescreen. [14:18.300 --> 14:19.580] They don't want sprites [14:19.580 --> 14:21.720] that are from six different angles. [14:21.720 --> 14:23.880] They want 32 different angles. [14:23.880 --> 14:25.560] They start doing what's called limit [14:25.560 --> 14:28.000] removing because you have faster computers. [14:28.080 --> 14:29.600] So, a lot of Doom [14:29.600 --> 14:31.580] engines out there and wads that are [14:31.580 --> 14:32.920] generated out there, [14:33.300 --> 14:35.360] they don't work on embedded systems [14:35.360 --> 14:37.620] because they assume a lot [14:37.620 --> 14:39.580] of power horse hungry stuff. [14:39.580 --> 14:41.920] So, we went with Chocolate Doom. [14:41.940 --> 14:43.700] There was a variant of Chocolate [14:43.700 --> 14:44.640] Doom that [14:45.400 --> 14:47.600] I believe the hacker's name was Kilogram that put [14:47.600 --> 14:49.560] it together. He pulled in a lot of fixes [14:49.560 --> 14:51.580] that came in on a Nordic NRF [14:51.580 --> 14:53.700] like BMD 350 mod where [14:54.660 --> 14:55.560] back in the day [14:55.560 --> 14:57.740] when you'd have Doom, Doom was [14:57.740 --> 14:58.700] very much [15:00.800 --> 15:01.320] not [15:01.320 --> 15:04.060] so processor intensive, RAM intensive. [15:04.060 --> 15:05.400] And if you go through the source code [15:05.400 --> 15:07.640] and statically allocate your [15:07.640 --> 15:09.540] variables, you can shift a lot of that [15:09.540 --> 15:12.120] over and shoot through it through processing. [15:12.120 --> 15:13.460] Which, you mentioned, we [15:13.460 --> 15:15.440] doubly overclocked the Pi Pico [15:15.440 --> 15:17.440] at 192 [15:18.000 --> 15:19.540] megahertz. I can't even remember how many megahertz [15:19.540 --> 15:20.520] we were running at. [15:21.560 --> 15:24.060] You're just trading processor for RAM. [15:24.120 --> 15:25.740] And so you keep building on these techniques [15:25.740 --> 15:27.400] and it makes it a really nice way to [15:27.400 --> 15:29.500] throw Doom on an embedded system. [15:29.640 --> 15:31.420] Sometimes I'm sure you see random things, people [15:31.420 --> 15:33.720] put Doom on a toothbrush, on this, [15:33.720 --> 15:35.880] on that, and it's just running the demo. [15:36.340 --> 15:37.580] If you're actually trying [15:37.580 --> 15:39.380] to process a lot of other things, networking [15:39.380 --> 15:41.580] stack and mega wads, [15:41.580 --> 15:42.800] it gets rough. [15:44.100 --> 15:45.480] So yeah, [15:45.480 --> 15:46.900] something that we saw on that [15:46.900 --> 15:48.780] that this person ran into [15:48.780 --> 15:51.400] on one of the forks we picked up on, [15:51.400 --> 15:53.040] you start running out of memory. [15:53.200 --> 15:54.940] And the cool thing about doing this [15:54.940 --> 15:56.920] is instead of drawing pixels, it's [15:56.920 --> 15:58.980] running with scan lines like you would on a normal [15:58.980 --> 16:00.680] CRT. And [16:00.680 --> 16:03.040] you only have enough memory to draw about 70, [16:03.040 --> 16:04.840] 80% of the screen. So [16:04.840 --> 16:06.860] with it doing scan line drawing, it's [16:06.860 --> 16:08.960] actually a lot more efficient to [16:08.960 --> 16:10.980] go through the graphics rendering. [16:10.980 --> 16:12.840] And then on the HUD, we just [16:12.840 --> 16:15.120] painted a static image on the HUD [16:15.120 --> 16:17.040] because we realized, [16:17.040 --> 16:19.680] one, the screen was too small to even read it, [16:19.680 --> 16:21.020] and two, we [16:21.020 --> 16:23.120] had needed CTF challenges that actually [16:23.120 --> 16:24.720] ran on the badge. So [16:24.720 --> 16:26.700] over there you actually see a certain [16:26.700 --> 16:28.600] hex memory address that's printed [16:28.600 --> 16:30.820] into the status bar that gets [16:30.820 --> 16:32.380] updated during the game, [16:33.320 --> 16:35.240] amongst other things. [16:35.240 --> 16:36.900] So it's like we're drawing 70, [16:36.900 --> 16:38.780] 80%, drawing a static image, [16:38.780 --> 16:40.540] leaving it, and you go through little tricks [16:40.540 --> 16:42.180] just to keep memory going up. [16:43.200 --> 16:44.480] But yeah, make sure to [16:44.480 --> 16:46.900] remember fixing the slide. [16:46.960 --> 16:48.540] I think one of the other fun things is just [16:48.540 --> 16:50.640] tapping into the API that is used to [16:50.640 --> 16:52.560] update the status bar because if [16:52.560 --> 16:54.320] you have a badge with bling, [16:54.320 --> 16:56.240] why not update it? Why not [16:56.240 --> 16:58.420] turn it red when you're getting shot? It's [16:58.660 --> 17:00.480] a nice visual indicator for someone who's [17:00.480 --> 17:02.300] holding a badge playing Doom to see it [17:02.300 --> 17:04.320] glowing red as you're getting lit up [17:04.320 --> 17:06.620] or when you fire, it turns white [17:06.620 --> 17:09.120] and flashes for you shooting. [17:09.780 --> 17:10.700] And then, you know, you just have [17:10.700 --> 17:12.740] ammo and health kind of going up the [17:12.740 --> 17:13.920] rim on the side. [17:14.700 --> 17:17.020] It's a nice visual HUD. [17:17.080 --> 17:18.820] I don't think anyone ever paid attention [17:18.820 --> 17:20.640] to their health or their ammo count when [17:20.640 --> 17:22.800] they played Doom. They just used it until it ran out [17:22.800 --> 17:24.820] and then, okay, I'm going to switch to something else and fire [17:24.820 --> 17:25.820] on them anyway. [17:27.520 --> 17:28.440] I don't know. [17:28.440 --> 17:30.620] Any questions about firmware, Doom [17:30.620 --> 17:32.520] engines, putting Doom on stuff before we get into [17:32.520 --> 17:34.680] the wads and whatnot? Yeah, what's up? [17:34.680 --> 17:36.940] Sorry, I can't [17:36.940 --> 17:37.640] hear. [17:38.660 --> 17:41.000] Did we use the PIOs? [17:41.740 --> 17:42.300] Um... [17:42.300 --> 17:44.760] I don't think [17:44.760 --> 17:46.680] we did. No. [17:48.560 --> 17:49.000] Womp [17:50.800 --> 17:51.920] womp. [17:53.560 --> 17:54.680] Sorry. [17:57.800 --> 17:58.720] I will use it next [17:58.720 --> 17:59.540] year. [18:01.040 --> 18:02.940] So, I tried to make this [18:02.940 --> 18:05.440] as messy as possible, right? [18:11.400 --> 18:12.440] Yeah. [18:17.900 --> 18:18.920] So, for the [18:18.920 --> 18:20.520] most part, it's good. [18:21.840 --> 18:23.020] I think a couple [18:23.020 --> 18:25.320] of things I would go through is this. [18:25.960 --> 18:26.700] There's a lot [18:27.320 --> 18:29.060] of modders in the Doom community [18:29.060 --> 18:30.960] and they've made wonderful tools over [18:30.960 --> 18:32.880] the years. Some of those tools are [18:32.880 --> 18:34.980] still in use. Some of them are being [18:34.980 --> 18:36.880] migrated to bigger tools. [18:38.000 --> 18:39.020] One of them that [18:39.020 --> 18:41.340] I was primarily using is Slade. [18:41.420 --> 18:42.840] Slade is really good [18:42.840 --> 18:45.200] if you are making a [18:45.200 --> 18:47.520] wad. And I guess I should say wad, unless [18:47.520 --> 18:49.620] people don't know, wad stands for [18:49.620 --> 18:52.300] where's all the data. It's [18:52.300 --> 18:53.580] how the id team [18:53.580 --> 18:55.660] used Doom to store all of the [18:55.660 --> 18:57.540] core assets of their game. Those [18:57.540 --> 18:58.840] assets are referred to as lumps. [18:58.840 --> 19:00.640] But where Slade shines is [19:00.640 --> 19:02.780] you make wads with it. You really [19:02.780 --> 19:05.020] don't want to make maps with it too much. [19:05.020 --> 19:07.560] It has a map editor, but it's not that great. [19:08.000 --> 19:08.960] There's better [19:08.960 --> 19:10.760] tools for Ultimate Doom [19:10.760 --> 19:12.940] Builder to work on maps. [19:14.140 --> 19:14.920] But what you [19:14.920 --> 19:16.840] end up with is a number of things [19:16.840 --> 19:19.060] being needed to make that successful. [19:19.060 --> 19:20.920] So, the core I started [19:20.920 --> 19:22.480] with was FreeDoom. [19:22.640 --> 19:24.680] And FreeDoom is free, open [19:24.680 --> 19:26.780] source, Doom replacement. I know [19:26.780 --> 19:28.940] you see a lot of people make Doom mods [19:28.940 --> 19:30.580] and put Doom on things. [19:30.580 --> 19:33.260] The Doom engine is open sourced. [19:33.260 --> 19:34.740] The IP and [19:34.740 --> 19:36.560] the graphics and the music and [19:36.560 --> 19:38.860] all those lumps that are in that Doom 1 [19:38.860 --> 19:40.980] shareware wad are not. [19:40.980 --> 19:43.620] They are copyrighted and protected. [19:43.740 --> 19:44.960] So, FreeDoom [19:44.960 --> 19:46.540] is an open source project to [19:46.540 --> 19:48.380] make a community driven [19:48.380 --> 19:51.480] Doom alternative where you can drop in the wad. [19:51.560 --> 19:52.720] The first problem with that [19:52.720 --> 19:54.420] is they rely on [19:54.420 --> 19:56.280] limit removing engines that [19:56.280 --> 19:58.340] use all these crazy different features and [19:58.340 --> 20:00.460] they bundle in Doom, Doom 2, [20:00.460 --> 20:02.480] Hexen. So, there's a lot of stuff [20:02.480 --> 20:04.300] on there that in their one [20:04.300 --> 20:06.380] wad that if you're doing this on [20:06.380 --> 20:08.320] your computer, it doesn't matter. But if [20:08.320 --> 20:10.160] you're putting it on an embedded system [20:10.160 --> 20:12.360] where I only have like a Winbond chip [20:12.360 --> 20:14.660] with 8 megs of flash, it's not going to help. [20:14.760 --> 20:16.260] So, we started stripping [20:16.260 --> 20:18.020] everything out, changing out [20:18.020 --> 20:20.740] different sprites, different assets, [20:20.740 --> 20:22.380] doing our own editing. [20:23.460 --> 20:24.360] Some of the old [20:24.360 --> 20:26.400] tools like converting midis to their [20:26.400 --> 20:28.500] traditional Muse format only run [20:28.500 --> 20:30.300] in DOS. So, I'm running like [20:30.300 --> 20:32.120] DOSBox and Linux to run [20:32.120 --> 20:34.500] write my own bash scripts. [20:35.200 --> 20:36.100] That's when I learned [20:36.100 --> 20:38.100] Slate actually had something that did that. [20:38.100 --> 20:40.480] I felt stupid for setting up that tool chain. [20:40.480 --> 20:41.520] But, yeah, whatever. [20:42.160 --> 20:44.420] And then using my Krita and Inkscape [20:44.420 --> 20:46.260] Photoshop to put my different sprites [20:46.260 --> 20:47.760] together that I was creating. [20:47.880 --> 20:50.400] Bundle it all together, bring Chocolate Doom into VS [20:50.400 --> 20:51.040] code. [20:52.000 --> 20:54.240] Seems messy, goes through. [20:54.820 --> 20:56.340] I think the only other reason I put the [20:56.340 --> 20:57.940] meme on the side is [20:57.940 --> 21:00.440] in general, you wouldn't [21:00.440 --> 21:02.060] mess with the core WAD [21:02.060 --> 21:04.280] when you work on Doom. The way [21:04.280 --> 21:06.440] Doom works is it assumes that core [21:06.440 --> 21:08.260] library assets in the WAD exist [21:08.260 --> 21:10.420] and a WAD that you're [21:10.420 --> 21:12.340] putting out is really a PWAD. It's considered [21:12.540 --> 21:14.460] a patch. And when you put [21:14.460 --> 21:16.420] different assets in there, it's literally [21:16.420 --> 21:18.520] patching it in memory and overwriting [21:18.520 --> 21:20.760] those assets with a subset. [21:21.260 --> 21:22.320] Because it's an embedded [21:22.320 --> 21:24.360] system, we don't have the luxury of [21:24.700 --> 21:26.500] a file system where I can have multiple [21:26.500 --> 21:28.140] WADs on there. So [21:28.140 --> 21:30.580] if you were to look on DoomWiki or go on [21:30.580 --> 21:32.440] some of the WAD creators [21:32.440 --> 21:34.700] resources, they will light you up [21:34.700 --> 21:36.420] if you're like, I'm making my own IWAD [21:36.420 --> 21:38.420] because really, people [21:38.420 --> 21:40.580] should not be making their own IWAD. [21:40.580 --> 21:42.680] It's wasteful. Unless you have [21:42.680 --> 21:44.560] your own limited [21:44.560 --> 21:46.580] source. The end result [21:46.580 --> 21:48.340] of that is we will be [21:48.340 --> 21:50.580] open sourcing a [21:51.420 --> 21:52.880] fork of free Doom [21:52.880 --> 21:55.740] that maps [21:55.740 --> 21:57.040] a full mega WAD [21:57.040 --> 21:59.140] 1, 2, 3 with no other Doom 2 [21:59.140 --> 22:01.620] or Hexen stuff that is completely [22:01.620 --> 22:03.200] free and open source and slim [22:03.200 --> 22:08.360] down. So it's great for embedded systems. [22:08.360 --> 22:11.100] Well, that's backwards. [22:11.100 --> 22:12.960] And I pretty much [22:12.960 --> 22:13.380] mentioned that. [22:13.380 --> 22:14.460] What does it look like when you're actually [22:14.460 --> 22:16.900] editing WADs? It's like a memory editor. [22:17.320 --> 22:18.680] It may look like a spreadsheet [22:18.680 --> 22:20.260] or a database, but if you [22:20.260 --> 22:22.600] even sort things, people sometimes forget [22:22.600 --> 22:24.980] that there's memory mappings and memory addressings. [22:24.980 --> 22:26.640] And if you just copy-paste stuff in, [22:26.640 --> 22:28.500] you can really screw [22:28.500 --> 22:30.600] up your Doom engine and Doom game just by [22:30.600 --> 22:32.640] putting things wrong in a WAD. [22:33.240 --> 22:34.600] And it makes it fun for [22:34.600 --> 22:36.440] hiding things in CTS because [22:36.440 --> 22:38.360] it's like a giant zip file. I can pad [22:38.360 --> 22:40.620] stuff in certain memory locations [22:40.620 --> 22:42.640] that, you know, I'm trying to get people to dump [22:42.640 --> 22:44.980] ROMs, dig through the source code, [22:44.980 --> 22:46.600] dump the WADs, and look for [22:46.600 --> 22:48.360] things that we've hidden on the side. [22:49.740 --> 22:50.680] I'm about done with [22:50.680 --> 22:52.640] the WADs, but I would say the only fun [22:52.640 --> 22:54.320] I had is... [22:54.320 --> 22:56.560] the most fun I had was [22:56.560 --> 22:58.660] you look at how assets [22:58.660 --> 23:00.400] are made. A lot of people will [23:00.400 --> 23:02.640] open up Blender, you know, take a 3D [23:02.640 --> 23:04.700] model, rotate it, take slices. [23:04.760 --> 23:06.580] I wanted to make our own rubber chicken weapons [23:06.580 --> 23:08.780] and it's kind of stupid, [23:08.780 --> 23:10.860] but, you know, you've got a toilet paper tube, some rubber bands [23:10.860 --> 23:12.940] and rubber chickens. Record [23:13.240 --> 23:14.840] a video and then take time [23:14.840 --> 23:17.140] slices and that turns into [23:17.140 --> 23:19.200] what I used in the game. [23:22.580 --> 23:25.080] And I have to explain to my wife why I'm [23:25.080 --> 23:26.900] punching rubber chickens in the [23:26.900 --> 23:28.840] wall recording myself. And I'm like, it's for [23:28.840 --> 23:30.940] DEF CON. It'll make sense. Trust me. [23:31.800 --> 23:32.760] You should all [23:32.760 --> 23:34.760] try this. It's actually super fun. I know [23:34.760 --> 23:36.940] people are like, oh, I want to make my own Doom WAD. [23:36.940 --> 23:38.780] I'm like, take something and just record [23:38.780 --> 23:41.220] your hand punching and I don't know. [23:41.220 --> 23:42.700] I thought it was kind of fun just to [23:42.700 --> 23:45.520] try to do my own reverse stop motion on things. [23:49.040 --> 23:50.800] Without dragging it out further, because we want to [23:50.800 --> 23:52.860] get to more of the snacky stuff, [23:52.860 --> 23:54.400] whether you're following us on Twitter [23:54.400 --> 23:56.780] or hearing us gripe, [23:57.320 --> 23:58.720] we were releasing [23:58.720 --> 24:00.780] something like, yeah, we fucked up. [24:01.500 --> 24:02.800] Normally, I'd say a different [24:02.800 --> 24:04.740] version or different way to tell what we [24:04.740 --> 24:06.700] were talking about was we're [24:06.700 --> 24:08.560] usually pretty good about [24:08.560 --> 24:10.760] setting a hard date. And it's usually like [24:10.760 --> 24:12.660] it was around when we would buy tickets [24:12.660 --> 24:14.820] for Derby Con. It would be during the Kentucky Derby [24:14.820 --> 24:16.600] like the first week of May and that's when we'd [24:16.600 --> 24:17.920] submit our order. [24:18.560 --> 24:20.780] We feature creeped ourselves. Some things [24:20.780 --> 24:22.700] fell behind schedule, but we always had [24:22.700 --> 24:24.560] plenty of slack in times. [24:24.980 --> 24:26.640] And without going through the [24:26.640 --> 24:28.620] exhausted list, you have [24:28.740 --> 24:30.640] a couple of hurricanes hit. You have [24:30.640 --> 24:32.640] different things pop up. It kept eating [24:32.640 --> 24:34.740] into our slack. And if we hadn't feature [24:34.740 --> 24:36.720] creeped ourselves, I know those things are out [24:36.720 --> 24:37.640] of control, but [24:38.720 --> 24:40.760] the end result is when the big problems [24:40.760 --> 24:42.780] happen, like it went to our fab [24:42.780 --> 24:44.780] and they sent us pictures early in [24:44.780 --> 24:46.620] the morning showing that, hey, [24:46.620 --> 24:48.620] you have an eight pad thing [24:48.620 --> 24:50.560] for LEDs and [24:50.560 --> 24:52.700] we have six on the [24:52.700 --> 24:54.640] LEDs. You know, you have the complete wrong [24:54.640 --> 24:56.720] part. This [24:56.720 --> 24:58.920] was the morning CrowdStrike happened. [25:00.260 --> 25:00.780] Try [25:00.780 --> 25:02.720] to source LEDs and overnight them to [25:02.880 --> 25:04.400] a fab when all air traffic has been [25:04.400 --> 25:06.680] grounded, except for UPS [25:06.680 --> 25:08.720] or USPS, we [25:08.720 --> 25:10.680] use the postal service and it gets delivered to the [25:10.680 --> 25:12.500] wrong city three hours away. [25:13.600 --> 25:14.840] So, yeah, [25:14.840 --> 25:16.580] we've spent the better part of the past [25:16.580 --> 25:18.560] two weeks, 20 [25:18.560 --> 25:20.620] hour days late at work on [25:20.620 --> 25:22.580] third shifts, in hotel rooms, in [25:22.580 --> 25:23.840] garages, [25:25.000 --> 25:26.700] reflowing, hot airing, hand [25:26.700 --> 25:29.040] soldering, 14,000 [25:29.040 --> 25:29.900] LEDs. [25:31.220 --> 25:31.800] I think [25:31.800 --> 25:33.020] we got a pretty good deal. [25:34.480 --> 25:34.980] So, [25:36.060 --> 25:37.840] the tail end of some of the badges we were [25:37.840 --> 25:39.740] vending, they had little yellow dots. [25:39.740 --> 25:41.540] We did ours, but I think about the last [25:41.540 --> 25:43.640] hundred or so, they [25:43.640 --> 25:45.000] would have one to [25:45.000 --> 25:47.260] many LEDs working. [25:47.340 --> 25:49.440] Some of them had all of them, but [25:49.440 --> 25:51.280] one in the top corner, or [25:51.760 --> 25:53.440] maybe half of them were out because [25:53.440 --> 25:55.260] the thing just got cooked. And we figured [25:55.260 --> 25:57.560] it plays Doom, it still blinks [25:57.720 --> 26:00.040] a little bit. People would still rather have them. [26:04.260 --> 26:09.620] Yeah, we're going to bring all our [26:09.620 --> 26:11.640] spare parts tomorrow. If you want to [26:11.640 --> 26:13.860] do kind of an ad hoc workshop, [26:13.860 --> 26:15.780] we'll bring all the parts, all the failed boards, [26:15.780 --> 26:17.740] we'll show them to people and be like, do you want to have your hand [26:17.740 --> 26:19.340] at assembling one of these boards? [26:19.800 --> 26:22.020] Assembling everything into a Game Boy case. [26:22.060 --> 26:23.660] You think you can fix it? You can [26:23.660 --> 26:25.620] have it. Try your best. [26:26.440 --> 26:28.340] We'll do that tomorrow. [26:31.840 --> 26:34.000] Yeah, other than that, [26:34.000 --> 26:35.800] I pretty much summed it up [26:35.800 --> 26:36.800] after that where [26:37.620 --> 26:39.680] things just kept getting more [26:39.680 --> 26:41.780] saddled. Was there anything else funny that [26:41.780 --> 26:43.800] happened in that whole debacle? [26:44.120 --> 26:46.700] Self-deprecating in that sense. [26:47.420 --> 26:48.680] Like, how many [26:48.680 --> 26:51.240] miles did LEDs travel? [26:51.800 --> 26:52.680] Exactly right. [26:52.680 --> 26:54.120] How many different cities did they end up in? [26:54.120 --> 26:54.700] Yeah! [26:55.920 --> 26:58.900] I know, we... [26:58.900 --> 27:00.420] I wish we had the actual numbers. [27:00.420 --> 27:02.180] Just think about the... [27:02.180 --> 27:05.220] They come from Taiwan, went to San Dimas, [27:05.220 --> 27:06.480] they went from San Dimas [27:06.480 --> 27:08.420] to Houston, and then from [27:08.420 --> 27:10.580] Houston to Dallas. They found out [27:10.580 --> 27:12.040] they were wrong in Dallas, [27:12.540 --> 27:14.360] and then we had to do a split order where more [27:14.360 --> 27:16.300] were coming from Taiwan, and [27:16.300 --> 27:18.300] another order was coming from San Dimas, but [27:18.300 --> 27:20.020] it didn't go to Dallas, it went to Houston, [27:20.020 --> 27:22.740] and the one that was leaving Taiwan, there was a [27:22.740 --> 27:25.060] typhoon, and they grounded all DHL. [27:25.060 --> 27:27.000] I forgot about the typhoon. [27:27.000 --> 27:29.020] Weather isn't our friend. [27:29.020 --> 27:31.280] So you're getting five [27:31.280 --> 27:33.380] international trips, then they all come back [27:33.380 --> 27:35.180] to California, then back to Houston, [27:35.180 --> 27:38.540] and then driven to Las Vegas. [27:38.540 --> 27:40.660] They've gotten like 30,000 miles on them, at least. [27:45.560 --> 27:46.660] Oh yeah, [27:46.660 --> 27:48.700] everything on that end goes through Louisville, [27:48.700 --> 27:50.400] Kentucky, and because the tornadoes in [27:50.400 --> 27:52.420] Louisville a week and a half ago, that [27:52.420 --> 27:54.620] got shut down, and things were put on hold [27:54.620 --> 27:56.120] at the district center. [28:03.220 --> 28:05.300] Yeah, you know, [28:05.300 --> 28:08.380] different version [28:08.380 --> 28:10.400] of that, because we're all here at the [28:10.400 --> 28:12.540] LBCC this year, and whether [28:12.540 --> 28:14.420] you're attending as a human, or [28:14.420 --> 28:16.780] you volunteer as a goon, [28:16.780 --> 28:18.940] or you're in a contest area, or a [28:18.940 --> 28:20.960] village, [28:21.060 --> 28:22.860] there's a lot going on when you're in [28:22.860 --> 28:24.880] a new area. We're all trying to [28:24.880 --> 28:26.780] fill it out and learn the ropes [28:26.780 --> 28:29.140] and new things. And every now and then, [28:29.140 --> 28:31.180] everyone's doing different projects and contests [28:31.180 --> 28:34.000] and stuff, and we all run into issues. [28:34.000 --> 28:34.960] We had some issues [28:34.960 --> 28:36.880] with LEDs this year. We were joking about how [28:36.880 --> 28:39.060] we had such issues with SD cards in [28:39.060 --> 28:39.540] the past, and [28:39.540 --> 28:41.460] you know, people run into [28:41.460 --> 28:43.620] technical problems left and [28:43.620 --> 28:45.920] right, and that's okay. [28:46.020 --> 28:47.440] I think what matters [28:47.440 --> 28:49.580] is just trying to persevere through it [28:49.580 --> 28:51.500] and realize, hey, we're all [28:51.500 --> 28:53.780] human, nothing's perfect, [28:53.780 --> 28:55.420] you know, be compassionate and [28:55.420 --> 28:57.720] generous towards folks and support them, and [28:57.720 --> 28:59.660] maybe you can come... we had friends [28:59.660 --> 29:01.180] that never [29:01.180 --> 29:03.540] used hot air before, and they're [29:03.540 --> 29:05.400] like, hell yeah, I want to learn to hot air [29:05.400 --> 29:07.740] something, or reflow something, I want to take that, [29:07.740 --> 29:09.120] and I think that's awesome. [29:09.780 --> 29:10.540] ... [29:13.360 --> 29:14.120] ... [29:16.240 --> 29:17.000] ... [29:22.620 --> 29:23.380] ... [29:23.380 --> 29:23.640] ... [29:23.640 --> 29:24.740] ... [29:24.740 --> 29:26.100] ... [29:27.900 --> 29:28.660] ... [29:28.660 --> 29:29.260] ... [29:29.260 --> 29:29.560] ... [29:29.560 --> 29:29.920] ... [29:32.100 --> 29:34.000] It's a good trigger. [29:34.000 --> 29:34.620] ... [29:35.100 --> 29:36.920] It's making the best decision at the time [29:36.920 --> 29:38.920] and making sure it's not a rash decision. [29:39.480 --> 29:40.680] So, take [29:40.680 --> 29:42.900] some time, think about all the options, [29:42.900 --> 29:44.720] pick which is the best one, it might be the wrong [29:44.720 --> 29:46.860] one down the road, which has happened to us [29:46.860 --> 29:48.480] lots on this field, [29:48.480 --> 29:50.720] but it's, at the time, the best [29:50.720 --> 29:52.520] decision. You can't let, you know, [29:53.100 --> 29:54.600] looking back, you can't beat [29:54.600 --> 29:56.480] yourself up at the time you make the best [29:56.480 --> 29:58.620] decision. Yeah. But, [29:58.620 --> 30:00.760] yeah, I think that's the best way to put it. [30:01.720 --> 30:02.700] So, this [30:02.700 --> 30:04.880] is where it's more fun. Snacky? [30:04.880 --> 30:06.280] Yeah. Down. [30:06.280 --> 30:08.100] Down button. [30:08.340 --> 30:09.280] ... [30:11.080 --> 30:12.020] ... [30:12.700 --> 30:13.840] ... [30:15.000 --> 30:15.940] ... [30:17.760 --> 30:18.700] ... [30:21.700 --> 30:22.640] ... [30:22.640 --> 30:23.140] ... [30:23.140 --> 30:24.540] ... [30:24.540 --> 30:25.080] ... [30:25.080 --> 30:25.100] ... [30:25.100 --> 30:27.420] I took it out from my kooka shop [30:27.420 --> 30:28.360] that was closing down [30:29.060 --> 30:30.480] in Houston, Texas. [30:30.900 --> 30:31.380] ... [30:35.700 --> 30:36.960] So, the first [30:36.960 --> 30:39.060] thing was... I'll eat the candy [30:39.060 --> 30:41.240] from the head shop at the old vending machine. [30:41.240 --> 30:41.920] Yes. [30:43.980 --> 30:45.100] You can see it's on my [30:45.100 --> 30:46.900] little tiny 4x8 [30:46.900 --> 30:48.920] trailer there. And [30:48.920 --> 30:50.700] badger drive that down the road at [30:50.700 --> 30:52.160] six miles an hour, hitting Toppols [30:57.240 --> 31:01.220] So, first we are trying to figure out how a stat machine works. [31:01.420 --> 31:05.900] What's interesting about stat machines, or any kind of deep-division technology, [31:05.900 --> 31:08.960] there's not a lot of information out there about it. [31:08.960 --> 31:13.640] The companies that build these things aren't very tight on what information exists. [31:14.440 --> 31:17.940] You wouldn't be like, hey, I have an exploit on this machine. [31:17.940 --> 31:19.020] You'd be like, we'll see. [31:19.020 --> 31:29.380] So anyways, we basically have to reverse-engineer how this one particular stat machine works. [31:29.860 --> 31:35.740] So the original board there, it uses a bunch of custom ASICs and controllers, [31:35.740 --> 31:37.260] and a bunch of logic. [31:38.420 --> 31:42.140] The right part is the whole power subsystem. [31:42.480 --> 31:44.660] It has a speaker on it for some reason. [31:44.660 --> 31:45.680] It makes noise. [31:49.080 --> 31:51.980] And I come to this one part of the screen. [31:52.140 --> 31:53.540] I wish I could find this. [31:54.540 --> 32:00.740] My idea was basically to take out the custom ASIC, plug it into my controller subsystem, [32:00.740 --> 32:02.660] and change the controls on this logic. [32:02.880 --> 32:05.680] One of the logic chips is a burger chip. [32:06.000 --> 32:08.080] We're going to need channel, we'll need burger. [32:08.080 --> 32:12.180] It was just an issue itself, and I'm like, I have no idea what that's going to do. [32:12.180 --> 32:15.740] So I figured out how motors work. [32:16.000 --> 32:22.700] How these motors work is they have a DC motor matrix, so high side and low side, [32:22.700 --> 32:26.780] and they have a switch on it. [32:26.780 --> 32:30.040] You'd think the switch is there to let you know you can rotate it once, [32:30.040 --> 32:32.180] like a feedback, you have a limit switch. [32:32.400 --> 32:33.640] That's not the case. [32:33.980 --> 32:36.580] It actually rotates and hits the switch. [32:36.580 --> 32:39.360] It actually increases the amount of current. [32:39.360 --> 32:40.980] Basically, it's just an increase in current. [32:41.140 --> 32:43.020] It's just like a resistor there. [32:43.220 --> 32:49.540] And so the logic board is actually just looking for these current pulses on the other system. [32:50.080 --> 32:51.360] So basically... [32:54.840 --> 32:57.720] So yeah, so this is... [32:57.720 --> 33:00.920] I'll talk more about that motor thing a little bit when it comes to the board. [33:00.920 --> 33:05.700] But this is also like reverse engineering how the rest of the stack machine works, [33:05.700 --> 33:08.860] like how does the keypad work, how does the display work, [33:08.860 --> 33:09.680] and all that stuff. [33:09.680 --> 33:13.760] So you can see my laptop there, and it's connected to an Arduino, [33:13.760 --> 33:16.600] and it's kind of like zip-tied to the side of the machine. [33:16.660 --> 33:18.460] And then we put casters on it. [33:18.460 --> 33:21.760] Because moving an 800-pound machine, it's really hard by yourself. [33:22.260 --> 33:24.700] That's the best design decision on Snacky. [33:24.700 --> 33:26.100] It was the first Snacky. [33:26.640 --> 33:30.320] If you think about taking something big and heavy to DEF CON, [33:30.320 --> 33:36.020] you don't want to drag it, put it on a pallet, or have six people puff it around. [33:36.580 --> 33:39.480] Well, because I had to put it on that trailer by myself. [33:39.980 --> 33:41.120] And that was my nightmare. [33:41.880 --> 33:48.780] What's interesting is the legs of the Snacky machine is a standard for casters. [33:48.800 --> 33:52.420] So I was like, oh, I actually want the legs of that Snacky machine. [33:52.420 --> 33:58.240] So I was like, oh, I should have had the receipt printer. [33:58.240 --> 34:02.020] This was like when I was trying to figure out how to make a thermal printer work. [34:03.340 --> 34:04.920] This is what we did. [34:05.000 --> 34:07.960] We were trying to make it more of a stand-alone machine. [34:08.200 --> 34:10.260] We did pallet contests at the time. [34:11.320 --> 34:14.520] So everything had to be super-robust. [34:14.520 --> 34:18.200] So we turned this into a normal receipt printer, just kind of sitting off to the side. [34:18.200 --> 34:19.460] We made it look a little different. [34:19.760 --> 34:24.740] So this is a 90-gram model of a TS thermal printer. [34:24.740 --> 34:27.100] But we bought it on eBay. [34:27.520 --> 34:28.960] And it was like $200. [34:28.960 --> 34:31.800] You can kind of buy it now, like an offer. [34:31.800 --> 34:35.220] We offered $69, and we accepted it. [34:36.560 --> 34:38.240] So here's a custom print. [34:38.240 --> 34:42.740] So this is basically reverse-engineering how all the peripherals in the machine works. [34:42.740 --> 34:47.660] We basically built this circuit board to control that circuit. [34:48.220 --> 34:52.740] It's called one piece in the motors. [34:53.820 --> 34:58.020] And so what it uses two Arduino Vegas. [34:58.020 --> 35:02.300] Because at the time, the world supply chain was in crisis. [35:02.300 --> 35:06.260] And I had two Arduino Vegas in my drawer, which is what we used. [35:06.700 --> 35:09.280] And I just basically used all the little parts I had. [35:09.280 --> 35:12.180] I wrote a little report about the machines and that kind of stuff. [35:12.560 --> 35:15.200] On the left side, you can see... [35:16.260 --> 35:17.740] In the middle is like... [35:18.860 --> 35:20.300] It's called like the cache. [35:21.000 --> 35:24.820] It's where all the components are stored. [35:24.820 --> 35:27.300] So that's where we actually store all our custom electronics. [35:27.520 --> 35:29.440] So you can see where the warrants are. [35:29.440 --> 35:31.420] And actually, it actually uses the same part. [35:31.460 --> 35:41.360] We have a big power supply. [35:41.540 --> 35:43.560] That's the big silver box. [35:44.340 --> 35:46.580] Lots and lots and lots of electronics. [35:46.580 --> 35:51.260] We kind of modified the pointer term. [35:51.260 --> 35:53.080] That's our enter button. [35:53.280 --> 35:57.000] The right side is like... [35:57.580 --> 36:00.260] The whole thing brought up. [36:03.100 --> 36:05.980] Any questions so far? [36:17.590 --> 36:20.270] I think the question is, it went down earlier. [36:20.270 --> 36:22.410] Is it possible to make it all self-contained? [36:23.010 --> 36:25.150] Yeah, so it's an IST machine. [36:26.670 --> 36:29.250] So it connects through a database in the cloud. [36:29.250 --> 36:32.810] And that's how we know all the codes are... [36:36.490 --> 36:39.730] So that's how it knows if the codes are valid or not. [36:39.730 --> 36:43.150] I guess you could run that in there, but it's easier to... [36:49.670 --> 36:54.870] I mean, it can run disconnected, but it doesn't like it. [36:54.870 --> 36:55.150] Yeah. [36:55.150 --> 36:57.170] And you get different problems. [36:57.170 --> 37:01.590] It basically runs for like 30 seconds and goes, oh, I lost connection to the internet. [37:01.590 --> 37:03.430] My database is not up to date anymore. [37:03.710 --> 37:04.110] Yeah. [37:04.770 --> 37:06.910] But that gives us a full security stack. [37:07.190 --> 37:09.490] And it did not crash with CrowdStrike. [37:09.490 --> 37:10.750] Yeah, it did not crash. [37:11.450 --> 37:13.490] So this is year two. [37:13.490 --> 37:17.290] We took a lot of what we learned from the first year, which was basically up to four. [37:17.290 --> 37:18.870] The first year, it ran on Wi-Fi. [37:18.990 --> 37:20.870] We had people de-authenticate all the time. [37:20.870 --> 37:22.490] We went to hardware. [37:24.770 --> 37:26.590] Originally, it ran on a Raspberry Pi. [37:26.590 --> 37:28.990] It's a control object. [37:29.270 --> 37:34.730] And we switched over to just a x86-based thing, like running on a PC. [37:35.490 --> 37:39.190] And we put it inside some nice little PBMs, keyboards. [37:39.190 --> 37:41.310] And we actually had it all self-contained. [37:41.790 --> 37:44.950] And then we added the marquee display at the top. [37:45.550 --> 37:49.310] So it can display GIFs, videos, that kind of stuff. [37:49.710 --> 37:51.290] Take a question about Snacky. [37:51.290 --> 37:55.370] And then we added HAL 9000, or Snacky 9000. [37:55.370 --> 38:00.610] Which is our infrared and Morse code style challenges. [38:08.490 --> 38:11.170] Oh yeah, so here's the current. [38:11.170 --> 38:12.870] This is like this year's. [38:13.210 --> 38:14.630] We added a speaker. [38:16.130 --> 38:23.690] Upgrading our display to a higher resolution to be like that 1920x1960, which is really weird to make hard assets for. [38:25.370 --> 38:27.310] It frustrates everyone in the team. [38:27.310 --> 38:30.030] So like this year's, now you don't have to involve that ratio. [38:30.030 --> 38:34.450] You can just make whatever simple letterbox or stretch or whatever. [38:34.450 --> 38:36.230] Whatever it actually decides to do. [38:36.230 --> 38:37.650] Focus on that image. [38:39.130 --> 38:43.250] We upgraded our heat source for the thermal printer. [38:43.470 --> 38:45.650] Which we actually think is a downgrade now. [38:45.650 --> 38:49.710] Because we have people having problems scanning that heat source code now. [38:49.730 --> 38:52.790] So trying to find the original source of the heat. [38:53.790 --> 38:55.750] We added more LEDs. [38:56.350 --> 39:00.550] And now it has a PoE switch in it for future expansion. [39:00.550 --> 39:05.150] So we're hoping to bring like more themes for our contest and hooking up to it. [39:06.010 --> 39:07.430] I like that PoE. [39:07.430 --> 39:10.810] Yeah, we put a transmitter in there too for all that. [39:12.130 --> 39:14.290] So everything we're trying to add on. [39:14.290 --> 39:17.830] We added a speaker. [39:17.830 --> 39:21.670] It's really easy and modular how we designed the software. [39:21.870 --> 39:23.670] And the hardware solutions. [39:23.670 --> 39:25.570] So it's easy to add on. [39:25.910 --> 39:28.050] It probably needs a refactor now. [39:28.050 --> 39:31.250] Because it has like one big Python script that runs everything. [39:31.470 --> 39:33.290] We probably need to fix that. [39:33.450 --> 39:34.190] Yeah. [39:35.070 --> 39:36.010] Okay. [39:38.250 --> 39:39.450] Perfect. [39:40.850 --> 39:42.970] So actually this is... [39:42.970 --> 39:44.590] Because we... [39:49.470 --> 39:55.930] I should say, do you want to try and build a badge out of cannibalized parts? [39:55.930 --> 39:57.610] Which may work. [39:57.610 --> 39:59.370] Come visit us tomorrow. [40:00.510 --> 40:03.910] Or just come check out Snacky and mess with the press buttons. [40:07.310 --> 40:08.270] Yay. [40:09.250 --> 40:11.110] Any questions? [40:11.170 --> 40:12.190] Related? [40:12.250 --> 40:13.510] Or not? [40:13.830 --> 40:15.510] You have us for... [40:15.510 --> 40:16.830] I don't know. [40:16.830 --> 40:17.570] They have to tell me. [40:17.570 --> 40:18.480] Four more minutes? [40:22.090 --> 40:25.370] Oh, Jesus. [40:39.370 --> 40:40.170] Oh. [40:40.710 --> 40:42.470] We're getting caned off stage. [40:42.770 --> 40:43.590] How about this? [40:43.590 --> 40:45.790] If you have questions, follow us right up there.