Extract Scripts Lumps From Multiple WADs?
Posted: Fri Sep 05, 2025 6:14 am
I guess this is asset related...
Does anyone know of a way to extract the scripts lump from a map WAD and save it as a text file?
Ideally it would be nice if there was some sort of command line tool where I could type something like:
scriptextract [WADFile] [OutputFile]. This would be perfect because I actually often want to extract the lumps from several WADs. With a tool like this, I could chain things together with a batch file and extract multiple lumps in one go. At present, I am using Slade to extract the scripts lumps manually, and it takes a long time if I am working with a lot of files. I have to load each WAD, and extract its Scripts lump, then move on to the next WAD. Why do I want this? I often want to search the scripts lumps of multiple files to see which ones contain a certain instruction or whatever. The only way I've figured out to search through multiple scripts lumps is to use my text editor's "find in files" feature where I can just enter the string I'm looking for, point the text editor at a folder and a second or less later I have a readout of all files that contain the string in question. Plus, I like having backups of the scripts lumps. So, does anyone know of a tool that would do what I'm looking for?
Does anyone know of a way to extract the scripts lump from a map WAD and save it as a text file?
Ideally it would be nice if there was some sort of command line tool where I could type something like:
scriptextract [WADFile] [OutputFile]. This would be perfect because I actually often want to extract the lumps from several WADs. With a tool like this, I could chain things together with a batch file and extract multiple lumps in one go. At present, I am using Slade to extract the scripts lumps manually, and it takes a long time if I am working with a lot of files. I have to load each WAD, and extract its Scripts lump, then move on to the next WAD. Why do I want this? I often want to search the scripts lumps of multiple files to see which ones contain a certain instruction or whatever. The only way I've figured out to search through multiple scripts lumps is to use my text editor's "find in files" feature where I can just enter the string I'm looking for, point the text editor at a folder and a second or less later I have a readout of all files that contain the string in question. Plus, I like having backups of the scripts lumps. So, does anyone know of a tool that would do what I'm looking for?