Join also our Discord channel! Click here.

Doom 3 BFG Edition .Resource

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
brendan19
ultra-veteran
ultra-veteran
Posts: 377
Joined: Thu Aug 12, 2010 8:15 am
Has thanked: 54 times
Been thanked: 83 times

Doom 3 BFG Edition .Resource

Post by brendan19 » Wed Oct 17, 2012 3:31 am

Resource files contain a file table at the end of the archive. A BMS script or unpacker would be fantastic :)

Taken from my own purchased Xbox 360 copy of Doom 3: BFG Edition.

Send me an e-mail if you would like to have a look at it.

brendan_1_9@hotmail.com

EDIT: The developer's console for the PC version of Doom 3 BFG Edition can extract the resource files from both the PC and Xbox 360 versions of the game. You have to add the following to the command line in the launch option in order to get access to the developer's console:

Code: Select all

+seta com_allowconsole 1
Run the game and then press the '~' key to display the console. Type the following into the developer's console to extract the .resources files.

Code: Select all

extractResourceFile <resource file> <outpath> <copysound>
The <copysound> isn't necessary to extract the files. The <outpath> is necessary and it will create a folder in the root directory of where the game is installed.
Last edited by brendan19 on Wed Oct 17, 2012 10:37 am, edited 1 time in total.

doomed
n00b
Posts: 11
Joined: Sun May 09, 2010 12:55 am
Been thanked: 2 times

Re: Doom 3 BFG Edition .Resource

Post by doomed » Wed Oct 17, 2012 9:28 am

You can unpack them with the included console command "extractResourceFile"

Just type eg: extractResourceFile maps/admin.resources base/maps/admin

What we need is someone to make a "repacker" and to figure out the new ".bimage" texture format!

edit: viewtopic.php?f=18&t=7499

Someone needs to get to it ASAP!! :D

Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1650
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 68 times
Been thanked: 832 times

Re: Doom 3 BFG Edition .Resource

Post by Ekey » Wed Oct 17, 2012 12:59 pm

Here script for unpack.

Code: Select all

# Doom 3 BFG Edition (RESOURCES format)
# 
# Written by Ekey (h4x0r)
# http://www.progamercity.net
# 
# script for QuickBMS http://quickbms.aluigi.org

endian big

idstring "\xD0\x00\x00\x0D"
get TABLEOFFSET long
goto TABLEOFFSET
get FILES long

for i = 0 < FILES
    get NSIZE long
    reverselong NSIZE
    getdstring NAME NSIZE
    get OFFSET long
    get SIZE long
    log NAME OFFSET SIZE
next i

GRiNDERKILLER
veteran
Posts: 87
Joined: Thu Jul 12, 2012 12:24 pm
Has thanked: 12 times
Been thanked: 28 times

Re: Doom 3 BFG Edition .Resource

Post by GRiNDERKILLER » Thu Oct 18, 2012 2:49 pm

Thanks Ekey for script, but console command have same function like BMS script which you posted.
Yep and one thing, you are a Trainer maker?

Polefish
veteran
Posts: 94
Joined: Sat Jun 20, 2009 1:47 pm
Has thanked: 16 times
Been thanked: 13 times

Re: Doom 3 BFG Edition .Resource

Post by Polefish » Fri Oct 26, 2012 3:29 pm

GRiNDERKILLER wrote:Thanks Ekey for script, but console command have same function like BMS script which you posted.
And besides that it tells you how to repack such a recourcefile...

jonwil
ultra-n00b
Posts: 9
Joined: Sat Mar 05, 2011 10:58 am

Re: Doom 3 BFG Edition .Resource

Post by jonwil » Sun Oct 28, 2012 3:43 am

Just a heads up for anyone working on Doom 3 BFG, ID Software will be releasing source code for it in the near future per this
https://twitter.com/ID_AA_Carmack/statu ... 1369502720

Post Reply