You’ve come here for a reason. The Union Aerospace Corporation’s massive research facility on Mars is overwhelmed by fierce and powerful demons, and only one person stands between their world and ours. As the lone DOOM Marine, you’ve been activated to do one thing – kill them all.
DOOMExtract is a tool that lets you extract the gameresources.resources file from DOOM 2016 (alpha, beta and pre-patched retail). It can also repack the resources file, allowing you to modify existing files, add new ones and also delete files.
Instructions:
First download DOOMExtract 1.7 and enable DevMode if you haven't yet:
8/30/17 EDIT: After being unable to figure out why the "C:\Program Files (x86)\Steam" etc path wasn't working with DOOMExtract to compile mods, I changed DOOM's install location to fix it, so edit the paths here according to your own:
Extract to:
D:\SteamLibrary\steamapps\common\DOOM\base (or wherever your game is)
Create a batch file: New text document called ANYNAME.bat to run the command to compile the mod folder and create pindex files out of it (yes, name it whatever you want). Within it, paste this:
.\DOOMExtract.exe D:\SteamLibrary\steamapps\common\DOOM\base\gameresources.index --createPatch D:\SteamLibrary\steamapps\common\DOOM\MODS
Run it. The base folder should now have 2 new files: .patch and .pindex. Those are your mods. You can also create a .bat file within that folder to automate the process (much easier).
----
Readme:
1.7 allows you to set/update file IDs by adding a line for the file to the [repackFolder]\fileIds.txt file, of the format:
[full file path]=[file id]
(should also work when creating a patch too)
Extracting an index will create a fileIds.txt listing each files ID in the same format too.
ModLoader 0.2 will also merge fileIds.txt from each mod installed (currently doesn't detect conflicts where two mods both change the ID of a single file though)
Thanks to Grinderkiller for finding that IDs are important, I never actually thought the game used them but he found that weapons (and maybe more) rely on them, hope this update can make modding them easier for you all :)
Changes in 1.7:
Changes in 1.6:
Changes in 1.5:
See Also: Basic guide on getting started.
DOOMExtract 1.7 by infogram
DOOMExtract is a tool that lets you extract the gameresources.resources file from DOOM 2016 (alpha, beta and retail).
It can also repack the resources file, allowing you to modify existing files, add new ones and also delete files.
1.4 fixes a big issue with adding new files to resource packages - if the file you're adding doesn't already exist, and isn't in the root folder, it'll be added to the package as a new entry.. but the path separator character will use Windows' "\" instead of "/" as the game expects, meaning the game would never actually be able to access the file you've added. This has been fixed in 1.4.
Usage:
Extraction: DOOMExtract.exe [pathToIndexFile]
If destFolder isn't specified a folder will be created next to the index file.
Files with fileType != "file" will have the fileType appended to the filename.
eg. allowoverlays.decl;renderParm for fileType "renderParm"
Example: DOOMExtract.exe C:\DOOM\base\gameresources.index
will extract the resources into C:\DOOM\base\gameresources\
You should also be able to drag+drop the resources.index file into the DOOMExtract exe.
Repacking: DOOMExtract.exe [pathToIndexFile] --repack
Will repack the resources with the files in the repack folder.
Note that files that don't already exist in the resources will be added.
Files that are replaced/added won't be compressed in the resources file neither, so the filesize of it might increase a bit.
To set a new files fileType append the fileType to its filename.
eg. allowoverlays.decl;renderParm for fileType "renderParm"
Example: DOOMExtract.exe C:\DOOM\base\gameresources.index --repack C:\DOOM\mods\
will repack the resources with the files from C:\DOOM\mods\
Deleting files: DOOMExtract.exe [pathToIndexFile] --delete [file1] ...
Will delete files from the resources package. Full filepaths should be specified.
If a file isn't found in the package a warning will be given.
Example: DOOMExtract.exe C:\DOOM\base\gameresources.index --delete generated/buildgame/init.mapresources generated/buildgame/dev/mp_bigbox.mapresources
will delete generated/buildgame/init.mapresources & generated/buildgame/dev/mp_bigbox.mapresources from the resources package.
Included mods:
As an example some small mods for the closed alpha are included, these unlock extra gamemodes on MP_Bigbox and Heatwave.
Copy all the files from this zip into your DOOM/base/ folder, and run install_mods.bat to install them.
Heatwave: TDM, Bloodthirst, Clan Arena, Conveyor, Deathmatch, Freeze Tag
Note that Conveyor doesn't work properly on here as it's missing some entity. (mp/modes/conveyor/conveyor_controlpoint ?)
Domination could also be enabled on this map, but it's missing some entity so it wasn't included (idProp_Domination_ControlPoint, see mods/maps/dev/mp_bigbox.entities includes some control points as examples, someone can probably copy these to heatwave)
MP_Bigbox: TDM, Bloodthirst, Clan Arena, Conveyor, Deathmatch, Domination, Freeze Tag
Like with Heatwave, Conveyor doesn't work properly as it's missing an entity.
Domination works on this map, but might be missing some models/textures as the control points only show as black boxes.
I also tried enabling extra demons by editing the .entities files (search for availableDemonUnlocks), but when you try to use the extra demons nothing happens.
Probably missing files for them, or needs extra mods.
You're welcome to try to get them working of course :P Also if anyone can get the conveyor/domination modes to work properly too that'd be awesome.