 Hello and welcome today. We're gonna be building Duke Nukem 3d from source code. I'm gonna run a script here called build Duke It's a script. I created there'll be a link to it in the description But here it is on the left while that's going what it's gonna do is first check to see if you have all the tools You need to build it and it will install them if you don't again It's a Debian based system is using apt and then we're going to download the source code Unzip it move into the directory. We just unzipped and make the game It'll probably take a couple of minutes maybe five minutes depending on your machine to build it the first time Once it's built, we're gonna make a directory in our home directory for the config files and all the game assets next we'll download the assets for the game and Move them into that directory now The game is free and open source as far as the source code goes But the game assets are still under a copyright and not publicly available unless you purchase it So make sure you've purchased it I put a link to them up online to make it easy for you But I can't guarantee these links will always work But it will download the game unzip them move them into that config directory Then we will also download the atomic edition which is an expansion pack giving you more weapons levels and enemies and If you're going to work with mods most mods seem to require the atomic edition It just makes the game better So we're going to download that extract it into our config directory as well next We're going to take the binaries that we compiled eduke 32 and mapster 32 and put them into our USR local bin directory so that we can execute them from anywhere on our system But to make sure that we're configuring them using the proper Config files and game assets. We want to tell to use the directory recreated So here I'm creating a script called Duke and we're just telling it to use e32 or eduke 32 dash j to use this directory And then we're going to make that executable. So once that's done We can just run the Duke command and the game will run now again The first time you go to compile this it will take longer than if you make modifications and go to recompile it I would say maybe three to five minutes depending on your system for it to compile Which is what it's doing right now again once it's done doing that it's going to download the assets Which I've already downloaded so it's not going to re-download them my scripts smart enough to know that It's extracting them and then it will run the Duke command and we'll get our dialogue here now I'm going to disable full screen mode right now because of recording It will mess up my recording if I try to record and it flips to this full screen mode I'll even keep the resolution down. This might cause it to be in a small box of my tiling window manager, but we'll click start and There we go. There's the game in a window here and it's playing We can go into options and change display settings as we want video mode change the resolution Aspect ratio and whether it's full screen or not, but that's it That's all you need to do to get Duke Nukem compiled from source code as long as you have the game assets And again, there's links to those in the script, but technically you're supposed to own those yourself And as always I thank you for watching. Please visit filmsbychrist.com. That's Chris with the K There's a link in the description as always. I hope that you have a great day