Jump to content

OBD:OSBD/OSIm: Difference between revisions

m
version (thanks to Neo again)
m (guesses, guesses...)
 
m (version (thanks to Neo again))
Line 10: Line 10:
|0x04||int32||BGCOLOR="#FFFF00"|68 00 00 00||104||ALIGN=LEFT|104 bytes; size of the part that follows
|0x04||int32||BGCOLOR="#FFFF00"|68 00 00 00||104||ALIGN=LEFT|104 bytes; size of the part that follows
|- ALIGN=CENTER VALIGN=TOP
|- ALIGN=CENTER VALIGN=TOP
|0x08||bool32||BGCOLOR="#FFC8C8"|06 00 00 00||4 + 2||ALIGN=LEFT|bitset (see below)
|0x08||bool32||BGCOLOR="#FFC8C8"|06 00 00 00||6||ALIGN=LEFT|version (see below)
|- ALIGN=CENTER VALIGN=TOP
|- ALIGN=CENTER VALIGN=TOP
|0x0C||char[32]||BGCOLOR="#FFFFC8" COLSPAN=2|<TT>ac5lp1.aif</TT>||ALIGN=LEFT|group name (reference to 06590-konoko_wakeup.grp.OSBD)
|0x0C||char[32]||BGCOLOR="#FFFFC8" COLSPAN=2|<TT>ac5lp1.aif</TT>||ALIGN=LEFT|group name (reference to 06590-konoko_wakeup.grp.OSBD)
Line 26: Line 26:
|0x40||float||BGCOLOR="#C87C64"|00 00 00 00||0.||ALIGN=LEFT|unknown
|0x40||float||BGCOLOR="#C87C64"|00 00 00 00||0.||ALIGN=LEFT|unknown
|- ALIGN=CENTER VALIGN=TOP
|- ALIGN=CENTER VALIGN=TOP
|0x44||int32||BGCOLOR="#B0C3D4"|00 00 00 00||0||ALIGN=LEFT|unknown
|0x44||int32||BGCOLOR="#B0C3D4"|00 00 00 00||0||ALIGN=LEFT|unknown (present for version 4 and above, default is 0)
|- ALIGN=CENTER VALIGN=TOP
|- ALIGN=CENTER VALIGN=TOP
|0x48||char[32]||BGCOLOR="#E7CEA5" COLSPAN=2|empty string||ALIGN=LEFT|alternate impulse name (reference to an Impulse.OSBD file)
|0x48||char[32]||BGCOLOR="#E7CEA5" COLSPAN=2|empty string||ALIGN=LEFT|alternate impulse name (reference to another .imp.OSBD file) (present for version 4 and above, default is empty string)
|- ALIGN=CENTER VALIGN=TOP
|- ALIGN=CENTER VALIGN=TOP
|0x68||float||BGCOLOR="#FFDDDD"|00 00 00 00||0.||ALIGN=LEFT|unknown
|0x68||float||BGCOLOR="#FFDDDD"|00 00 00 00||0.||ALIGN=LEFT|unknown (present for version 5 and above, default is 0)
|- ALIGN=CENTER VALIGN=TOP
|- ALIGN=CENTER VALIGN=TOP
|0x6C||float||BGCOLOR="#64AAAA"|00 00 00 00||0.||ALIGN=LEFT|unknown
|0x6C||float||BGCOLOR="#64AAAA"|00 00 00 00||0.||ALIGN=LEFT|unknown (present for version 6 and above, default is 0)
|- ALIGN=CENTER VALIGN=TOP
|- ALIGN=CENTER VALIGN=TOP
|0x70||char[16]||BGCOLOR="#EBEBEB" COLSPAN=2|filler||ALIGN=LEFT|not used
|0x70||char[16]||BGCOLOR="#EBEBEB" COLSPAN=2|filler||ALIGN=LEFT|not used
|}
|}
;Bitset at 0x08
;Version
:Occurring values and respective sizes of whole raw part
:Just as for other [[OSBD]], there have been several version of the binary format.
*3 - 68 (kon_*, md_*, hvy_*, ...)
:Over time, some fields that used to be hardcoded became customizeable on a group-per-group basis.
*4 - 104 (door_*, autosave, compass, health_full, ..., bdy_lite, face_lite, bdy_med, face_med, med_arm, med_leg, shells_mult, shell_multwd)
:Thus, later versions include some extra fields as compared to earlier ones.
*5 - 108 (shells_dbl, shells_dblrug, shells_multrug, shells_sngl, shells_snglrug, shell_dblwd, shell_snglwd)
:The above example belongs to the latest OSIm version encountered in Oni: 6.
*6 - 112
:Lower versions lack certain fields, and the following content is simply shifted backwards.
 
:Versions of OSIm occurring in Oni: 3, 4, 5, 6.
:bit 4 apparently enables alternate impulse name and something  else (starting at 0x44 ? )
:bit 1 enables 1 trailing float after alternate impulse name (at 0x68)
:bit 2 enables 2 trailing floats after alternate impulse name (at 0x68 and 0x6C)
::if bit 4 is off, then either the other bits are ignored or... dunno ^^