Difference between revisions of "HLS"

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:
 
'''HLS''' files are a Hitlist Playlist. Hitlists group [[XA]] sounds together and are used in conjunction with [[TRK]] definitions and [[TLO|Logic Objects]] in the game. Namely, they control the files and the other file types control the variables.
 
'''HLS''' files are a Hitlist Playlist. Hitlists group [[XA]] sounds together and are used in conjunction with [[TRK]] definitions and [[TLO|Logic Objects]] in the game. Namely, they control the files and the other file types control the variables.
  
===Format===
+
==Format==
Header:
+
===Header===
 +
<pre>
 
  WORD  - major version (1)
 
  WORD  - major version (1)
 
  WORD  - minor version (0)
 
  WORD  - minor version (0)
 
  DWORD - track count
 
  DWORD - track count
 +
</pre>
  
 +
===Repeating Chunk===
 
Repeating chunk, for as many tracks as are in the hitlist:
 
Repeating chunk, for as many tracks as are in the hitlist:
 
  DWORD - [[Instance ID]] for an XA or TRK file in the archive.
 
  DWORD - [[Instance ID]] for an XA or TRK file in the archive.

Latest revision as of 18:54, 8 August 2019

HLS files are a Hitlist Playlist. Hitlists group XA sounds together and are used in conjunction with TRK definitions and Logic Objects in the game. Namely, they control the files and the other file types control the variables.

Format

Header

 WORD  - major version (1)
 WORD  - minor version (0)
 DWORD - track count

Repeating Chunk

Repeating chunk, for as many tracks as are in the hitlist:

DWORD - Instance ID for an XA or TRK file in the archive.