Page 1 of 2
2 Launchers for 2 versions?
Posted: Sat Oct 15, 2011 12:05 pm
by Quentijn
I have some big performance issues with 1.8.1 in SSP so I would like to have 2 launchers. 1 to launch 1.7.3 and the other one to launch 1.8.1.
Is this possible? If so, how? Because I've been trying various things but I can't seem to split the 2 up :/
Re: 2 Launchers for 2 versions?
Posted: Sat Oct 15, 2011 12:25 pm
by bcbarton
This is possible with batch files in windows.
Assuming that you named the 1.7.3 version this: "minecraft-1.7.3.jar" and the launcher program is located in "E:\Games\Minecraft\" like mine is, this is what you would want in a batch file:
copy %appdata%\.minecraft\bin\minecraft-1.7.3.jar %appdata%\.minecraft\bin\minecraft.jar /y
E:\Games\Minecraft\Minecraft.exe
The same can be done with any version backup you would like to run, so 1.8.1 might be like this:
copy %appdata%\.minecraft\bin\minecraft-1.8.1.jar %appdata%\.minecraft\bin\minecraft.jar /y
E:\Games\Minecraft\Minecraft.exe
To create the batch file, just copy the lines into notepad and save the file as something like "Minecraft 1.7.3.bat" and "Minecraft 1.8.1.bat". You would then run the batch file for the version you are interested in.
Re: 2 Launchers for 2 versions?
Posted: Sat Oct 15, 2011 12:40 pm
by Quentijn
bcbarton wrote:This is possible with batch files in windows.
Assuming that you named the 1.7.3 version this: "minecraft-1.7.3.jar" and the launcher program is located in "E:\Games\Minecraft\" like mine is, this is what you would want in a batch file:
copy %appdata%\.minecraft\bin\minecraft-1.7.3.jar %appdata%\.minecraft\bin\minecraft.jar /y
E:\Games\Minecraft\Minecraft.exe
The same can be done with any version backup you would like to run, so 1.8.1 might be like this:
copy %appdata%\.minecraft\bin\minecraft-1.8.1.jar %appdata%\.minecraft\bin\minecraft.jar /y
E:\Games\Minecraft\Minecraft.exe
To create the batch file, just copy the lines into notepad and save the file as something like "Minecraft 1.7.3.bat" and "Minecraft 1.8.1.bat". You would then run the batch file for the version you are interested in.
I'm troubleshooting atm lol
So I downgraded my MC to 1.7.3, renamed then minecraft.jar to minecraft-1.7.3.jar.
Then I opened the Notepad and copied this:
copy %appdata%\.minecraft\bin\minecraft-1.7.3.jar %appdata%\.minecraft\bin\minecraft.jar /y
C:\Users\gebruiker\Desktop\Free Time\Minecraft.exe
Now what?
or did I copied it wrong? (Not really familiar with batches)
Re: 2 Launchers for 2 versions?
Posted: Sat Oct 15, 2011 12:57 pm
by bcbarton
Quentijn wrote:
I'm troubleshooting atm lol
So I downgraded my MC to 1.7.3, renamed then minecraft.jar to minecraft-1.7.3.jar.
Then I opened the Notepad and copied this:
copy %appdata%\.minecraft\bin\minecraft-1.7.3.jar %appdata%\.minecraft\bin\minecraft.jar /y
C:\Users\gebruiker\Desktop\Free Time\Minecraft.exe
Now what?
or did I copied it wrong? (Not really familiar with batches)
I think you might be having a problem with the path of your launcher. Normally windows isn't smart enough to handle spaces. Try putting it in quotes like this: "C:\Users\gebruiker\Desktop\Free Time\Minecraft.exe"
Re: 2 Launchers for 2 versions?
Posted: Sat Oct 15, 2011 1:14 pm
by Quentijn
Aight so I get the pop up but now it doesn't find the file :/
Sorry I'm not so good at this :/
Re: 2 Launchers for 2 versions?
Posted: Sat Oct 15, 2011 1:25 pm
by bcbarton
The error "het systeem kan het opgegeven bestand niet vinden" means the .jar file isn't in the folder as expected, double-check that that the copy that you made and renamed minecraft-1.7.3.jar is in the %appdata%\.minecraft\bin\ folder. Otherwise it looks correct. Also, did it run the launcher after the error message anyway?
Re: 2 Launchers for 2 versions?
Posted: Sat Oct 15, 2011 1:40 pm
by Quentijn
Hmm I checked everything
Maybe I did something wrong:
I got 2 minecraft.jar's in the bin folder right? (the normal mincraft.jar and than the minecraft-1.7.3.jar)?
Also tried with just 1 in it didn't work either, I guess I'll get to my friend who knows way more from this than me :p
EDIT: After the error it runs MC but it runs the 1.8.1 not the 1.7.3 :/
Re: 2 Launchers for 2 versions?
Posted: Sat Oct 15, 2011 1:43 pm
by bcbarton
Hmm, the 2 .jars in the folder sound right. Hopefully it's just a typo your friend will be able to correct and not some weird symptom of running windows with the Dutch language :lol:
Re: 2 Launchers for 2 versions?
Posted: Sat Oct 15, 2011 1:49 pm
by Quentijn
Oh hold on I found out that there was a \Roamong\ missing for the jars
Now I get the error that he can't find the path, great I got some more puzzling to do :p
EDIT: Nvm I didn't had to insert \roaming ....
Re: 2 Launchers for 2 versions?
Posted: Fri Oct 21, 2011 5:01 pm
by koalaboy13
I have been trying to do something similar on my Mac to switch between different sets of mods and have built a
extremely buggy script I built that I shall post here that you can use. I am releasing it under a DWHYWWI (Do Whatever the Heck You Want With It) license. Also please don't call me an idiot for this. I'm 13, like bash, and have just been playing around with this. There are probably much more efficient ways to do this but this is what I have.
Use at your own risk it's buggy!
Here goes:
#!/bin/sh
#MultiCraft script for Mac
#Switches between multiple Minecraft installations
if test -e ~/MultiCraft/restore.command; then
~/MultiCraft/restore.command
rm ~/MultiCraft/restore.command
fi
#if test ! -e ~/MultiCraft/unmod/options.txt; then
# echo Missing MultiCraft Folder, Creating one⦠> /dev/stderr
# mkdir ~/MultiCraft
# cd ~/Multicraft
# mkdir unmod
# cp -R ~/Library/Application\ Support/minecraft/ ~/Multicraft/unmod/
#
#fi
# if no args print current config
if test "$1" == ""; then
echo Invalid \# of Arguments. Type -? for Help
echo ""
exit 0;
fi
# If given the -? option show help
if test "$1" == "-?"; then
echo ""
echo TechKoala MultiCraft File Manager
echo ""
echo ""
echo "Usage: $0 MCFOLDERNAME [-?]"
echo ""
fi
rm -R ~/Library/Application\ Support/minecraft
cp -R ~/Multicraft/$1/ ~/Library/Application\ Support/minecraft/
open /Applications/Minecraft.app
echo rm -R ~/Multicraft/$1 > ~/MultiCraft/restore.command
echo mkdir ~/Multicraft/$1 >> ~/MultiCraft/restore.command
echo cp -R ~/Library/Application\\ Support/minecraft/ ~/Multicraft/$1 >> ~/MultiCraft/restore.command
chmod 755 ~/MultiCraft/restore.command