Wwise Audio Tools  0.5.2
Tools for working with Wwise file types
wwtools::w3sc Namespace Reference

contains helper functions for The Witcher 3 sound cache files More...

Functions

std::string get_info (const std::string &indata)
 get the info string More...
 
void create (const std::vector< std::pair< std::string, std::string >> &files, std::ostream &os)
 create a sound cache file from BNK and WEM files More...
 

Variables

const char MAGIC [4] = {'W', '3', 'S', 'C'}
 
const uint32_t VERSION = 1
 
const uint64_t DUMMY = 0
 

Detailed Description

contains helper functions for The Witcher 3 sound cache files

Function Documentation

◆ create()

void wwtools::w3sc::create ( const std::vector< std::pair< std::string, std::string >> &  files,
std::ostream &  os 
)

create a sound cache file from BNK and WEM files

Parameters
filesinput files to be embedded into a BNK
osoutput stream for the file

◆ get_info()

std::string wwtools::w3sc::get_info ( const std::string &  indata)

get the info string

Parameters
indatastd::string with the file data
Returns
a printable info string