2

So I know that generally hardware questions are not accepted here but I feel this is a slight exception due to the fact that it has to do with minecraft specifically. So, recently I have gotten my hands on a new computer that has a Solid State Drive or SSD that goes along with my hard drive, my question is how can I transfer minecraft from using the typical root it goes to in the appdata folder and transfer/change it to the SSD drive?

Also for those wondering I have gotten this gaming laptop (just trying to show off my pride and joy, I understand if this part will be taken down by high rep editors)

Edit: I should also note the reason that I want to move minecraft is because it will be a lot smoother and faster on the SSD than on the hard drive.

Edit2: Currently using windows 8.1

  • 2
    Not trying to be condescending, but have you tried Googling for "how to move minecraft to another hard drive"? I see a couple of good results on the first page. – kevin628 Aug 6 '14 at 17:15
  • @kevin628 Well yes I have but it is also good to have questions like these on the sight, trust me, if "User didn't google it" was a flaggable offense I would have flagged so many people by now... – Baked Potato Aug 6 '14 at 17:58
  • @kevin628 Oh also, just for laughs let me introduce you to lmgtfy.com, I wouldn't use it too much on this website because some people might find it offensive. Exampe of the website is here: lmgtfy.com/?q=how+to+move+minecraft+to+another+hard+drive – Baked Potato Aug 6 '14 at 18:13
  • @BakedPotato "User didn't google it" is "not showing research effort", which is a reason to downvote (see mouseover text on downvote arrow), not flag. – MrLemon Aug 7 '14 at 8:22
  • @MrLemon Alright, well I'm not sad that I'm getting downvoted. It's still a good idea to have these types of questions on the website. Also, I'm sure you can tell that it has already been downvoted but equally upvoted(click on the 0 in the middle of the upvote/downvote buttons) which means that it is a worthwhile question. It's just that some questions that need googling in here are in the same sense as "how to craft a compass in minecraft". Those type are kinda just pointless.... – Baked Potato Aug 7 '14 at 14:21
9

There are 3 easy steps you need to take to move Minecraft to your SSD.

1. Find your .minecraft folder.

Your .minecraft folder should be located in %appdata%\.minecraft on your computer.

2. Move your .minecraft folder.

Copy the entire .minecraft folder to your SSD. Lets assume your SSD is D: and you copy the folder to the directory D:\Games\.minecraft

3. Let Minecraft know.

You finally have to tell the Minecraft launcher that the game is now located on D:. Open your Minecraft launcher and click Edit Profile. When the dialogue box opens, tick the Game Directory check box and type in the new directory:

enter image description here

You can check that you put in the correct directory by clicking the "Open Game Dir" button.

Click Save Profile and your done! Minecraft will now be loading from your SSD.

  • Is this with each specific profile or will it change if someone else logs on with their account? In other words, is the new directory attached to the one account or is it now rooted there? – Baked Potato Aug 6 '14 at 22:14
  • Profiles are not linked to your account but your computer. It doesn't matter who logs on your computer, the profile will still be there. – Caleb Aug 6 '14 at 22:17
  • Alright, thanks for the info, also, in step three I believe you meant in disk D and not disk C – Baked Potato Aug 6 '14 at 22:21
  • This only partly works. The latest version still wants to download stuff to the default folder location, despite it being relocated in the profile. – Mr Pablo Sep 23 '15 at 11:32
5

You can use mklink to create a directory junction, which will enable you to access Minecraft in the usual way while it is physically stored elsewhere (in your case, on another drive).

Move the Minecraft folder where you want it to physically reside, then hit Win-R, enter cmd, hit Enter and input the following command:

mklink /j targetfolder originalfolder, where targetfolder is the new location of the Minecraft folder and originalfolder is where it originally was.

Example: mklink /j D:\Minecraft C:\Users\Username\Appdata\Roaming\.minecraft

  • I'm not accustomed to windows 8 yet, how can I get to the cmd on said OS? (I can't try this solution atm because I'm not currently at my laptop) – Baked Potato Aug 6 '14 at 18:07
  • @BakedPotato it is built-in. – kotekzot Aug 6 '14 at 18:16
  • 1
    Hit windows key then type 'cmd' and press enter, pretty much. Also, ctrl + (shift?) + right click in the folder from explorer and click "Open command window here" – aikeru Aug 6 '14 at 18:16
  • @kotekzot I understand that it is built in, I was just wondering if the way you described it as works with Windows 8 – Baked Potato Aug 6 '14 at 18:49
  • @BakedPotato it should. – kotekzot Aug 6 '14 at 19:04
0

Assuming you are on Windows, this might be easy.

This link has a solution that is simple enough. In summary:

  1. move/copy the .minecraft folder to another location
  2. create a batch file that sets the APPDATA environment variable (for that session) to the folder you want minecraft to run in and then execute the minecraft.exe
  3. run the batch when you wish to play

This said, I think the biggest thing you can do to improve minecraft performance is to give it more RAM (either by having more RAM and/or telling the Java process it can use more memory) if you aren't already.

NOTE: Calling "SET" in a batch file only SET's the environment variable for that command window session. It does not affect any other session/window except those launched from that window. IOW, it's harmless for this purpose.

  • And don't forget to set the variable back after you're done playing, or other programs might have problems of their own. – Humungus Aug 6 '14 at 17:22
  • Well while yes the solution you have given is usable but it is rather messy, also, the smoothness of a program such as minecraft doesn't solely rely on RAM. RAM is used to process large amount of data at once (correct me if I'm wrong) but in my opinion the best way to improve on performance of minecraft is how fast the data can be used. A fast processor, good drive, and a good graphics card is the easiest way to improve minecraft as well as any other game. Don't forget this is an opinion, aka doesn't mean you are wrong, also my computer already has 12 gb of RAM so I think that is checked off. – Baked Potato Aug 6 '14 at 18:05
  • 1
    About setting the variables back: as long as you set them in the batch, as @aikeru suggests, instead of in your system environment settings, you will be fine. – JvR Aug 6 '14 at 18:05
  • The fact that you have 12GB RAM does not mean the Java process has been told it can use more than XGB of the RAM available. I don't know about all versions of Java but on my home server and with certain mods I've set the RAM explicitly, without which Minecraft runs quite poorly. Also, as JvR said, this method is not messy, no permanent change is made using SET. Hope this is helpful :) – aikeru Aug 6 '14 at 18:18
0

Even when you choose the game directory minecraft will still work on the main drive. On the game directory are saved only texture packs and saves. So basically useless

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.