Difference between revisions of "Main menu music"

From Minetest Wiki
Jump to navigation Jump to search
(Add tutorial on main menu musc)
 
m (cat)
Line 24: Line 24:
 
* <code>main_menu.8.ogg</code>
 
* <code>main_menu.8.ogg</code>
 
* <code>main_menu.9.ogg</code>
 
* <code>main_menu.9.ogg</code>
 +
 +
[[Category:Tutorials]]
 +
[[Category:Gameplay]]

Revision as of 12:11, 10 September 2019

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