OBD:OSBD/OSGr: Difference between revisions
< OBD:OSBD
Jump to navigation
Jump to search
m (testing new OBDtr template) |
m (oops) |
||
Line 1: | Line 1: | ||
http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/osb_r_gr.gif | http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/osb_r_gr.gif | ||
Line 12: | Line 10: | ||
{{OBDtr| 0x14 | int16 |C8FFFF| 00 00 | 0 | unknown flag (present for version 6 and above, default is 0) }} | {{OBDtr| 0x14 | int16 |C8FFFF| 00 00 | 0 | unknown flag (present for version 6 and above, default is 0) }} | ||
{{OBDtr| 0x16 | int16 |FFC8FF| 00 00 | 0 | prevent repeats (present for version 6 and above, default is 0) }} | {{OBDtr| 0x16 | int16 |FFC8FF| 00 00 | 0 | prevent repeats (present for version 6 and above, default is 0) }} | ||
{{OBDtr| 0x18 | int32 |FFC800| | {{OBDtr| 0x18 | int32 |FFC800| 01 00 00 00 | 1 | unknown }} | ||
{{OBDtr| 0x1C | int32 |C800C8| | {{OBDtr| 0x1C | int32 |C800C8| 03 00 00 00 | 3 | array size }} | ||
|- ALIGN=CENTER VALIGN=TOP | |- ALIGN=CENTER VALIGN=TOP | ||
|BGCOLOR="#000000" COLSPAN=5|<FONT SIZE=2 COLOR="#FFFFFF">First element detailed below.</FONT> | |BGCOLOR="#000000" COLSPAN=5|<FONT SIZE=2 COLOR="#FFFFFF">First element detailed below.</FONT> |
Revision as of 01:39, 9 June 2007
Offset | Type | Raw Hex | Value | Description |
---|---|---|---|---|
0x00 | 4cc | 72 47 53 4F | OSGr | Oni Sound Group |
0x04 | int32 | B4 00 00 00 | 180 | size of OSGr chunk (from after this field and to the end) |
0x08 | bool32 | 06 00 00 00 | 6 | OSGr version (see below) |
0x0C | float | 00 00 80 3F | 1.0 | playback volume (present for version 2 and above, default is 1) |
0x10 | float | 00 00 80 3F | 1.0 | playback speed AKA pitch (present for version 3 and above, default is 1) |
0x14 | int16 | 00 00 | 0 | unknown flag (present for version 6 and above, default is 0) |
0x16 | int16 | 00 00 | 0 | prevent repeats (present for version 6 and above, default is 0) |
0x18 | int32 | 01 00 00 00 | 1 | unknown |
0x1C | int32 | 03 00 00 00 | 3 | array size |
First element detailed below. | ||||
0x00 | int32 | 0A 00 00 00 | 10 | weight |
0x04 | float | 00 00 80 3F | 1.0 | minimum volume |
0x08 | float | 00 00 80 3F | 1.0 | maximum volume |
0x0C | float | 33 33 33 3F | 0.7 | minimum pitch |
0x10 | float | 33 33 33 3F | 0.7 | maximum pitch |
0x14 | char[32] | ac5lp1.aif | permutation sound name (reference to f.e. 09376-ac5lp1.aif.SNDD of level 3) |
- Fury vocalizations
- Those are sped up by 1.14 in Oni, which explains why they sound weird when exported.
- Version
- Just as for other OSBD, there have been several version of the binary format.
- Over time, some fields that used to be hardcoded became customizeable on a group-per-group basis.
- Thus, later versions include some extra fields as compared to earlier ones.
- The above example belongs to the latest OSGr version encountered in Oni: 6.
- Lower versions lack certain fields, and the following content is simply shifted backwards.