Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

As it is right now, my brother has version 1.6.4 with Feed The Beast, I used to play vanilla 1.7.4, but after seeing the Vein Miner mod, I decided to switch over to 1.6.4 just for that.

However, a problem arises when I went to actually set that up: I can't seem to separate the mods.

When I start the launcher, it has both of our profiles (his with 1.6.4 with mods and mine with vanilla 1.7.4). What I'd like to get to happen is have my profile also using 1.6.4, but with different mods, but I'm unsure how to break up MCForge's mod folder into different profiles.

I tried setting my profile to a different game directory (.minecraft2 for simple tests), but I noticed that it didn't re-download the 1.6.4 game, but actually kept using it from the original .minecraft folder. All it did differently was store the world save data and texture packs in the .minecraft2 folder.

Is it possible to just copy over the .minecraft/versions/1.6.4 folder to the new game directory for my profile and begin adding mods that way? If not, how does one achieve what I'm looking for: Two profiles using the same version of Minecraft with different mods?

Edit: Copying over the /versions/1.6.4 folder to the new game directory doesn't work, as when you try to install MCForge, it gives an error about a launcher file (or the lack of one). I understand the problem with this, but I'm unsure of what to do about it.

I have my setup like this:

I run minecraft from a terminal alias:

alias minecraft="java -jar $HOME/Games/Minecraft.jar"

This works just fine, but this isn't the ACTUAL launcher, I believe, as there's

$HOME/.minecraft/launcher.jar

If I were to copy over the 3 launcher files (launcher.jar, launcher.pack.lzma, launcher_profiles.json), would that suffice? But that raises another issue: How would I get the alias to point to either game directory? Are you able to just launch the launcher file in the .minecraft folder itself?

i.e. alias minecraft="java -jar $HOME/.minecraft/launcher.jar"

Would this create any security conflicts, or is this perfectly okay?

If you need any more information, feel free to ask.

share|improve this question
1  
Take a look at magic launcher. It usually makes managing multiple mod configurations easier. –  3ventic Feb 1 at 8:46
    
@3ventic - That looks quite handy indeed! I'll have a play with it in the morning. Thanks! –  user68189 Feb 1 at 9:04
add comment

3 Answers 3

If you are using the latest vanilla launcher:

  1. Create or edit a profile
  2. Check the box labeled "Game Directory" and fill in a location to put it. It will automatically create the directory if it doesn't exist on next launch of the profile. (Note that I doubt it will expand shell variables, but it works just fine with symbolic links if you use those)
  3. Click Save Profile

What I have done for this is I have created a directory under my $HOME called .minecraftProfiles and I put each separate profile in its own subdirectory. For example, vanilla 1.7.4 I have put at homedir/.minecraftProfiles/1.7.4-vanilla.

Sharing data between profiles:

  • If and when I want to share a file and keep it shared (for better or for worse) I would symlink to it from one profile in the other(s).
  • If I want to use some data (saves and such) as a basis for a new profile, I first copy the directory to a new one, create the new profile in the launcher (click "New Profile" when the one I'm copying is the selected profile), and after starting up that profile, (if necessary) do manual editing of the $HOME/.minecraft/versions/profilename/profilename.json when it is needed to have it actually keep some necessary data (if same version of Minecraft and wanting to keep Forge, for example)

Tips to avoid issues with losing valuable data:

  • Keep multiple profiles in separate directories to avoid conflicting mods or mod configurations.
  • Each profile should have a specific version set for the "Use version" under "Version Selection" in the Profile Editor to prevent it automatically updating and preventing you from playing on servers that haven't updated.
  • Backup, backup, backup - before adding/removing mods, changing the version of a profile, and especially regular backups just in case your computer (or just Minecraft) crashes.

If you are not using the vanilla launcher (read: FTB / Technic launchers), all I can say with 100% reliability is you would have to either use a separate user account (for Linux, which you should be for different people anyways according to many Linux security specialists) or deal with moving the storage location of those launchers manually each time before starting.

(partially off topic) I choose to use a naming scheme of version-info for the naming of my profiles' directories, but you can opt for adding the user's name at the beginning of it.

share|improve this answer
    
impressive first answer! Welcome to the site. –  Wandang Mar 9 at 4:33
    
@Wandang Thank you. I have enough experience with Linux to set this up (and have used computers, in general, since my youth.. but I sure was bad at good programming with QBasic 1.0 and abusing the goto statement back then *rolls eyes*) –  Adam Evans Mar 11 at 19:25
add comment

Yes, you can actually copy the version folder, but you have some other work to do first

  1. Rename the .jar and .json to the same name you gave the folder
  2. Open the .json in your favorite editor, and locate the "id" property
  3. Set the "id" property to the name you gave the folder.

Minecraft should now see another version, if not, check the development console for information.

share|improve this answer
add comment

Try looking into 3rd-party launchers such as MagicLauncher and MultiMC. I've found that MultiMC works very well for setting up multiple profiles, and I'm pretty sure it has a Linux version.

MultiMC can do this by creating different "instances" of Minecraft's folder. (Warning: these instances are in MultiMC's install directory, not Minecraft's directory.) You can separate your mods by creating an instance, installing Forge through the "Add Mods" window (first tab, not second), and copy-pasting your mods from the FTB directory to the instance's. You can enable/disable mods through this dialog too. The program's still in its early stages, so there are a couple of bugs. I have to keep my allocated RAM under 1.5 GB, although I don't know if this will be a problem with Linux. You don't necessarily have to have your brother use MultiMC; the instance directories are separate from Minecraft's and FTB's directories, so you can use MultiMC and he can keep using the vanilla launcher.

share|improve this answer
    
Rather than just point out a possible solution, provide information on how MagicLauncher or MultiMC solves the problem. That would be much more useful than just suggesting that they might do the trick. –  Frank Mar 9 at 0:09
    
Is that better, Frank? –  einsteinsci Mar 9 at 2:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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