RobertBeckebans / RBDOOM-3-BFG

Doom 3 BFG Edition source port with updated DX12 / Vulkan renderer and modern game engine features
https://www.moddb.com/mods/rbdoom-3-bfg
GNU General Public License v3.0
1.38k stars 247 forks source link

extractResourceFile <copysound> bool seems to not work at all #166

Closed ghost closed 2 weeks ago

ghost commented 9 years ago

I wanted to extract audio files and I found out there's this parameter () for extractResourceFile command from ingame console. Unfortunately, it extracts only empty .wav files, with 0 bytes of data.

Also, is there a way to extract .bimage files?

I need to decompress both, .bimage and .idwavs, because we are trying to mod some things but first we need some samples to start from.

Thank you for any kind of answers regarding this issue!

RobertBeckebans commented 9 years ago

The .resources files don't contain the source .wav files and the resources system is built in a way that it only collects the id Tech specific formats.

ghost commented 9 years ago

Hmm, interesting... But still - would there be a way to implement some function to in-game console for decompression of id Tech generated files back to their original counterparts?

Because, when it can automatically compress .wav files if there is not their .idwav counterpart, it should be able to do the opposite in some way....