- Minecraft, played at least once to download game files.
- USB drive (256mb should suffice, depends on your current minecraft data)
- Java on any computer you wanna play it on*
*There may be a way to put java on your USB drive also, making you be able to play minecraft on ANY computer, java or not, internet or not. (Would still need to be able to handly minecraft, obviously.) This is currently uncomfirmed.
You are going to put all your minecraft files onto your usb drive, along with the launcher, then make the launcher look in the flash drive, instead of where it normally looks for game files, which is in the computer under appdata.
You are now going to make the folders on your USB drive. Open your USB drive, and create 3 new folders. First create one called "Minecraft" or "Portable Minecraft" or whatever you want. This will contain everything. Now go into that folder, and create 2 more folders, "bin" and "data" alongside each other. Check out this picture:
Now you want to find your minecraft launcher. It is called minecraft.exe, and is probably on your desktop. It is what you click on to start minecraft. Copy this into your newly created "bin" folder.
Now you need to copy the actual core minecraft files over to your flash drive. These files are the things that make minecraft run and work. Find your .minecraft folder. If you don't know how to do this, here is a real quick tutorial:
- Go into "My Computer"
- Click on your hard drive (probably your "C:" drive)
- Click on the "Users" folder
- Click on your user
- Now click on the actual adress bar (Right now it would say "C:\Users\yournamehere". Note that if you are on windows 7/vista you need to click on the address bar to make it say that.)
- add a backslash (this:\ ) right after your name. (It's the key beside enter and above shift)
- add "APPDATA" after this new backslash. Hit Enter.
- Go into "Roaming"
- You should see your .minecraft folder near the top here.
Here is a picture of mine:
*Note the directory, make sure it is similar to yours*
Now copy that whole .minecraft folder into your newly created "data" folder on your USB.
Just note, that if you have any mods or anything, these will also transfer over, along with saves. This step is copying all the aspects of your minecraft on your computer, to your USB drive. You might wanna back up your .minecraft, then delete it and start the launcher to generate a new one, just so your minecraft portable is nice and working.
Here's another pic just for you pertaining to this step:
This step is where you might mess up, so pay careful attention.
You need to create a new .bat file, that tells the minecraft launcher to look in this USB for the files instead of in the computer's hard drive.
Open up notepad, and copy this code into it:
set APPDATA=%CD%\data bin\minecraft.exeMake sure to include the enter between "data" and "bin".
Now save the file as "MC_Portable.bat" or something similar. You can name it whatever you want, just make sure to have the .bat at the end. This will be what you click to start it up.
And here is another screenshot for those of you who need it:
Save that just inside your USB, inside your "Minecraft Portable" folder, or whatever you named it.
So, now you should be able to double click on that .bat file, and run minecraft.
This will run from any computer that can normally handle minecraft. The reason this is useful is because you can't just copy the minecraft launcher over to a USB drive, since it will try to connect to minecraft.net every time and download the files to that computer's hard drive.
An Extra Tip:
Minecraft writes a lot of data to the hard drive (or in this case, the USB drive) which may be slow if you don't have a whole lot of space on it. An easy fix is to put everything you just made into a new .zip file, and just unzip it to any computer's desktop to use it. If you do this, make sure to copy the files back to the USB and not just delete them, or else the USB's data will be the same as before you put it on the computer, and any saved data that was added while you ran it on the computer will not be kept.
Just to let you know, this will not alter anything on the actual computer that you are using, so you do not need to worry. The computer will not be changed at all.
If you want to support this thread and spread the word, put this banner in your signature!
And it should show up like this:
This whole thing took me a while to put together, so if you found it helpful, give me a +1 in the bottom right there. Thanks!