OBD:OSBD/OSIm: Difference between revisions
< OBD:OSBD
Jump to navigation
Jump to search
mNo edit summary |
m (localized image) |
||
Line 13: | Line 13: | ||
{{OBDtr| 0x3C | float |C800C8| 00 00 B4 43 | 360.0 | maximum volume angle }} | {{OBDtr| 0x3C | float |C800C8| 00 00 B4 43 | 360.0 | maximum volume angle }} | ||
{{OBDtr| 0x40 | float |C87C64| 00 00 00 00 | 0.0 | unknown }} | {{OBDtr| 0x40 | float |C87C64| 00 00 00 00 | 0.0 | unknown }} | ||
{{OBDtr| 0x44 | int32 |B0C3D4| 00 00 00 00 | 0 | | {{OBDtr| 0x44 | int32 |B0C3D4| 00 00 00 00 | 0 | threshold (present for version 4 and above, default is 0) }} | ||
{{OBDtr| 0x48 | char[32] |E7CEA5| 00... | | alternate impulse name (reference to another imp.OSBD file, present for version 4 and above, default is empty string) }} | {{OBDtr| 0x48 | char[32] |E7CEA5| 00... | | alternate impulse name (reference to another imp.OSBD file, present for version 4 and above, default is empty string) }} | ||
{{OBDtr| 0x68 | float |FFDDDD| 00 00 00 00 | 0.0 | unknown (present for version 5 and above, default is 0) }} | {{OBDtr| 0x68 | float |FFDDDD| 00 00 00 00 | 0.0 | unknown (present for version 5 and above, default is 0) }} | ||
Line 20: | Line 20: | ||
;Version | ;Version | ||
:Just as for other [[OSBD]], there have been several version of the binary format. | :Just as for other [[OSBD]], there have been several version of the binary format. | ||
:Over time, some fields that used to be hardcoded became | :Over time, some fields that used to be hardcoded became customizable on a group-per-group basis. | ||
:Thus, later versions include some extra fields as compared to earlier ones. | :Thus, later versions include some extra fields as compared to earlier ones. | ||
:The above example belongs to the latest OSIm version encountered in Oni: 6. | :The above example belongs to the latest OSIm version encountered in Oni: 6. | ||
Line 26: | Line 26: | ||
:Versions of OSIm occurring in Oni: 3, 4, 5, 6. | :Versions of OSIm occurring in Oni: 3, 4, 5, 6. | ||
;Dialog from level0_Tools | ;Dialog from level0_Tools | ||
[[Image:Tool dialog - Impulse Sound Properties.png]] | |||
{{OBD}} | {{OBD}} |
Latest revision as of 23:48, 15 December 2022
Offset | Type | Raw Hex | Value | Description |
---|---|---|---|---|
0x00 | int32 | 6D 49 53 4F | OSIm | Oni Sound Impulse |
0x04 | int32 | 68 00 00 00 | 104 | 104 bytes; size of the part that follows |
0x08 | int32 | 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 | int32 | 01 00 00 00 | light | priority |
0x30 | float | 00 00 20 41 | 10.0 | minimum volume distance |
0x34 | float | 00 00 48 42 | 50.0 | maximum volume distance |
0x38 | float | 00 00 B4 43 | 360.0 | minimum volume angle |
0x3C | float | 00 00 B4 43 | 360.0 | maximum volume angle |
0x40 | float | 00 00 00 00 | 0.0 | unknown |
0x44 | int32 | 00 00 00 00 | 0 | threshold (present for version 4 and above, default is 0) |
0x48 | char[32] | 00... | alternate impulse name (reference to another imp.OSBD file, present for version 4 and above, default is empty string) | |
0x68 | float | 00 00 00 00 | 0.0 | unknown (present for version 5 and above, default is 0) |
0x6C | float | 00 00 00 00 | 0.0 | unknown (present for version 6 and above, default is 0) |
- 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 customizable 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 OSIm version encountered in Oni: 6.
- Lower versions lack certain fields, and the following content is simply shifted backwards.
- Versions of OSIm occurring in Oni: 3, 4, 5, 6.
- Dialog from level0_Tools