Mumble (http://mumble.sourceforge.net/) is a 3rd party voice application that does 3d positional audio. So basically it's like ventrilo, except your voice comes from your character, and is affected by distance, and direction.
But, in order for this to work with minecraft notch would have to add some plugin to the minecraft source, so that mumble can get the needed info from the game. Details about that are at... http://mumble.sourceforge.net/Link
It's funny you posted this just the other day, because the day before that I started working on making a Minecraft plugin for mumble using the other method on their wiki (memory address analysis). Obviously a better solution would be for Notch to implement their link plugin in the code, but until then, I'll keep working on a plugin. Hopefully I can get something together in the next week or two for you all to help me test :smile.gif:
Using the memory approach could be bit tricky since minecraft runs inside of a JVM, so you will have to find offsets of offsets :biggrin.gif:
A native support (Link-plugin) would be really cool
Oh, I know, believe me. It's at least 5, maybe 6 levels of pointers to get to the goods, and I'm not even sure yet if that'll be reliable on other systems/OSs, or if it will work for the in-browser client vs. the windows .exe. If Notch wants to add this himself, that would be easier, but he has so much on his to-do list already I'm not holding my breath (that said, Notch, if this is coming soon, please let us know so I don't spend even more time hacking at memory addresses :wink.gif:). Of course I'd be happy to do the coding for him, but Notch would have to send me his source code, which I'm sure he's not going to do, even under NDA.
On the one hand, the Java approach is probably more reliable; on the other hand it requires patching the client .jar on every update, unless/until Notch decides to incorporate it officially.
In the mean time, I've also got a Windows plugin working that can just drop into Mumble without altering Minecraft, and I think in theory it should work while playing the web-embedded client, too. I just need to do some more testing to make sure the pointer paths are reliable, and then I'll post something for folks to try out.
On the one hand, the Java approach is probably more reliable; on the other hand it requires patching the client .jar on every update, unless/until Notch decides to incorporate it officially.
In the mean time, I've also got a Windows plugin working that can just drop into Mumble without altering Minecraft, and I think in theory it should work while playing the web-embedded client, too. I just need to do some more testing to make sure the pointer paths are reliable, and then I'll post something for folks to try out.
Post your sources, make an API, something!. Having access to the memory from within the JVM would be amazing.
To install, just put that .dll in your "Program Files\Mumble\plugins" folder. When you start Mumble and Minecraft, you should see a message in Mumble like "Minecraft linked." You can also download the MumblePAHelper.exe utility to see the exact coordinates (you have to start Mumble first, but you don't have to connect to a Murmur server).
It seems stable for me on Windows XP SP3 32bit (across multiple reboots, various other programs running, using both Minecraft.exe and the in-browser client), but it does not work for a friend of mine on Windows 7 64bit, and I don't know why. So please try it out and let me know if it works for you, and what kind of computer you tried it on.
Some other notes:
- it doesn't know which Minecraft server you're on, or if you're even on one; this means if you're on Mumble with someone but you're on different Minecraft servers, or are playing single-player, the sound will come from a direction where nobody is standing, because you're actually in different game worlds
- it doesn't work with the 3rd-person camera in Minecraft (pressing f5), only 1st person
Any interest or feedback on this? If the plugin works for other people I'd like to submit it to the mumble developers, and if not I'd like to see about fixing it.
Just trying this out now. For x86_64, I had to fix your make.sh as it included both -shared and -static which doesn't make sense, and include -fPIC.
However I can't play; running via the launcher says 'java.lang.ClassFormatError: Illegal method name "" in class iq', and running bin/minecraft.jar directly doesn't login. So... what do to? :biggrin.gif:
Wow, awesome. I just got a Mumble server set up at home specifically to use with Minecraft, and I was thinking about trying to make a plugin. "Maybe someone has some info on it in the forums," I thought to myself. And lo and behold one has already been created.
Can't wait to get home and try it out; thanks for the effort!
Sadly it's not working at all for me. I'm running Windows 7 64-bit (for what it's worth).
I copied the dll into the correct place, and the plugin shows up in Mumble and in the PAHelper. But it never connects. I tried starting Minecraft first, Minecraft second... Anyone else have any luck with this? Or for that matter, know if there's anything special about Windows 7 64-bit and Mumble plugins?
Yeah, so far it seems Win7 64bit does not work, and I'm not sure how to debug it since I don't have a Win7 64bit machine myself to do any testing with.
Sadly it's not working at all for me. I'm running Windows 7 64-bit (for what it's worth).
I copied the dll into the correct place, and the plugin shows up in Mumble and in the PAHelper. But it never connects. I tried starting Minecraft first, Minecraft second... Anyone else have any luck with this? Or for that matter, know if there's anything special about Windows 7 64-bit and Mumble plugins?
this would be cool and since zombie moans have a limit on the noise distance then it would be the same for us? :biggrin.gif: all we need now is a communication system and megaphones!!
But, in order for this to work with minecraft notch would have to add some plugin to the minecraft source, so that mumble can get the needed info from the game. Details about that are at... http://mumble.sourceforge.net/Link
Thanks, hopefully this happens.
FTW DO IT NOTCH SPREAD IT AROUND PEOPLE!
I actually like it!
RolePlay x2
Oh, I know, believe me. It's at least 5, maybe 6 levels of pointers to get to the goods, and I'm not even sure yet if that'll be reliable on other systems/OSs, or if it will work for the in-browser client vs. the windows .exe. If Notch wants to add this himself, that would be easier, but he has so much on his to-do list already I'm not holding my breath (that said, Notch, if this is coming soon, please let us know so I don't spend even more time hacking at memory addresses :wink.gif:). Of course I'd be happy to do the coding for him, but Notch would have to send me his source code, which I'm sure he's not going to do, even under NDA.
In the mean time, I've also got a Windows plugin working that can just drop into Mumble without altering Minecraft, and I think in theory it should work while playing the web-embedded client, too. I just need to do some more testing to make sure the pointer paths are reliable, and then I'll post something for folks to try out.
Post your sources, make an API, something!. Having access to the memory from within the JVM would be amazing.
minecraft.dll
To install, just put that .dll in your "Program Files\Mumble\plugins" folder. When you start Mumble and Minecraft, you should see a message in Mumble like "Minecraft linked." You can also download the MumblePAHelper.exe utility to see the exact coordinates (you have to start Mumble first, but you don't have to connect to a Murmur server).
It seems stable for me on Windows XP SP3 32bit (across multiple reboots, various other programs running, using both Minecraft.exe and the in-browser client), but it does not work for a friend of mine on Windows 7 64bit, and I don't know why. So please try it out and let me know if it works for you, and what kind of computer you tried it on.
Some other notes:
- it doesn't know which Minecraft server you're on, or if you're even on one; this means if you're on Mumble with someone but you're on different Minecraft servers, or are playing single-player, the sound will come from a direction where nobody is standing, because you're actually in different game worlds
- it doesn't work with the 3rd-person camera in Minecraft (pressing f5), only 1st person
However I can't play; running via the launcher says 'java.lang.ClassFormatError: Illegal method name "" in class iq', and running bin/minecraft.jar directly doesn't login. So... what do to? :biggrin.gif:
Can't wait to get home and try it out; thanks for the effort!
EDIT: If the bugs get worked out of this, you should put a link to it (or to this thread perhaps) at http://mumble.sourceforge.net/Games
EDIT (again): Okay, I'm dumb, you already said that.
I copied the dll into the correct place, and the plugin shows up in Mumble and in the PAHelper. But it never connects. I tried starting Minecraft first, Minecraft second... Anyone else have any luck with this? Or for that matter, know if there's anything special about Windows 7 64-bit and Mumble plugins?
Could you post the source code to the plugin? Others might be able to debug it and get it work in 7 and other OS's.
Tried running mumble as an administrator?
I use mumble for a military tactical modification and it works pretty good.
Also the voice quality is great.