Page 1 of 1

Sound Directory (windows 7)

PostPosted: Sat Dec 13, 2014 22:43
by TheSuperTimelord
Hi, I have been looking for a sound directory in my minetest folder for some time now so that i can replace the note block sounds with the "cloister bell" sounds from DW. the problem is: i cant find it. i looked everywhere but it simply doesn't exist.
minetest version 0.4.10
please help if you can
thx:)

Re: Sound Directory (windows 7)

PostPosted: Mon Dec 15, 2014 17:59
by Calinou
It isn't officially possible to replace sounds, but try putting sounds in a folder called testsounds.

Proof (source code):

game.cpp: std::string base = porting::path_share + DIR_DELIM + "testsounds";

Re: Sound Directory (windows 7)

PostPosted: Wed Dec 17, 2014 07:03
by RealBadAngel
Maybe not officially but it works without problems. Any sounds used by server mods can be overriden (cached) on client side.

Re: Sound Directory (windows 7)

PostPosted: Wed Dec 17, 2014 13:15
by twoelk
RealBadAngel wrote:.... Any sounds used by server mods can be overriden (cached) on client side.

eh?
are you suggesting to identify the sound files in the cache, keep the hash name and alter the content? That sounds pretty hacky ;-P. There really should be a better way.

btw, do the files in the /testsounds need to be in any subfolder structure?

Re: Sound Directory (windows 7)

PostPosted: Wed Dec 17, 2014 16:40
by Calinou
RealBadAngel wrote:Maybe not officially but it works without problems. Any sounds used by server mods can be overriden (cached) on client side.


I think renaming “testsounds” to “sounds” would be good.

https://github.com/minetest/minetest/pull/1984

Re: Sound Directory (windows 7)

PostPosted: Thu Dec 18, 2014 07:52
by RealBadAngel
twoelk wrote:
RealBadAngel wrote:.... Any sounds used by server mods can be overriden (cached) on client side.

eh?
are you suggesting to identify the sound files in the cache, keep the hash name and alter the content? That sounds pretty hacky ;-P. There really should be a better way.

btw, do the files in the /testsounds need to be in any subfolder structure?


You dont have to do that. Just use the same file names as in mods. Game checks /testsounds folder then content sent by server.

Re: Sound Directory (windows 7)

PostPosted: Sat Feb 07, 2015 21:04
by Hybrid Dog
RealBadAngel wrote:Maybe not officially but it works without problems. Any sounds used by server mods can be overriden (cached) on client side.

http://wiki.minetest.net/Sound_Packs
l use the testsounds folder but for me the existing sounds don't become overridden.
:G

Re: Sound Directory (windows 7)

PostPosted: Sun Feb 08, 2015 14:15
by rubenwardy
It has been named to sounds/ I believe.

Re: Sound Directory (windows 7)

PostPosted: Sun Feb 08, 2015 14:46
by Hybrid Dog
rubenwardy wrote:It has been named to sounds/ I believe.

l think someone wanted to rename it but…
https://github.com/minetest/minetest/bl ... e.cpp#L791