Fatal Frame: Maiden of Black Water .SED archive

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
juwoe
Posts: 5
Joined: Tue Jul 12, 2016 9:25 pm

Fatal Frame: Maiden of Black Water .SED archive

Post by juwoe »

Hello :)

I've been searching everywhere for a solution to unpack the .SED archives found in the game files, particularly the one which appears to contain the sound effects for the camera obscura (WP_CAMERA0.SED). When opened with a hex editor, it seems like it may be of another format called WHD, but I didn't find anything for that either. Here's the beginning of the file:

Code: Select all

57 48 44 31 2E 30 00 00 FF 00 01 01 00 00 00 30   WHD1.0..ÿ......0
00 25 52 A0 00 00 00 02 00 00 00 02 00 00 00 00   .%R ............
00 00 00 30 00 00 00 40 00 00 00 00 00 00 00 00   ...0...@........
00 00 00 50 00 00 36 B0 00 00 00 00 00 00 00 00   ...P..6°........
00 00 36 5C 00 25 1B EC 00 00 00 00 00 00 00 00   ..6\.%.ì........
57 42 48 5F 30 30 30 30 00 00 36 5C 53 44 57 69   WBH_0000..6\SDWi
56 65 72 73 00 00 00 10 00 00 00 00 53 44 73 64   Vers........SDsd
48 65 61 64 00 00 00 30 00 00 36 50 00 25 1B E0   Head...0..6P.%.à
00 00 00 40 00 00 29 80 00 00 00 32 FF FF FE 70   ...@..)€...2ÿÿþp
00 00 00 00 00 00 00 00 00 00 00 00 53 44 73 64   ............SDsd
50 72 6F 67 00 00 1A 40 00 00 00 30 00 00 02 50   Prog...@...0...P


You can download it here: http://www107.zippyshare.com/v/trDGIeV0/file.html

I would appreciate any kind of help, and if you need more information just ask :) Thanks in advance!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Fatal Frame: Maiden of Black Water .SED archive

Post by aluigi »

I have updated the existent script to handled these archives:
http://aluigi.org/bms/fatal_frame.bms

There are a couple of fields that are "duplicated" but hopefully the script works with all the sed archives.
juwoe
Posts: 5
Joined: Tue Jul 12, 2016 9:25 pm

Re: Fatal Frame: Maiden of Black Water .SED archive

Post by juwoe »

aluigi wrote:I have updated the existent script to handled these archives:
http://aluigi.org/bms/fatal_frame.bms

There are a couple of fields that are "duplicated" but hopefully the script works with all the sed archives.

First a big thank you for helping me once again, aluigi! :)
I've tried your script, updated QuickBMS to the latest version and also put the "lfm_order.bin" into the same folder just to be sure, but I always get the following:

Code: Select all

QuickBMS generic files extractor and reimporter 0.7.6a
by Luigi Auriemma
e-mail: me@aluigi.org
web:    aluigi.org
        (Aug 22 2016 - 18:08:37)

                   quickbms.aluigi.org  Homepage
                            zenhax.com  ZenHAX Forum
                               @zenhax  Twitter & Scripts

- GUI mode activated, remember that the tool works also from command-line
  where are available various options like folder scanning, filters and so on

- select the BMS script to use
- select the input archives/files to extract, type * or "" for whole folder and subfolders
- select the output folder where extracting the files
- open input file C:\Users\juwoe\Downloads\fatframedata\extracted\SOUND\SE\WP_CAMERA0.SED
- open script C:\Users\juwoe\Desktop\fatal_frame.bms
- set output folder C:\Users\juwoe\Downloads\fatframedata\extracted\SOUND\SE\camera

  offset   filesize   filename
--------------------------------------
- enter in folder C:\Users\juwoe\Downloads\fatframedata\extracted\SOUND\SE
- open input file C:\Users\juwoe\Downloads\fatframedata\extracted\SOUND\SE\lfm_order.bin

- signature of 4 bytes at offset 0x00000000 doesn't match the one
  expected by the script:

  this one: "WHD1"
  57 48 44 31                                       WHD1

  expected: "LNS5"
  4c 4e 53 35                                       LNS5

- 0 files found in 1 seconds
  coverage file 0     0%   4          2445984
  coverage file 1    99%   212400     212487

Press ENTER or close the window to quit

Am I doing something wrong? :? If so, please point me in the right direction :)
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Fatal Frame: Maiden of Black Water .SED archive

Post by aluigi »

The script is 0.1.2, it appears you are taking it from your browser's cache.
Use CTRL-F5 and check the first line of the script.
juwoe
Posts: 5
Joined: Tue Jul 12, 2016 9:25 pm

Re: Fatal Frame: Maiden of Black Water .SED archive

Post by juwoe »

That was it, thank you! It is working like a charm :)
For my specific archive, it outputs a rather large .dat with a smaller .wbh file. Do you have any idea how it would now be possible to get the sounds inside? Is there another script needed?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Fatal Frame: Maiden of Black Water .SED archive

Post by aluigi »

I don't know how the audio data is stored in those "WBH_0000" files, I don't even know if they are audio files.