Main menu music

From Luanti Wiki
Revision as of 19:51, 8 September 2019 by Wuzzy (talk | contribs) (Add tutorial on main menu musc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Minetest currently (as of 5.0.1) does not play any music in the main menu by default. However, you can add some tracks yourselves.

Just add a music file of the type “Ogg Vorbis” (*.ogg) named “main_menu.ogg” into this directory:

  • GNU/Linux: $HOME/.minetest/sounds, where “$HOME” refers to your home directory.
  • macOS: same as for GNU/Linux.
  • Windows: into the “sounds” directory found in the main program folder in which you have installed Minetest. It is the directory containing the directories like bin (which in turn contains minetest.exe), builtin, client, doc, fonts, games, locale, mods, textures, etc.

If the “sounds” directory does not exist, create it.

This music file will play repeatedly in the main menu. Sadly, the main menu music stops when you enter the loading screen. :-(

You can add up to 11 different music files; Minetest will pick a track at random. The following file names are recognized:

  • main_menu.ogg
  • main_menu.0.ogg
  • main_menu.1.ogg
  • main_menu.2.ogg
  • main_menu.3.ogg
  • main_menu.4.ogg
  • main_menu.5.ogg
  • main_menu.6.ogg
  • main_menu.7.ogg
  • main_menu.8.ogg
  • main_menu.9.ogg