From d27da47cc99609372ed5cb1356822482bc2be2c6 Mon Sep 17 00:00:00 2001 From: Lucas Schwiderski Date: Fri, 12 Jul 2024 15:43:41 +0200 Subject: [PATCH] Add File Type - Wwise Stream --- File Type - Wwise Stream.-.md | 37 +++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 File Type - Wwise Stream.-.md diff --git a/File Type - Wwise Stream.-.md b/File Type - Wwise Stream.-.md new file mode 100644 index 0000000..adf89fa --- /dev/null +++ b/File Type - Wwise Stream.-.md @@ -0,0 +1,37 @@ +Seems to be just a pointer into a corresponding `.stream` file in `data/`. + +A file header will look like this +``` +uint32 lang = 0x0; +byte external = 0x0; +uint32 size = 12; +byte unknown = 1; +uint32 len_data_file_name = 31; +``` + +`extra_file` will then contain the path of the `.stream` file. + +```101editor +//------------------------------------------------ +//--- 010 Editor v12.0.1 Binary Template +// +// File: dt_wwise_stream.bt +// Authors: Lucas Schwiderski +// Version: +// Purpose: +// Category: Darktide +// File Mask: *.wwise_stream +// ID Bytes: +// History: +//------------------------------------------------ + +// Could be the version, but 27 different versions of a file that only contains an offset seems unlikely +uint32 unknown1; +Assert(unknown1 == 0x1b); + +// Offset and length of the section within the `.stream` file. +// Since all `.wwise_stream` files seem to get their own `.stream` file, `offset` always ends up being `0`, +// and `length` always ends up matching the `.stream` file's size. +uint32 offset; +uint32 length; +``` \ No newline at end of file