Sound Directory (windows 7)

TheSuperTimelord
Member
 
Posts: 28
Joined: Wed Dec 10, 2014 00:59
In-game: TheSuperTimelord

Sound Directory (windows 7)

by TheSuperTimelord » Sat Dec 13, 2014 22:43

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:)
I don't want to go...
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: Sound Directory (windows 7)

by Calinou » Mon Dec 15, 2014 17:59

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";
 

User avatar
RealBadAngel
Member
 
Posts: 556
Joined: Wed Jul 18, 2012 16:30

Re: Sound Directory (windows 7)

by RealBadAngel » Wed Dec 17, 2014 07:03

Maybe not officially but it works without problems. Any sounds used by server mods can be overriden (cached) on client side.
 

twoelk
Member
 
Posts: 1092
Joined: Fri Apr 19, 2013 16:19

Re: Sound Directory (windows 7)

by twoelk » Wed Dec 17, 2014 13:15

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?
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: Sound Directory (windows 7)

by Calinou » Wed Dec 17, 2014 16:40

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
 

User avatar
RealBadAngel
Member
 
Posts: 556
Joined: Wed Jul 18, 2012 16:30

Re: Sound Directory (windows 7)

by RealBadAngel » Thu Dec 18, 2014 07:52

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.
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: Sound Directory (windows 7)

by Hybrid Dog » Sat Feb 07, 2015 21:04

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
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Sound Directory (windows 7)

by rubenwardy » Sun Feb 08, 2015 14:15

It has been named to sounds/ I believe.
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: Sound Directory (windows 7)

by Hybrid Dog » Sun Feb 08, 2015 14:46

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
 


Return to Minetest General

Who is online

Users browsing this forum: No registered users and 13 guests

cron