WAF: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
|  Created page with "Category:Sound Used in the following game(s): * Ever17  WAF Format" | |||
| (5 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
| * Ever17 | * Ever17 | ||
| WAF Format | Since I know little about audio. I ended up looking at another project's source. Specifically, AE - VN Tools. | ||
| == Structure == | |||
| {| class="wikitable" | |||
| !colspan="15"|Header | |||
| |- | |||
| ! Size !! Content !! Description | |||
| |- | |||
| | 4Bytes || Magic || Always "WAF" followed by null | |||
| |- | |||
| | 2Bytes || Unknown || Always 0x00, Empty | |||
| |- | |||
| | 2Bytes || Channel Count || 2 = stereo | |||
| |- | |||
| | 4Bytes || Frequency || | |||
| |- | |||
| | 4Bytes || Avg Stream Speed || Channels*Frequency*(Bitdepth div 8) | |||
| |- | |||
| | 4Bytes || Block Align || Channels*(Bitdepth div 8); bitdepth = Bits per sample * channels | |||
| |- | |||
| | ?Bytes || Format Specific || ? | |||
| |- | |||
| | ?Bytes || Data Length || ? | |||
| |} | |||
| Test and figure this out... reading an unknown program language feels strange. Unknown on data sizes and my math seems off. Should check Ever17 with debugger and watch how it loads the audio format. | |||
| == External Links == | |||
| http://wks.arai-kibou.ru/ae.php  <-Source | |||
Latest revision as of 09:30, 21 August 2014
Used in the following game(s):
- Ever17
Since I know little about audio. I ended up looking at another project's source. Specifically, AE - VN Tools.
Structure
| Header | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Size | Content | Description | ||||||||||||
| 4Bytes | Magic | Always "WAF" followed by null | ||||||||||||
| 2Bytes | Unknown | Always 0x00, Empty | ||||||||||||
| 2Bytes | Channel Count | 2 = stereo | ||||||||||||
| 4Bytes | Frequency | |||||||||||||
| 4Bytes | Avg Stream Speed | Channels*Frequency*(Bitdepth div 8) | ||||||||||||
| 4Bytes | Block Align | Channels*(Bitdepth div 8); bitdepth = Bits per sample * channels | ||||||||||||
| ?Bytes | Format Specific | ? | ||||||||||||
| ?Bytes | Data Length | ? | ||||||||||||
Test and figure this out... reading an unknown program language feels strange. Unknown on data sizes and my math seems off. Should check Ever17 with debugger and watch how it loads the audio format.
External Links
http://wks.arai-kibou.ru/ae.php <-Source