Darksiders II: Deathinitive Edition

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Doctor Loboto
Posts: 376
Joined: Sun May 31, 2015 2:23 am

Darksiders II: Deathinitive Edition

Post by Doctor Loboto »

All right so I've gotten as far as unpacking the base archives, but now I'm left with a bunch of .obp files that neither darksiders script works on. I was hoping I could extract models and textures. Here's a few samples.

https://www.dropbox.com/s/e3v1sy9j5f8xxcc/angel_male.zip?dl=0
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Darksiders II: Deathinitive Edition

Post by aluigi »

I didn't check your file but I have 2 scripts on my website and there is even a tool that supports newer formats:
http://aluigi.org/bms/darksiders2.bms
http://aluigi.org/bms/darksiders.bms (yeah sometimes it's necessary this one too)
viewtopic.php?t=1738&p=13332#p13332
Doctor Loboto
Posts: 376
Joined: Sun May 31, 2015 2:23 am

Re: Darksiders II: Deathinitive Edition

Post by Doctor Loboto »

The first script works to unpack the 'big' archives, but fails on the ones like the examples I gave before, as does the second script. I tried the tool as well, it always fails at 6.something percent extraction progress, then dies.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Darksiders II: Deathinitive Edition

Post by aluigi »

The OBPK format had all the TOC in clear while the files you upload have random data from offset 0x2e till various unaligned bytes later.
I don't think it's compression.

The only content of these OBP files is just one big zlib compressed file ("BOD") that you can easily dump with offzip -a.
If it's just one file per file... go with offzip! :D
Doctor Loboto
Posts: 376
Joined: Sun May 31, 2015 2:23 am

Re: Darksiders II: Deathinitive Edition

Post by Doctor Loboto »

Hey uh, I got the original Darksiders II, but the script for unpacking the archives generates an error? Something about using more 'arrays' than are available?

"Error: the script uses more array indexes (1576) than available (55)

Last script line before the error or that produced the error:
71 getarray TMP 10 us1"
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Darksiders II: Deathinitive Edition

Post by aluigi »

Currently I can't help.
Doctor Loboto
Posts: 376
Joined: Sun May 31, 2015 2:23 am

Re: Darksiders II: Deathinitive Edition

Post by Doctor Loboto »

OKAY, my apologies, everyone. I finally managed to figure out why the Darksiders2 script wasn't working, and it was due to a very stupid mistake on my part. I now have the Deathinitive Edition extracted down to the 'smaller' archives. However the second script doesn't seem to properly work with the resulting files. Here's an example to have a look at. https://www.dropbox.com/s/ycbdd9ppd6mxz ... 0.obp?dl=0
Doctor Loboto
Posts: 376
Joined: Sun May 31, 2015 2:23 am

Re: Darksiders II: Deathinitive Edition

Post by Doctor Loboto »

Can anyone help? I really, REALLY need to get the model and textures out of this file. Textures are usually dds, the models come in a format ".dcm" and there's usually a few other files such .bmat and maybe the anim files. I only really need the dds and dcm.
Szkaradek123
Posts: 124
Joined: Sat Aug 29, 2015 1:13 pm

Re: Darksiders II: Deathinitive Edition

Post by Szkaradek123 »

I can run any tool for obp files too.
So i wrote ".obp" extractor and model importer . Only for Blender version 249.


You need:
http://download.blender.org/release/Ble ... indows.exe
and
https://www.python.org/ftp/python/2.6.6 ... -2.6.6.msi

Unpack archive, doubleclick on file "Blender249.blend" , press alt+p in Blender Text Window

Models are in files with ".2" extension.

No weights , no skeleton.

updated 2019-01-10:

http://www.mediafire.com/file/4crafqf0q ... -10%5D.zip
Last edited by Szkaradek123 on Thu Jan 10, 2019 4:03 am, edited 1 time in total.
Doctor Loboto
Posts: 376
Joined: Sun May 31, 2015 2:23 am

Re: Darksiders II: Deathinitive Edition

Post by Doctor Loboto »

Seems to be giving an error when running the scripts. I have all listed required programs.
Traceback (most recent call last):
File "starter.py", line 1, in <module>
import newGameLib
File "C:\Users\User\Downloads\Blender249[DarksidersIIDE][obp][2][2019-01-08]\newGameLib\__init__.py", line 1, in <module>
import myLibraries
File "C:\Users\User\Downloads\Blender249[DarksidersIIDE][obp][2][2019-01-08]\newGameLib\myLibraries\__init__.py", line 1, in <module>
import myFunction
File "C:\Users\User\Downloads\Blender249[DarksidersIIDE][obp][2][2019-01-08]\newGameLib\myLibraries\myFunction.py", line 10, in <module>
Student = collections.namedtuple('Student',['name','age','DOB'])
AttributeError: 'module' object has no attribute 'namedtuple'
Szkaradek123
Posts: 124
Joined: Sat Aug 29, 2015 1:13 pm

Re: Darksiders II: Deathinitive Edition

Post by Szkaradek123 »

Doctor Loboto
Posts: 376
Joined: Sun May 31, 2015 2:23 am

Re: Darksiders II: Deathinitive Edition

Post by Doctor Loboto »

Hey, we may need skeleton support, as some of them require additional 'placement' information from the skeleton file, for example... https://www.dropbox.com/s/g6dzs28ir4h9s ... 0.obp?dl=0
On this one you will notice his left arm seems displaced.
Doctor Loboto
Posts: 376
Joined: Sun May 31, 2015 2:23 am

Re: Darksiders II: Deathinitive Edition

Post by Doctor Loboto »

Here's another example of one without proper attachments unless it has skeleton, the back-pump things. https://www.dropbox.com/s/wg7j2564lotuz ... c.obp?dl=0
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Darksiders II: Deathinitive Edition

Post by Acewell »

Szkaradek123 wrote:So i wrote ".obp" extractor...

just for fun i translated your obp extractor to Noesis python api script. :)
extract_DarksidersIIDeathinitiveEdition_obp.zip

it only decompresses and extracts the files from the obp file.
amzerof6
Posts: 6
Joined: Sun Jan 25, 2015 4:36 pm

Re: Darksiders II: Deathinitive Edition

Post by amzerof6 »

Szkaradek123 wrote:I can run any tool for obp files too.
So i wrote ".obp" extractor and model importer . Only for Blender version 249.


You need:
http://download.blender.org/release/Ble ... indows.exe
and
https://www.python.org/ftp/python/2.6.6 ... -2.6.6.msi

Unpack archive, doubleclick on file "Blender249.blend" , press alt+p in Blender Text Window

Models are in files with ".2" extension.

No weights , no skeleton.

updated 2019-01-10:

http://www.mediafire.com/file/4crafqf0q ... -10%5D.zip


sorry ,I can't run this py script.
but still thank U for that, I love your work. help me so more.