Important information: this site is currently scheduled to go offline indefinitely by end of the year.

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 »

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: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Black Mirror 2 .dat file

Post by aluigi »

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
MiLØ
veteran
Posts: 114
Joined: Sun Dec 11, 2011 8:00 am
Has thanked: 36 times
Been thanked: 20 times

Re: Black Mirror 2 .dat file

Post by MiLØ »

^ 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: 4285
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1147 times
Been thanked: 2242 times

Re: Black Mirror 2 .dat file

Post by shakotay2 »

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.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
lllccc
mega-veteran
mega-veteran
Posts: 215
Joined: Thu Apr 12, 2012 12:27 am
Has thanked: 18 times

Re: Black Mirror 2 .dat file

Post by lllccc »

man this game is old but this is great news i would love to see this game cracked open :)
MiLØ
veteran
Posts: 114
Joined: Sun Dec 11, 2011 8:00 am
Has thanked: 36 times
Been thanked: 20 times

Re: Black Mirror 2 .dat file

Post by MiLØ »

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: 4285
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1147 times
Been thanked: 2242 times

Re: Black Mirror 2 .dat file

Post by shakotay2 »

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.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
Post Reply