WFX file format
    Applies to:
    BG2, BG2: ToB
    General Description
    
    This file format determines variation for playback of wave sounds. A WFX file controls the variation for the the WAV file with the same basename (e.g. mysound.wfx controls the variation for mysound.wav).
    
    
    
    Detailed Description
    
    WFX files only contain a header section. Each WFX file has a constant length of 108h (264) bytes.
    
    
      
    
  | Offset | Size (datatype) | Description | 
|---|---|---|
| 0x0000 | 4 (char array) | Signature ('WFX ') | 
| 0x0004 | 4 (char array) | Version ('V1.0') | 
| 0x0008 | 4 (dword) | SR Curve Radius | 
| 0x000c | 4 (dword) | Flags:
            
  | 
        
| 0x0010 | 4 (dword) | Random frequency variarion | 
| 0x0014 | 4 (dword) | Random volume variation (% of 100) | 
| 0x0018 | 240 (bytes) | Unused |