OBD:OSBD/OSIm
< OBD:OSBD
| Offset | Type | Raw Hex | Value | Description |
|---|---|---|---|---|
| 0x00 | tag | 6D 49 53 4F | OSIm | Oni Sound Impulse |
| 0x04 | uint32 | 68 00 00 00 | 104 | 104 bytes; size of the part that follows |
| 0x08 | uint32 | 06 00 00 00 | 6 | version (see below) |
| 0x0C | char[32] | 6B 6F 6E... | konoko_wakeup | group name (reference to 06590-konoko_wakeup.grp.OSBD) |
| 0x2C | uint32 | 01 00 00 00 | normal | priority of the group; the following priorities are possible (values in dec):
|
| 0x30 | float | 00 00 20 41 | 10.0 | distance at which the maximum volume is heard |
| 0x34 | float | 00 00 48 42 | 50.0 | distance at which the minimum volume is heard |
| 0x38 | float | 00 00 B4 43 | 360.0 | angle at which the maximum volume is heard |
| 0x3C | float | 00 00 B4 43 | 360.0 | angle at which the minimum volume is heard |
| 0x40 | float | 00 00 00 00 | 0.0 | amount of attenuation at min volume angle |
| 0x44 | uint32 | 00 00 00 00 | 0 | "alternate threshold"; maximum number of the group of this impulse that can be playing at once (present for version 4 and above, default is 0) |
| 0x48 | char[32] | 00... | alternate impulse name; impulse to play if "alt threshold" copies of this impulse are already playing (reference to another imp.OSBD file, present for version 4 and above, default is empty string) | |
| 0x68 | float | 00 00 00 00 | 0.0 | velocity at which an impact plays at full volume; if 0, always plays at full volume (present for version 5 and above, default is 0) |
| 0x6C | float | 00 00 00 00 | 0.0 | minimum occlusion percentage; if 1, always plays at full volume, otherwise calculates volume by amount of environmental occlusion (present for version 6, default is 0) |
- Version
- As explained on OSAm, there have been several versions of the binary format. Because lower versions lack certain fields, the addresses of the remaining content must be shifted backwards when reading it.
- The above example belongs to the latest OSIm version encountered in Oni: 6.
- Versions of OSIm occurring in Oni: 3, 4, 5, 6.
- Dialog from level0_Tools

