 Okay again this is part of the series, the first part of the series was looking at editing the source code and the binary files for PRBOOM which is a port of doom and today we're going to be looking at extracting wads. We're going to be reviewing stuff so I suggest watching the previous videos, hopefully there's an annotation on the screen to the full playlist. So let's go ahead and get started. I'm in an empty folder here, if I run do text which is our wad extractor and packer and we tell it's dash doom because it's a doom one, I point to the doom one wad. I can also point it to dash sounds and then extract. What we're doing here is in the previous videos we've been extracting the entire wad but there's different categories. Once you extract you see that there's different folders, graphics, textures, levels, sounds. Here we're saying dash sounds to just extract the sounds that we don't have to extract the full wad file. I'll show you the difference. So if I just extract and I can say PC man here or pack man whatever your file manager is you can see that I have extracted all these folders and they have images in some of them sounds and others but if I was to delete all that and run the same command but with the dash sounds option now open up my file manager here you can see there's only one folder and that's the folder containing the sounds. So we're going to edit a sound today and there's lots of different sound software out there. Audacity is a very popular one but I'm going with a WM wave should be in repositories if you're on a Debian based system at least. It's not as full-blown as Audacity is and I like Audacity for track editing lots of different tracks and stuff mixing stuff but if you're just doing a simple wave edit I prefer this program and another thing is Doom is very particular about the bit rate and everything for the file and when you use Audacity it's you have a project and you would have to change all the settings to match what you need for Doom where if I use MH wave edit and I open up one of the audio files for Doom already it already has those settings so if I just replace that file and save it I don't have to worry about getting all the settings right so I'm going to say open up I'm going to go into the sounds folder ds all the audio files start with that I'm assuming that stands for Doom sound and I'm going to say pistol.au those are the audio files I want to say au open that and if I click play hopefully you can hear that it's a gunshot so what I'm going to do now is I'm going to go open and I'm going to open up a file uh that I already created and it's my voice saying bang it's rather low so what I'm going to do is I'm going to up the audio of it a few times I'm going to go effects and volume adjustment fade and I'm just going to set this to 400 at the beginning and end apply it's a bit louder now so here's the original gunshot sound I'm going to select all that and just hit delete and you can already see if you look at the top the doom sound is an 8-bit sound at 1125 hertz where this sound that I recorded is at 16 bits and 440 and 100 hertz so if I save this file now it won't work in doom but if I just take it and paste it over here and then I can play it and I can control s to save it it warns me it's clipping it's because I boosted the audio a lot so it's clipping a little bit it's all right for this and click okay and then I can close both of those don't need to save the first one and what I'm going to do is I'm going to do text make one wad I'm just calling the wad one dot wad and um you can see some warnings here these warnings are always here one of the audio files is at the wrong rate and it won't work on a previous version of doom but in pr boom it's going to work fine and that's not the file we were editing anyway so now I can use pr boom to run our wad file and hopefully you'll hear when I click or if I shoot you hear me saying bang instead of the actual gunshot so hopefully you're picking that up in the video here and um because I'm just recording that sound with my microphone but that is how you can edit sound in doom and I thought I'd show you that because if you tried to save it in the wrong format it wouldn't work and I find the easiest way is to use like I said um mh wave edit and just override the file because again you could use audacity but you'd have to change your project settings to all the right settings for that so that's it I try to keep this one short and simple and as always I hope that you have a great day please visit my website filmsmychrist.com that's Chris the K who should be a link in the description and as always I hope that you have a great day