Page 1 of 1
Black Mirror 2 .dat file
Posted: Tue Jun 08, 2010 4:33 am
by SCGame
There is a sample
please help, thanks
Re: Black Mirror 2 .dat file
Posted: Tue Jun 08, 2010 9:01 am
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
Re: Black Mirror 2 .dat file
Posted: Sat Jun 14, 2014 11:55 pm
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
Re: Black Mirror 2 .dat file
Posted: Mon Jun 23, 2014 11:06 am
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
Re: Black Mirror 2 .dat file
Posted: Mon Jun 23, 2014 2:38 pm
by lllccc
man this game is old but this is great news i would love to see this game cracked open
Re: Black Mirror 2 .dat file
Posted: Fri Jun 27, 2014 9:55 pm
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
But kudos to you for achieving that result... with whatever you did.
Re: Black Mirror 2 .dat file
Posted: Sat Jun 28, 2014 7:33 am
by shakotay2
MiLØ wrote:This went right over my head, no idea what it means
The mentioned data block has to be exported as a binary file and named as anyname.dds. Just simple as this.