OBD:BINA/TMBD: Difference between revisions

688 bytes removed ,  8 December 2023
m
added family to footer template call
No edit summary
 
m (added family to footer template call)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{|align=center
{{OBD BINA Header|align=center|prev=SABD|type=TMBD|next=OBJC|name=Texture Materials Binary Data|onistuff=b_tm}}
![[OBD:Oni Binary Data|ONI BINARY DATA]]
|-
![[OBD:AKVA|AKVA]] << [[OBD:File types|Other file types]] >> [[OBD:CBPI|CBPI]]
|-
!<FONT SIZE=5>BINA : Binary data</FONT>
|-
![[OBD:File types/Start|Start file]]
|-
![[OBD:BINA/SABD|SABD]] << [[OBD:BINA|Other BINA]] >> [[OBD:BINA/OBJC/CHAR|CHAR]]
|-
!<FONT SIZE=5>TMBD : Texture Materials Binary Data</FONT>
|-
!# place for struct def link #
|-
![http://www6.fh-eberswalde.de/user/dkriesch/onistuff/oni_b_tm.htm Overview @ Oni Stuff]
|}
----
----




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/bin_r_tm.gif
[[Image:Bin_r_tm.gif]]




{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=1 BGCOLOR="#000000"
{{table}}
|- ALIGN=CENTER BGCOLOR="#FFDDBB"
{{OBDth}}
| WIDTH=15% | <B>Hex</B>
{{OBDtr| 0x00 | 4CC  |FF0000|44 42 4D 54| TMBD | texture materials binary data}}
| WIDTH=15% | <B>Translation</B>
{{OBDtr| 0x04 | int32 |FFFF00|48 99 01 00| 104776 | length to end of TMBD from here}}
| WIDTH=70% | <B>Meaning</B>
{{OBDtr| 0x08 | int32 |00FF00|01 00 00 00| 1 | unknown; "do not change it. [[User:ssg|ssg]]"}}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x0C | int32 |00FFFF|65 06 00 00| 1637 | 1637 elements in array }}
| BGCOLOR="#FF0000" | <NOBR>44 42 4D 54</NOBR>
{{OBDtrBK}}
| TMBD
{{OBDtr2| 0x00 | char[32] |FFC8C8|<tt>Cloth</tt>| material (04078-Cloth.[[OBD:Mtrl|Mtrl]]) }}
| ALIGN=LEFT | texture materials binary data
{{OBDtr2| 0x20 | char[32] |FFFFC8|<tt>covcrate_4</tt>| link (by internal tag) to TXMP (texture); here, COVCRATE_4.[[OBD:TXMP|TXMP]] (present in levels 1, 6, and 19) }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFF00" | 48 99 01 00
| 104776
| ALIGN=LEFT | 104776 bytes is the length of the following texture materials part from this position
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 01 00 00 00
| 1
| ALIGN=LEFT | unknown; do not change it
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FFFF" | 65 06 00 00
| 1637
| ALIGN=LEFT | 1637 packages follow (one package is edged in black)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package.</FONT>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8C8" COLSPAN=2 | <TT>Cloth</TT>
| ALIGN=LEFT | material (04078-Cloth.[[OBD:Mtrl|Mtrl]])
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" COLSPAN=2 | <TT>covcrate_4</TT>
| ALIGN=LEFT | texture (00357-COVCRATE_4.[[OBD:TXMP|TXMP]] of level 1, level 6 and level 19)
|}
|}




----
;Glass
----
:By assigning material '''Glass''' (or '''Clear Glass''', and maybe a few others) to a texture,
{|align=center
::you can make every quad bearing that texture breakable, wherever it appears in the game.
![[OBD:AKVA|AKVA]] << [[OBD:File types|Other file types]] >> [[OBD:CBPI|CBPI]]
:This is mostly useful to make originally unbreakable glass breakable, or vice versa.
|-
;Default
!BINA : Binary data
:Textures not explicitly mapped here have the material '''Default'''.
|-
 
![[OBD:BINA/SABD|SABD]] << [[OBD:BINA|Other BINA]] >> [[OBD:BINA/OBJC/CHAR|CHAR]]
You can download the complete overview of all texture materials as a text file [http://ssg.oni2.net/subfold/text/oni_bina_texture_materials.txt HERE].
|-
 
!TMBD : Texture Materials Binary Data
{{OBD BINA Footer|align=right|prev=SABD|type=TMBD|next=OBJC|name=Texture Materials Binary Data|onistuff=b_tm|family=Level}}
|}
 
{{OBD}}