Songs.dta
Revision as of 05:50, 6 June 2022 by InvoxiPlayGames (talk | contribs) (Created page with "songs.dta (songs.dtb when on-disc) is a file detailing information about songs in Guitar Hero and Rock Band games. It contains DataArrays for each song in the disc / DLC package. ==Keys== The root DataArray of an individual song consists of a string value of the song's shortname, and the following sub-arrays (documented here as key-value pairs) TODO: this is incomplete {| class="wikitable" !Key !Purpose !Example |- |name |The song name shown in the so...")
songs.dta (songs.dtb when on-disc) is a file detailing information about songs in Guitar Hero and Rock Band games. It contains DataArrays for each song in the disc / DLC package.
Keys
The root DataArray of an individual song consists of a string value of the song's shortname, and the following sub-arrays (documented here as key-value pairs)
TODO: this is incomplete
Key | Purpose | Example |
---|---|---|
name | The song name shown in the song selection menu. | (name "Walking on the Sun")
|
artist | The artist name shown in the song selection menu and used for sorting. | (artist "Smash Mouth")
|
song | Information about the song audio itself. | (song ...)
|
master | Whether the song uses a master recording or is a cover. Displays "as made famous by" instead of "by" if FALSE. | (master TRUE)
|
song_id | The ID of the song, used for score saving, leaderboards and online multiplayer. This must be an integer. | (song_id 1061)
|
song_length | The length of the song in milliseconds as an integer. | (song_length 208746)
|
preview | A pair of integers defining what millisecond timestamp in the song to start and stop previewing when on the song selection screen. | (preview 44369 74369)
|
game_origin | The shortname of the game the song originated from. | (game_origin rb3)
|
year_released | The year the song was released. Used for song sorting. | (year_released 1997)
|
album_art | Whether the song has album art available. If set to FALSE, displays the Rock Band logo in place. | (album_art TRUE)
|
genre | The shortname of the genre the song is. | (genre poprock)
|
vocal_gender | The gender of the singer, used to determine which characters to use. | (vocal_gender male)
|
"song" object
Key | Purpose | Example |
---|---|---|
name | The path of which to load the song MOGG/MIDI from. Should use the song's shortname in the path.
For Wii DLC, this path is prefixed with another path indicating which title and content ID to load the song from. (e.g. |
(name "songs/walkinonthesun/walkinonthesun")
|
tracks | The MOGG tracks to use for each individual instrument. Any tracks not explicitly specified here will be played as background audio. |
(tracks ( (drum (0 1 2)) (bass (3 4)) (guitar (5 6)) (vocals (7 8)) (keys (9 10)) )) |
vocal_parts | The number of vocal harmony parts in the song. | (vocal_parts 2)
|
pans | An array of floating points that determine the panning of each track in the MOGG file. | (pans (0.0 -1.0 1.0 -1.0 1.0 0.0 -1.0 1.0 -1.0 1.0 -1.0 1.0 -2.5 2.5))
|
vols | An array of floating points that determine the volume increase/decrease for each track in the MOGG file. | (vols (-0.5 -0.5 -0.5 -2.0 -2.0 -3.0 -5.0 -5.0 -3.5 -3.5 -2.5 -2.5 -2.2 -2.2))
|