Difference between revisions of "Main menu music"

From Minetest Wiki
Jump to navigation Jump to search
(Add tutorial on main menu musc)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
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.
+
Minetest supports music in the main menu, which can [https://minetest.gitlab.io/minetest/games/#menu-music be provided by games] (5.5.0+). Previously it was possible to provide main menu music in [[Sound Packs]] but this broke alongside the implementation of game-specific main menu music.
  
Just add a music file of the type “Ogg Vorbis” (*.ogg) named “<code>main_menu.ogg</code>” into this directory:
+
[[Category:Tutorials]]
 
+
[[Category:Gameplay]]
* GNU/Linux: <code>$HOME/.minetest/sounds</code>, where “<code>$HOME</code>” refers to your home directory.
 
* macOS: same as for GNU/Linux.
 
* Windows: into the “<code>sounds</code>” directory found in the main program folder in which you have installed Minetest. It is the directory containing the directories like <code>bin</code> (which in turn contains <code>minetest.exe</code>), <code>builtin</code>, <code>client</code>, <code>doc</code>, <code>fonts</code>, <code>games</code>, <code>locale</code>, <code>mods</code>, <code>textures</code>, etc.
 
 
 
If the “<code>sounds</code>” 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:
 
 
 
* <code>main_menu.ogg</code>
 
* <code>main_menu.0.ogg</code>
 
* <code>main_menu.1.ogg</code>
 
* <code>main_menu.2.ogg</code>
 
* <code>main_menu.3.ogg</code>
 
* <code>main_menu.4.ogg</code>
 
* <code>main_menu.5.ogg</code>
 
* <code>main_menu.6.ogg</code>
 
* <code>main_menu.7.ogg</code>
 
* <code>main_menu.8.ogg</code>
 
* <code>main_menu.9.ogg</code>
 

Latest revision as of 18:27, 24 December 2022

Minetest supports music in the main menu, which can be provided by games (5.5.0+). Previously it was possible to provide main menu music in Sound Packs but this broke alongside the implementation of game-specific main menu music.