# where to find fev file header?

**URL:** <https://qa.fmod.com/t/where-to-find-fev-file-header/12923>\
**Category:** FMOD Engine\
**Created:** [January 10, 2017, 3:53am UTC](https://qa.fmod.com/t/where-to-find-fev-file-header/12923 "2017-01-10T03:53:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![difei](https://avatars.discourse-cdn.com/v4/letter/d/a4c791/32.png) [@difei](https://qa.fmod.com/u/difei)\
**Post date:** [January 10, 2017, 3:53am UTC](https://qa.fmod.com/t/where-to-find-fev-file-header/12923/1 "2017-01-10T03:53:04Z")

</div>

I can find fsb file struct like:  
typedef struct {  
char id[4]; /\* ‘FSB5’ _/  
int32\_t version; // ???  
int32\_t numsamples; /_ number of samples in the file _/  
int32\_t shdrsize; /_ size in bytes of all of the sample headers including extended information _/  
int32\_t namesize; // size of the name table  
int32\_t datasize; /_ size in bytes of compressed sample data _/  
uint32\_t mode; /_ flags that apply to all samples in the fsb _/  
char zero[8]; /_ ??? _/  
uint8\_t hash[16]; /_ hash??? _/  
char dummy[8]; /_ ??? \*/  
} FSOUND\_FSB\_HEADER\_FSB5;  
but I cannot get the format for fev file. Can it be public to get?

---

<div class="post-metadata">

**Author:** ![brett](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/brett/32/261_2.png) [@brett](https://qa.fmod.com/u/brett)\
**Post date:** [January 19, 2017, 10:47pm UTC](https://qa.fmod.com/t/where-to-find-fev-file-header/12923/2 "2017-01-19T22:47:43Z")

</div>

> [@](#):
>
> I can find fsb file struct like:  
> typedef struct {  
> char id[4]; /\* ‘FSB5’ _/  
> int32\_t version; // ???  
> int32\_t numsamples; /_ number of samples in the file _/  
> int32\_t shdrsize; /_ size in bytes of all of the sample headers including extended information _/  
> int32\_t namesize; // size of the name table  
> int32\_t datasize; /_ size in bytes of compressed sample data _/  
> uint32\_t mode; /_ flags that apply to all samples in the fsb _/  
> char zero[8]; /_ ??? _/  
> uint8\_t hash[16]; /_ hash??? _/  
> char dummy[8]; /_ ??? \*/  
> } FSOUND\_FSB\_HEADER\_FSB5;  
> but I cannot get the format for fev file. Can it be public to get?

just to clean up your assumption there

#ifdef FMOD\_SUPPORT\_PRAGMAPACK  
#pragma pack(1)  
#endif  
struct FSB5\_HEADER  
{  
char id[4]; // ‘FSB5’  
unsigned int subVersion; // Extended FSB version  
int numSubSounds; // Number of subsounds in the file  
unsigned int headerChunkSizeBytes; // Size in bytes of all of the sub-sound headers including metadata  
unsigned int namesChunkSizeBytes; // Size in bytes of all the original source file names  
unsigned int dataChunkSizeBytes; // Size in bytes of compressed sample data  
FMOD\_FSB\_FORMAT dataFormat; // Compression format  
unsigned int dataFormatVersion; // Version number of compression format  
unsigned int mode; // Flags that apply to all subsounds in the FSB  
FMOD\_UINT64 compatibilityHash; // Deprecated  
FMOD\_GUID guid; // MD5 hash based unique identifier using all header information  
} FMOD\_PACKED;  
#ifdef FMOD\_SUPPORT\_PRAGMAPACK  
#pragma pack()  
#endif

---

<div class="post-metadata">

**Author:** ![difei](https://avatars.discourse-cdn.com/v4/letter/d/a4c791/32.png) [@difei](https://qa.fmod.com/u/difei)\
**Post date:** [January 10, 2017, 4:13am UTC](https://qa.fmod.com/t/where-to-find-fev-file-header/12923/3 "2017-01-10T04:13:17Z")

</div>

My final purpose is to read the audio file path in fev file.

---

<div class="post-metadata">

**Author:** ![brett](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/brett/32/261_2.png) [@brett](https://qa.fmod.com/u/brett)\
**Post date:** [January 19, 2017, 10:50pm UTC](https://qa.fmod.com/t/where-to-find-fev-file-header/12923/4 "2017-01-19T22:50:50Z")

</div>

I did a quick google and this might help you out

> <https://gist.github.com/synap5e/3ff84ce731c3ee1afe2e>

I might look at an online doc for FSB5 if people are interested in it
