Can i run Minecraft from a memory stick?

Associate
Joined
12 Sep 2010
Posts
342
Location
Durham
Im trying to install Minecraft on my memory stick so i can play in offline mode from the computers at work. Even though i have copied all the files from my computer onto the stick it still wont play from the stick. i have noticed that when i press options (before logging in) is states:

399755_2730150009649_1134199525_3018256_1040152289_n.jpg


is there any way i can change this game location? Or is there another way i can do this?

Cheers, Joe
 
You must have at least play the game online once,for Minecraft to download its files.

Create the following directories:
  • minecraft
  • minecraft\bin
  • minecraft\data


Copy Minecraft.exe in minecraft\bin
Copy your .minecraft directory in minecraft\data

Your .minecraft directory contains the worlds and is located in your user profile (c:\Users\yourlogin\AppData\Roaming\ under Vista, or C:\Documents and Settings\yourlogin\Application Data\ under Windows XP).

Then create portable_minecraft.bat file, containing the following instructions:

set APPDATA=%CD%\data bin\minecraft.exe

Then simply double-click portable_minecraft.bat to play the game!


Note:
  • Altering the APPDATA environment variable does not touch the system APPDATA. This change will only affect programs launched from the bat file. This will not change your system settings.
  • Minecraft makes a lot of disk writes, which may be slow on USB keys. The game may freeze from time to time. A better solution would be to unzip to HD, play on HD, then zip back to USB. Performances will be better.
  • It may be possible to use PortableJava, but it as not been tested.
 
Back
Top Bottom