DOOM (new one) textures

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Panzerdroid
Posts: 66
Joined: Sun Aug 30, 2015 12:51 pm

DOOM (new one) textures

Post by Panzerdroid »

Hello everyone,

I hope you can help me (and not only me) with this matter and make us all happy :)

As you may know, idTech engine games use MegaTexture techhnology. And up until know it was impossible to extract and use them, due to JPEG2000-like compression and inability to extract/replace data. But it seems that in Doom devs changed they use textures to more traditional way. They still save textures in vmtr/pages-files, but now they look just like LZ-compressed ones, even with headers and visible structure.

My bet is that it's LZ4-compression. Game EXE have strings of LZ4_Decompression and LZW decompression, but by the look of the entropy it's very much LZ4. Unlike gameresources.index/
gameresources.resources files, which already have tools for them, textures are still terra nova.

I tried to use your bms scan, but it can't detect LZ4, and when I run it manually, it crashes - maybe some headers have to be removed before, IDK.

I uploaded sample files to http://www55.zippyshare.com/v/gNKP8Vtl/file.html

I included:

- _vmtr.pages (first 20 Mb)
- _vmtr.vmtr (looks like ToC)
- sample extracted chunks from other .pages file

Maybe you could tell, if it's really LZ4 or LZ-like algo? Or, if someone has time, make sample BMS-script? Mod-makers all around the world would be very grateful :)

PM me if you need game exe/dll files.

Thanks in advance!
Doctor Loboto
Posts: 376
Joined: Sun May 31, 2015 2:23 am

Re: DOOM (new one) textures

Post by Doctor Loboto »

I would personally appreciate any progress with extracting the textures from this game, as the models can be pulled with a tool, but textures are yet unknown, making the models incomplete.