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. |
set APPDATA=%cd%
javaw -Xms512M -Xmx512M -cp Minecraft.exe net.minecraft.LauncherFrame
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
Excellent tip, thanks man.
ReplyDeleteVery Nice bro :D
ReplyDeleteHey! I've used the Nostalgiacraft mod thingie and, back in Alpha 1.0.5, there was no "Minecraft.exe", there was a "Minecraft.jar". Any ideas on how to make it work?
ReplyDelete@P.tit_lu-90 minecraft.jar as in a launcher, or the game file itself?
ReplyDelete@Bakugo: The launcher
ReplyDeleteMay I ask, how would I do this for mac? Is it just the same? But with Wordpad or whatever it is called?
ReplyDeleteI have no idea about Mac :-/ Maybe search on the minecraft forums..
ReplyDeleteDidn't work here, opens the cmd, close quickly and doesn't open minecraft launcher... Any ideas?
ReplyDeleteWilliam, did you remember big L and F in LauncherFrame?
ReplyDeleteDo your windows account have admin rights?
This comment has been removed by the author.
ReplyDeleteAfter I start the .bat file the CMD window pops up, and nothing happens. Any suggestions?
ReplyDeletePlenty of suggestions :) I assume there is something wrong with your java path. So put the full path to java into the bat file instead..
ReplyDeleteRead comments here: http://www.reddit.com/r/Minecraft/comments/k7mmv/how_to_run_multiple_versions_of_minecraft/
could not find main class laucher frame please help
ReplyDeletecould not find main class launcher frame please help¹!!!!!!! PLEASEEEEE
ReplyDeletewhen i open start minecraft.bat
ReplyDeleteit says-
could not dind main class: net.minecraft.LauncherFrame.the program will exit.
plz. help
find
ReplyDeleteTo people having problems running this, you may need to install "JRE 6". Just search for that on google. Follow the link to the oracle page, and install it. Now Windows will understand the javaw command correctly.
ReplyDeleteThis has been very useful for me and I have been using it for months. It worked for 1.0 as well. Today I downloaded java JDK, since I wanted to learn basic java. All of a sudden an error message came up. My computer is german so I will translate it best i can: C:\----\desktop\minecraft1.0\start minecraft.bat could not be found. Make sure that you inserted the name correctly and try again. I have been using the code you posted, and has worked fine all the time until now.
ReplyDeleteDo you have any suggestions?
Ps. I tried uninstalling the jdk, and it still did not work.
Thanks so much for the help,
Bobslobtheblob
Its Not Working With Cracked!
ReplyDelete@sasa GOOD!
ReplyDeleteThat will change the Appdata systemwide, right? So you would probably nedd to set it back after you end Minecraft, right?
ReplyDelete