OBD:OSBD/OSGr: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (volume, pitch, repeats)
 
(oops, didn't log in)
Line 3: Line 3:
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


<TABLE BORDER=0 WIDTH=100% CELLPADDING=2 CELLSPACING=1 BGCOLOR="#000000">
{{Table}}
<TR ALIGN=CENTER BGCOLOR="#FFDDBB"><TD WIDTH=15%><B>Hex</B></TD><TD WIDTH=15%><B>Translation</B></TD><TD WIDTH=70%><B>Meaning</B></TD></TR>
{{OBD_Table_Header}}
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FF0000">72&nbsp;47&nbsp;53&nbsp;4F</TD><TD>OSGr</TD><TD ALIGN=LEFT>Oni Sound Group</TD></TR>
|- ALIGN=CENTER VALIGN=TOP
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFFF00">B4 00 00 00</TD><TD>180</TD><TD ALIGN=LEFT>180 bytes; size of the part that follows</TD></TR>
|0x00||4cc||BGCOLOR="#FF0000"|72&nbsp;47&nbsp;53&nbsp;4F||OSGr||Oni Sound Group
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFC8C8">06 00 00 00</TD><TD>6</TD><TD ALIGN=LEFT>unknown</TD></TR>
|- ALIGN=CENTER VALIGN=TOP
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFFFC8">00 00 80 3F</TD><TD>1.000000</TD><TD ALIGN=LEFT>playback volume</TD></TR>
|0x04||int32||BGCOLOR="#FFFF00"|B4 00 00 00||180||ALIGN=LEFT|180 bytes; size of the part that follows
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#C8FFC8">00 00 80 3F</TD><TD>1.000000</TD><TD ALIGN=LEFT>playback speed AKA pitch</TD></TR>
|- ALIGN=CENTER VALIGN=TOP
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#C8FFFF">00 00</TD><TD>0</TD><TD ALIGN=LEFT>unknown</TD></TR>
|0x08||bool32||BGCOLOR="#FFC8C8"|06 00 00 00||4 + 2||ALIGN=LEFT|bitset (see below)
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFC8FF">00 00</TD><TD>0</TD><TD ALIGN=LEFT>prevent repeats (0/1)</TD></TR>
|- ALIGN=CENTER VALIGN=TOP
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFC800">01 00 00 00</TD><TD>1</TD><TD ALIGN=LEFT>unknown</TD></TR>
|0x0C||float||BGCOLOR="#FFFFC8"|00 00 80 3F||1.000000||ALIGN=LEFT|playback volume
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#C800C8">03 00 00 00</TD><TD>3</TD><TD ALIGN=LEFT>amount of packages that follow</TD></TR>
|- ALIGN=CENTER VALIGN=TOP
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"><TD COLSPAN=3><FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package.</FONT></TD></TR>
|0x10||float||BGCOLOR="#C8FFC8"|00 00 80 3F||1.000000||ALIGN=LEFT|playback speed AKA pitch
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#C87C64">0A 00 00 00</TD><TD>10</TD><TD ALIGN=LEFT>weight</TD></TR>
|- ALIGN=CENTER VALIGN=TOP
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#B0C3D4">00 00 80 3F</TD><TD>1.000000</TD><TD ALIGN=LEFT>minumum volume</TD></TR>
|0x14||bool16||BGCOLOR="#C8FFFF"|00 00||0||ALIGN=LEFT|unknown
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#E7CEA5">00 00 80 3F</TD><TD>1.000000</TD><TD ALIGN=LEFT>maximum volume</TD></TR>
|- ALIGN=CENTER VALIGN=TOP
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFDDDD">33 33 33 3F</TD><TD>0.700000</TD><TD ALIGN=LEFT>minimum pitch</TD></TR>
|0x16||bool16||BGCOLOR="#FFC8FF"|00 00||0||ALIGN=LEFT|prevent repeats (0/1)
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#64AAAA">33 33 33 3F</TD><TD>0.700000</TD><TD ALIGN=LEFT>maximum pitch</TD></TR>
|- ALIGN=CENTER VALIGN=TOP
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#EBEBEB" COLSPAN=2><TT>ac5lp1.aif</TT></TD><TD ALIGN=LEFT>permutation sound name (reference to f.e. 09376-ac5lp1.aif.[[OBD:SNDD|SNDD]] of level 3)</TD></TR>
|0x18||unknown||BGCOLOR="#FFC800"|01 00 00 00||1||ALIGN=LEFT|unknown
</TABLE>
|- ALIGN=CENTER VALIGN=TOP
|0x1C||int32||BGCOLOR="#C800C8"|03 00 00 00||3||ALIGN=LEFT|array size
|- ALIGN=CENTER VALIGN=TOP
|BGCOLOR="#000000" COLSPAN=5|<FONT SIZE=2 COLOR="#FFFFFF">First element detailed below.</FONT>
|- ALIGN=CENTER VALIGN=TOP
|0x00||int32||BGCOLOR="#C87C64"|0A 00 00 00||10||ALIGN=LEFT|weight
|- ALIGN=CENTER VALIGN=TOP
|0x04||float||BGCOLOR="#B0C3D4"|00 00 80 3F||1.000000||ALIGN=LEFT|minumum volume
|- ALIGN=CENTER VALIGN=TOP
|0x08||float||BGCOLOR="#E7CEA5"|00 00 80 3F||1.000000||ALIGN=LEFT|maximum volume
|- ALIGN=CENTER VALIGN=TOP
|0x0C||float||BGCOLOR="#FFDDDD"|33 33 33 3F||0.700000||ALIGN=LEFT|minimum pitch
|- ALIGN=CENTER VALIGN=TOP
|0x10||float||BGCOLOR="#64AAAA"|33 33 33 3F||0.700000||ALIGN=LEFT|maximum pitch
|- ALIGN=CENTER VALIGN=TOP
|0x14||char[32]||BGCOLOR="#EBEBEB" COLSPAN=2|<TT>ac5lp1.aif</TT>||ALIGN=LEFT|permutation sound name (reference to f.e. 09376-ac5lp1.aif.[[OBD:SNDD|SNDD]] of level 3)
|}
;Fury vocalizations
;Fury vocalizations
:Those are sped up by 1.14 in Oni, which explains why they sound weird when exported.
:Those are sped up by 1.14 in Oni, which explains why they sound weird when exported.
;Bitset at 0x08
:bit 4 is always set
:bit 1 - dunno, set for... (fill in)
:bit 2 - enables the fields at 0x14 and 0x16 (apparently; maybe it's a bool32)
::if bit 2 is off, then the 0x18 field goes to 0x14 etc: everything shifted backwards by 4 bytes

Revision as of 00:56, 7 June 2007

Minimal data, just to get the page started.

osb_r_gr.gif

Offset Type Raw Hex Value Description
0x00 4cc 72 47 53 4F OSGr Oni Sound Group
0x04 int32 B4 00 00 00 180 180 bytes; size of the part that follows
0x08 bool32 06 00 00 00 4 + 2 bitset (see below)
0x0C float 00 00 80 3F 1.000000 playback volume
0x10 float 00 00 80 3F 1.000000 playback speed AKA pitch
0x14 bool16 00 00 0 unknown
0x16 bool16 00 00 0 prevent repeats (0/1)
0x18 unknown 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.000000 minumum volume
0x08 float 00 00 80 3F 1.000000 maximum volume
0x0C float 33 33 33 3F 0.700000 minimum pitch
0x10 float 33 33 33 3F 0.700000 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.
Bitset at 0x08
bit 4 is always set
bit 1 - dunno, set for... (fill in)
bit 2 - enables the fields at 0x14 and 0x16 (apparently; maybe it's a bool32)
if bit 2 is off, then the 0x18 field goes to 0x14 etc: everything shifted backwards by 4 bytes