Wednesday 7 September 2011

Minecraft and mods

I want to tell you how you can have more than one mod installed at the same time without any of them interfering with each other. It's quite simple really. The magic word is "set APPDATA=%cd%". Oh, you want to know more than that?
Ok, I've made some screenshots that will explain how to do it.

Vanilla, Mo'Creatures, More creeps and weirdos and Water shader. Each in their own folder.


Make a folder on the desktop, call it Minecraft vanilla and put minecraft.exe into that folder. Then make a new .txt file, open it and paste this into it:


set APPDATA=%cd%
javaw -Xms512M -Xmx512M -cp Minecraft.exe net.minecraft.LauncherFrame






Save the .txt file as "start minecraft.txt", exit notepad and rename "start minecraft.txt" to "start minecraft.bat".
Now click on "start minecraft.bat" and it will open a CMD window and then start the minecraft launcher. Log in and let the game download all the files. Congratulations, you now have a clean standalone version of Minecraft. You can now make a copy of the Minecraft Vanilla folder, paste it on desktop again, rename and install what ever mod you want into that new folder. You can do this with as many mods as you like. Each mod lives only in the folder is was installed to and do not interfere with the other installs. You can even have old versions of Minecraft installed this way with old mods that have not been updated to latest Minecraft.

The -Xms and -Xmx arguments are the java heap size. By default Minecraft will allocate 1 GB of memory which is overkill in most cases. Just press F3 ingame and watch on the right, how much heap size is being used. 512 MB should be more than enough for most cases. You can increase the numbers if you have a very demanding mod and/or a HD texture pack installed. Just watch the memory being used to see how much you need to allocate for Minecraft.

Questions and comments are welcome..

Scarystuff




Sunday 28 August 2011

Mumble and Minecraft

I love Minecraft. And I love to play it together with my daughter and her cousin and second cousin. However when me and my daughter wants to play with the others, we have to use some kind of voice program, so we can talk together while we play.

There are many choices for a voice program (VoIP).
There are Google Talk, Skype, Ventrilo, Teamspeak and Mumble. When it was only my daughter and her cousin that played together, they used Google Talk. It's so simple so the girls (they are both 9 years old) could easily turn on the computers, start Google Talk and call each other up and play together. No problem at all. But then the second cousin got Minecraft also and she wanted to play with them too. Now we couldn't use Google Talk anymore, since there is no function to allow 3 or more people to talk together (Are you listening Google?).

 Then there is Skype. It's like Google Talk as in you can call your contacts but it also have a conference function. But skype is incredibly bloated these days and very complex to navigate. And it also transmit data all the time, even when no one is speaking. And since the girls are playing on some very old computers with not so much power, we really need something very light on resources both CPU and memory wise. So Skype was out of the picture also.

 Ventrilo is suffering from some of the same issues as Skype and I always found Ventrilo to be kind of buggy and not play nice with the rest of the system, so I didn't want to use that.

Teamspeak is a little better but with every version it seems to grow bigger and bigger and it also have some weird quirks (sometimes one person can't hear another even though others can).

So what is left?


Mumble

I LOVE Mumble! I have loved Mumble ever since I first found it. It's so small and resource friendly and the sound quality is amazing (at least when people know how to set it up properly). But the best part of Mumble, is that it's free. Totally FREE to download and use and totally free to set up a server without having to buy a license. And speaking of server, the server for Mumble is called Murmur and if Mumble is light on resources, then Murmur must be made of feathers. I use a version of Murmur called Umurmur (minimalistic murmur, even lighter than murmur) and have it running on my old QNAP NAS and it barely registers as running.
That's how light it is.

And Mumble is very easy to use, as easy as Google Talk so the girls have no problems playing on their own without me having to go and start it all up first. Mumble is a godsend!

So I have used Mumble before in other games when I played with friends and one thing in Mumble that always fascinated me, was that it had Positional Audio for select games. What this means is that for games that supported it, you could enable positional audio and now you could suddenly hear ingame where your friends were. So if your friend was to your left in the game, his voice would come from your left side. You could even set it up so the volume of his voice would decrease over distance. That way it was easy to locate your friend in the game, just go after the direction of his voice. In First Person Shooters were speed is essential, it saves a lot of time asking 'where are you now?' all the time. Also another advantage with Mumble I forgot to mention, is the very low latency in the program. There is practically NO latency what so ever, except from the ping time from the clients and the server. With other VoIP programs, you have to suffer a lot of latency from the program on top of the ping time. 1 second of delay is very common in all the other VoIP programs. Not in Mumble!


I found a very nice mod for Minecraft, that allowed you to connect Minecraft to Mumble so the positional audio would work in Minecraft. It was really easy to install (I will make a simple guide later) so I installed it on all the computers the girls and me use to play on and now we can talk with each other when we play, without lagging Minecraft, with low latency, very little resources used on the computers AND with positional audio.

Only Mumble makes it all possible!

I have made a small video demonstrating Mumble in Minecraft. The volume is a little low since I forgot to turn it up properly before recording it, but I'm sure you can hear just how amazing it is, to HEAR where the players are in the game.

Enjoy!


Links to Mumble MumbleLink and Minecraft.

So blogger, eh?

So I set up this blogger account. It was really easy and straight forward. Google did a good job on that. Some nice templates to chose from that can easily be changed if you like. Now I just need to post a lot :o)

Welcome

Welcome to my little place in cyberspace. I am an asperger dad with a passion for tinkering with everything and nothing. Current projects include CMS (Joomla and WebSPELL), Minecraft and everything related to it (mods, servers, bukkit) and I also have a soft spot for current FPS online games.