Introduction
An UltraStar song file is a .txt file that tells a karaoke singing game
such as UltraStar Deluxe what to show and score: facts
about the song, the names of its audio and picture files, and every sung syllable
with its timing and pitch.
Structure
The file is text, in UTF-8 without a byte order mark in version 1.1.0 of the format.
Header lines start with #, such as #TITLE,
#ARTIST, #BPM and #AUDIO. Each note line gives a
note type (: normal, * golden, F freestyle,
R rap, G golden rap), a start beat, a length, a pitch and the
text. A line starting with - ends a phrase, P1 or
P2 starts a player’s part, and E ends the file.
Not described
This page is a first outline. The headers are not yet described here.
Known, not yet covered
- Reference: all headers with their values, the timing rules and the format versions, which the specification covers.
- Viewer: the site has no viewer for this format.
Also used for
- EBCDIC text – IBM mainframe text, not based on ASCII: a space at 40, letters at 81 and C1.
- GB18030 text – China’s national encoding: one, two or four bytes a character, covering all of Unicode.
- ISO-2022 and HZ text – 7-bit Japanese, Korean and Chinese text, with escape sequences that switch character sets.
- Legacy code page text – A pre-Unicode code page (Windows-1252, Mac OS Roman, DOS 437, Shift_JIS …), guessed.
- MPL2 subtitles – Plain text subtitles timed in tenths of a second.
- OGM chapters – Plain text chapter times and names in the OGM tools' form.
- OpenAir Airspace – OpenAir airspace file under its older extension.
- Plain text – Characters and line endings, nothing more, in an encoding the file rarely names.
- TI-TXT hex file – Texas Instruments text format for memory images.
- TMPlayer subtitles – Plain text subtitles with one start time and its text per line.
- UTF-16BE text – Unicode in two or four bytes a character, high byte first.
- UTF-16LE text – Unicode in two or four bytes a character, low byte first; Windows’ “Unicode”.
- UTF-32BE text – Every character in four bytes, high byte first. Rare in files.
- UTF-32LE text – Every character in four bytes, low byte first. Rare in files.
- UTF-7 text – Unicode written as pure ASCII, with runs of Base64 holding UTF-16 units.
- UTF-8 text – Unicode in one to four bytes a character, with ASCII unchanged; the usual text today.
Links
Software
- UltraStar Deluxe – open-source karaoke singing game (Windows, macOS, Linux)
- Vocaluxe – free, open-source singing game that plays UltraStar songs (Windows; macOS nightly builds)
Reference
- UltraStar file format – the format specification