v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.


From Dwarf Fortress Wiki
(Redirected from Sound token)
Jump to navigation Jump to search

Dwarf Fortress contains music tracks which play at various points in game, including the main menu theme. Some types of audio seem to be triggered by events, while others play randomly while certain criteria are met. These seem to include some weather sounds, wild ambience, building sounds, river etc.

According to Tarn, there are different settings for every track. One depends on the caverns being opened, one plays only after the second year, one is a first year track. Strike the Earth plays when you first embark, and then gets mixed in with the others afterward. And so forth; there's a raw format for this so you can change it if you like.[1]

Game Audio settings can be adjusted in the Settings menu.


Main article: modding

All sound and music files used by Dwarf Fortress are stored in the .ogg format within the <Dwarf Fortress>/data/sound/ subfolders. You can replace the existing ogg files with different ones. That has to be performed manually and isn't actually supported by the game. You can also change some of the definitions of when certain musical cues are played, using available music tokens and sound tokens in the raw files found in <Dwarf Fortress>\data\vanilla\vanilla_music\. However, you can't add new music or sounds other than replacing what's already there.

Sound effects

All vanilla sound tokens are found within sound_standard.txt. All sound files must begin with the file name[Verify], followed by the [OBJECT:SOUND] token that tells the game that the file contains sound definitions.

    [ANNOUNCEMENT:<announcement n>]
  • identifiers seem to correlate with the file name data\sound\sounds
  • announcements trigger condition, can use more than one announcement in the list.
Music tracks

All vanilla music tokens are found within music_standard.txt. All music files must begin with the file name[Verify], followed by the [OBJECT:MUSIC] token that tells the game that the file contains music definitions.

		[CARD:EXPANSIVE_CAVERN_CARD_1] for the shuffled deck of short bits
  • Event/Context - These are the triggers for the music
  • Frequency (optional) can be set to 'UNCOMMON' to set the frequency half as often as the other candidates

Known possible events:


Known possible context :


See Also[edit]