Difference between revisions of "Sound Packs"

From Luanti Wiki
Jump to navigation Jump to search
(Mark for deletion)
(Uh, no, we're keeping this Wuzzy.)
Line 1: Line 1:
{{delete|This is outdated and described information for developers, not player, so it's off-topic}}
+
 
 
== Description ==
 
== Description ==
 
From the sound pack folder client side ogg files can be loaded and played in minetest. They can be used to reduce the amount of Media which needs to become loaded. If the server does not have specific sounds, the sounds in the client side "sounds" folder (if present) instead of the ones of the server are used, so the sounds do not need to become loaded from the server.<br/>
 
From the sound pack folder client side ogg files can be loaded and played in minetest. They can be used to reduce the amount of Media which needs to become loaded. If the server does not have specific sounds, the sounds in the client side "sounds" folder (if present) instead of the ones of the server are used, so the sounds do not need to become loaded from the server.<br/>

Revision as of 17:00, 24 December 2022

Description

From the sound pack folder client side ogg files can be loaded and played in minetest. They can be used to reduce the amount of Media which needs to become loaded. If the server does not have specific sounds, the sounds in the client side "sounds" folder (if present) instead of the ones of the server are used, so the sounds do not need to become loaded from the server.
Note that there's also a folder called "sounds" which is located at the user path for main menu music.


Installation

Currently sound packs can be stored at the shared path of minetest, not at the user path. And the sounds need to be put into a folder called "sounds".
eg. /usr/share/minetest/sounds/craw.ogg
The sound pack path might be configurable soon.

Of course, you can also link the sounds folder that you don't need to change the rights of your global minetest folder.
e.g.
$ sudo ln -r -s ~/.minetest/ingame_sounds /usr/share/minetest/sounds

Technic

If you want to use the music box of technic, you usually need to put the tracks into the sounds folder.
You can easily download them automatically using following command(s):
1. ensure that you are in the right folder, e.g.
$ cd ~/.minetest/ingame_sounds

2. Download them all at once (parallel) using curl:
$ for i in {1..9}; do if [ ! -e technic_track${i}.ogg ]; then curl -s https://raw.githubusercontent.com/minetest-technic/technic_game/master/mods/ambience/sounds/technic_track${i}.ogg > technic_track${i}.ogg; fi & done


See also