Howdanrocks
Legacy Supporter 4
- Joined
- Feb 3, 2011
I got tired of having to manually swap out my jars to play different versions so I made a little vbscript to do it for me. I enter in, let's say, "1.7", and it deletes my current jar, copies a 1.7 jar I have, and puts it in the minecraft bin folder. You can do it with other jars too. It's really simple. I could maybe make it so that you guys could use it too if you want.
EDIT:
Improved it and made it so that you don't need to edit anything to get it working. Here it is:
http://www.filedropper.com/versionswitcher
or
http://www.mediafire.com/?w66ban55b2o53bw
Instructions:
After downloading the .zip file, simply extract it then run the VBScript in the folder called "Switch" whenever you want to change your jar. I'll add more as more Minecraft versions are released.
Other Info:
If you are curious, here is the code:
EDIT:
Improved it and made it so that you don't need to edit anything to get it working. Here it is:
http://www.filedropper.com/versionswitcher
or
http://www.mediafire.com/?w66ban55b2o53bw
Instructions:
After downloading the .zip file, simply extract it then run the VBScript in the folder called "Switch" whenever you want to change your jar. I'll add more as more Minecraft versions are released.
Other Info:
If you are curious, here is the code:
Code:
dim input, location
input=InputBox("Enter either 1.7, 1.8, or 1.9")
Dim FSO
Set FSO = CreateObject("Scripting.FileSystemObject")
Set obj = CreateObject("Scripting.FileSystemObject")
Set oShell = CreateObject("WScript.Shell")
Set ofso = CreateObject("Scripting.FileSystemObject")
oShell.CurrentDirectory = oFSO.GetParentFolderName(Wscript.ScriptFullName)
location=oShell.CurrentDirectory
Dim objFSO, copyFile, vSystemDrive
Set WshShell = WScript.CreateObject("Wscript.Shell")
vAPPDATA = WshShell.ExpandEnvironmentStrings("%APPDATA%")
Set objFSO = CreateObject("Scripting.FileSystemObject")
if input=1.7 then
'deleting
objFSO.DeleteFile(vAPPDATA & "\.minecraft\bin\minecraft.jar")
'copying
FSO.CopyFile location & "\1.7 jar\minecraft.jar", vAPPDATA & "\.minecraft\bin\minecraft.jar"
elseif input=1.8 then
'deleting
objFSO.DeleteFile(vAPPDATA & "\.minecraft\bin\minecraft.jar")
'copying
FSO.CopyFile location & "\1.8 jar\minecraft.jar", vAPPDATA & "\.minecraft\bin\minecraft.jar"
elseif input=1.9 then
'deleting
objFSO.DeleteFile(vAPPDATA & "\.minecraft\bin\minecraft.jar")
'copying
FSO.CopyFile location & "\1.9 jar\minecraft.jar", vAPPDATA & "\.minecraft\bin\minecraft.jar"
end if