Discuss anything regarding MineRealm Classic here.
  • User avatar
By Quentijn
#37981
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 :/
User avatar
By bcbarton
#37996
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.
By Quentijn
#37998
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)
User avatar
By bcbarton
#38002
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"
By Quentijn
#38005
Aight so I get the pop up but now it doesn't find the file :/

Sorry I'm not so good at this :/
Attachments
Naamloos.jpg
Naamloos.jpg (34.03 KiB) Viewed 3624 times
User avatar
By bcbarton
#38009
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?
By Quentijn
#38010
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 :/
User avatar
By bcbarton
#38014
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:
By Quentijn
#38017
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 ....
By koalaboy13
#39736
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
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]