Difference between revisions of "TLO"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Whatevermind
(Created page)
 
m (2 revisions imported)
 
(One intermediate revision by one other user not shown)
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.

Latest revision as of 18:55, 8 August 2019


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.