The most current version can be found here.
This little program will launch Minecraft from the current directory on Windows, Linux and Mac.
What makes MinecraftMultiPortableLauncher different from other Minecraft-Portable-Tools?
- Works on all Operating Systems
- Does not rely on environment variables
- Does not modify any Minecraft-Files
- Uses Reflection to move the Minecraft Files
- Uses the regular launcher (Online and Offline Mode)
- Place the MinecraftMultiPortableLauncher.jar in a folder of your choice.
- Start the .jar file.
- You will be prompted to download the Minecraft-Launcher.jar You have 3 Choices:
- Open the Download-Page in your Browser and download the minecraft.jar manually
- Download the minecraft.jar with your Browser
- Use the internal Downloader (recommended)
- Restart MMPL to start the Minecraft-Launcher
- Log in.
- Download the Game.
- After the Download is finished:
- QUIT THE GAME
- Do not forget that or your game will not store data in the current directory!
- Start MMPL again to enjoy your Portable Minecraft
Do not get confused with the minecraft.jar-Launcher and the bin/minecraft.jar. This program needs BOTH to operate correctly.
Singletons FTW. If you don't know what a Singleton is: dont read any further.
Minecraft has 2 Singletons, that hold the directory of Minecraft.
- One in the launcher(in net.minecraft.Util-Class)
- Another one in the game(in net.minecraft.client.Minecraft-Class)
Both Classnames are not obfuscated.
MMPL then takes the Opporturnity and loads these classes before Minecraft can do it itself.
After that Reflection is used to make the Fields accessible and give them a value.
Because I don't know the exact name of the Fields i simply scan the Classes for any static File Field.
This will break, when there are multiple Fields matching the criteria or when the singletons are removed in a future Minecraft version or the Class-Names get obfuscated lika all the others.