Difference between revisions of "HLS"

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:
 
'''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.

Revision as of 13:42, 25 November 2012

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.