Difference between revisions of "TLO"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Whatevermind
(Created page)
 
sc4e>Whatevermind
m (general cleanup, evolving standards, etc.)
Line 1: Line 1:
 
{{MTS2}}
 
{{MTS2}}
  
'''TLO''' controls logical sound properties and is linked to a sound by its respective [[TRK]] file.  It is referred to both as TLO and LogicObject, based on internal game data. The structure of the TLO file is a header (8 bytes), followed by repeating chunks (40 bytes each).
+
'''TLO''' controls logical sound properties and is linked to a sound by its respective [[TRK]] file.  It is referred to both as TLO and LogicObject, based on internal game data.
  
'''Header:'''
+
==Specification==
DWORD - Identifier, always 0
+
The structure of the TLO file is a header (8 bytes), followed by repeating chunks (40 bytes each).
DWORD - Number of repeating chunks in file
 
  
'''Repeating chunk:'''
+
===Header===
 +
<pre>
 +
DWORD - Identifier, always 0.
 +
DWORD - Number of repeating chunks in file.
 +
</pre>
 +
 
 +
===Repeating Chunk===
 +
<pre>
 
  DWORD - Name Length
 
  DWORD - Name Length
     STRING - Effect Name in the FX files
+
     STRING - Effect Name in the EFFDIR files
 
  DWORD
 
  DWORD
 
  DWORD
 
  DWORD
Line 19: Line 25:
 
  DWORD
 
  DWORD
 
  DWORD
 
  DWORD
 +
</pre>
  
 
This format remains unknown, and has not been otherwise figured out.  Reference in the MTS2 article to a "S1B Alpha Specification" perhaps as an old name for TLO files.
 
This format remains unknown, and has not been otherwise figured out.  Reference in the MTS2 article to a "S1B Alpha Specification" perhaps as an old name for TLO files.

Revision as of 17:03, 24 November 2012


TLO controls logical sound properties and is linked to a sound by its respective TRK file. It is referred to both as TLO and LogicObject, based on internal game data.

Specification

The structure of the TLO file is a header (8 bytes), followed by repeating chunks (40 bytes each).

Header

 DWORD - Identifier, always 0.
 DWORD - Number of repeating chunks in file.

Repeating Chunk

 DWORD - Name Length
    STRING - Effect Name in the EFFDIR files
 DWORD
 DWORD
 DWORD
 DWORD
 DWORD
 DWORD
 DWORD
 DWORD
 DWORD

This format remains unknown, and has not been otherwise figured out. Reference in the MTS2 article to a "S1B Alpha Specification" perhaps as an old name for TLO files.