The Forum is up for sale: XeNTaX Forum looking for new owner

Black Mirror 2

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
Venushja
beginner
Posts: 35
Joined: Tue Oct 19, 2010 4:13 pm
Has thanked: 1 time

Black Mirror 2

Post by Venushja »

Hello ...
I can not write the script for Black Mirror 2 speech.dat to file .... But my knowledge is insufficient for this :-(
file is too big to my upload so I add photo

Code: Select all

http://img257.imageshack.us/img257/2229/bm2speech.jpg
and my script I wrote

Code: Select all

get HEADERZ long
get FILES long
for i < FILES
     getdstring NAME 0x33 # one file is hex 0x33 , two file is hex 0x2E
     get ZSIZE long
     get SIZE long 
     get OFFSET long
     clog NAME OFFSET ZSIZE SIZE
next i
Thank you for your help
bacter
veteran
Posts: 142
Joined: Mon Feb 22, 2010 8:42 pm
Has thanked: 2 times
Been thanked: 83 times

Re: Black Mirror 2

Post by bacter »

Code: Select all

# Black Mirror II - "sounds.dat" file extractor script for QuickBMS
get FILES long
for i = 0 < FILES
  get NameSize long
  getdstring File_Name NameSize
  get Start_Pos long
  get File_Size long
  log File_Name Start_Pos File_Size
next i
Venushja
beginner
Posts: 35
Joined: Tue Oct 19, 2010 4:13 pm
Has thanked: 1 time

Re: Black Mirror 2

Post by Venushja »

bacter wrote:

Code: Select all

# Black Mirror II - "sounds.dat" file extractor script for QuickBMS
get FILES long
for i = 0 < FILES
  get NameSize long
  getdstring File_Name NameSize
  get Start_Pos long
  get File_Size long
  log File_Name Start_Pos File_Size
next i
Thank you ...
and we could please explain what each command? Learn that only a few days so I would like to know what and how :-)
Post Reply