Audio Mod - Need Advice

Forum for alternative clients, mods & discussions on the same.

Moderator: Phades

Audio Mod - Need Advice

Postby Luxx1989 » Thu Jul 25, 2013 2:31 pm

I know it has been mentioned many times on this board, but I would really like to see an increased sound effect and music library for Haven and Hearth. This is why I have decided that I will try to create a mod that does just that. However, I have no experience with modifying H&H or really anything for that matter. Could anyone that has done some modding in the past point me in the right direction, or maybe even show me which files need to be changed specifically?
Image
User avatar
Luxx1989
 
Posts: 9
Joined: Mon Oct 18, 2010 9:09 pm
Location: , Location, Location!

Re: Audio Mod - Need Advice

Postby borka » Thu Jul 25, 2013 2:43 pm

in short:
the audio files are in haven-res.jar (haven-res\res\sfx) - they are res file (containing midi) - you'd prolly need to make yourself familiar with a res util - and find out how to properly get midifiles into a res file and working ...besides having to create midis...
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Audio Mod - Need Advice

Postby Luxx1989 » Thu Jul 25, 2013 3:10 pm

Thank you for the advice! :D I'll use some Google-fu and hopefully learn a few things about res, and I'm very familiar with midi as my main hobby is audio production.
Image
User avatar
Luxx1989
 
Posts: 9
Joined: Mon Oct 18, 2010 9:09 pm
Location: , Location, Location!

Re: Audio Mod - Need Advice

Postby borka » Thu Jul 25, 2013 3:12 pm

Luxx1989 wrote:-snip- and I'm very familiar with midi as my main hobby is audio production.

great!
check this threads:
viewtopic.php?f=27&t=23458
viewtopic.php?f=27&t=5853 (latest pages)

The general midi soundbank (included in Java 7 JRE) \Java\jre7\lib\audio\soundbank.gm

I suggest to get Ender client source code to have a look at Audio.java, Music.java etc.

also it might help to google informations about jogg.jar and jorbis.jar libaries
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Audio Mod - Need Advice

Postby Luxx1989 » Thu Jul 25, 2013 3:29 pm

Awesome! That's a great help.
Image
User avatar
Luxx1989
 
Posts: 9
Joined: Mon Oct 18, 2010 9:09 pm
Location: , Location, Location!


Return to The Wizards' Tower

Who is online

Users browsing this forum: Claude [Bot] and 0 guests