READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Black Mirror 2 .dat file

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
User avatar
SCGame
n00b
Posts: 14
Joined: Mon Jul 13, 2009 1:41 am
Has thanked: 5 times

Black Mirror 2 .dat file

Post by SCGame » Tue Jun 08, 2010 4:33 am

There is a sample
please help, thanks
You do not have the required permissions to view the files attached to this post.

User avatar
aluigi
VVIP member
VVIP member
Posts: 1917
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 644 times
Contact:

Re: Black Mirror 2 .dat file

Post by aluigi » Tue Jun 08, 2010 9:01 am

script for QuickBMS:

Code: Select all

get DAT_SIZE asize
for OFFSET = 0 < DAT_SIZE
    get NAMESZ long
    if NAMESZ == 0
        cleanexit
    endif
    getdstring NAME NAMESZ
    get SIZE long
    savepos OFFSET
    log NAME OFFSET SIZE
    math SIZE += 20
    math OFFSET += SIZE
    goto OFFSET
next
note that the last part of the file (from 0x50123) is composed by some info like some text and the dds image of a pointer that will not be extracted because don't follow the general file format of the rest of the archive

User avatar
MiLØ
veteran
Posts: 114
Joined: Sun Dec 11, 2011 8:00 am
Has thanked: 34 times
Been thanked: 18 times

Re: Black Mirror 2 .dat file

Post by MiLØ » Sat Jun 14, 2014 11:55 pm

^ While this script works on a sample SCGame provided, it doesn't work with other DAT files which contain main graphic data such as backgrounds.

For example Ruins.dat, it extracts a "Ruins" file from it without any extension and that's all. The resulting file is slightly smaller in size. No subfolders or TGA files like it did for a sample cursor2.DAT. Though it can be seen via Hex editor that there are some TGA files inside. Maybe some further extraction method can be applied?

Here's a Ruins.DAT file
https://mega.co.nz/#!jIkAyRLK!lNjPFcyFt ... UHicSY-Ru0

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2666
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 662 times
Been thanked: 1366 times

Re: Black Mirror 2 .dat file

Post by shakotay2 » Mon Jun 23, 2014 11:06 am

MiLØ wrote:Though it can be seen via Hex editor that there are some TGA files inside. Maybe some further extraction method can be applied?
Maybe. But who will?
There are only 32x .tga strings contained but a whole bunch of "dds".

I checked the one at 0x1C80E up to 0x21C891:
ruins.JPG
You do not have the required permissions to view the files attached to this post.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

lllccc
mega-veteran
mega-veteran
Posts: 216
Joined: Thu Apr 12, 2012 12:27 am
Has thanked: 18 times

Re: Black Mirror 2 .dat file

Post by lllccc » Mon Jun 23, 2014 2:38 pm

man this game is old but this is great news i would love to see this game cracked open :)

User avatar
MiLØ
veteran
Posts: 114
Joined: Sun Dec 11, 2011 8:00 am
Has thanked: 34 times
Been thanked: 18 times

Re: Black Mirror 2 .dat file

Post by MiLØ » Fri Jun 27, 2014 9:55 pm

shakotay2 wrote:There are only 32x .tga strings contained but a whole bunch of "dds".

I checked the one at 0x1C80E up to 0x21C891
This went right over my head, no idea what it means :D
But kudos to you for achieving that result... with whatever you did.

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2666
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 662 times
Been thanked: 1366 times

Re: Black Mirror 2 .dat file

Post by shakotay2 » Sat Jun 28, 2014 7:33 am

MiLØ wrote:This went right over my head, no idea what it means :D
The mentioned data block has to be exported as a binary file and named as anyname.dds. Just simple as this.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

Post Reply