Jump to content

Mods folder for different versions


Lucas8x

Recommended Posts

Yessir. just make a folder inside the mods folder and name it after the version. Example

 

.minecraft

    - mods

        -1.6.2

            -Foo

            -Bar

        -1.5.2

            -Blah

            -ModName

I tried but did not work

Link to comment
Share on other sites

Profiles have a gamedir option for a reason use it.

Forge for MC152 (1.5.2-7.8.1.738) doesn't seem to adhere to the gamedir option, as far as I can tell.  It expects the Forge-related folders (mods/coremods, config, lib, etc) to be in %APPDATA%\.minecraft as with the old launcher.

 

Is this something that would need to change in Forge for MC152, or am I just not setting up the profile correctly?

    "Mod52_Seek": {
      "name": "Mod52_Seek",
      "gameDir": "C:\\Games\\Minecraft\\Mod52_Seek",
      "lastVersionId": "1.5.2.forge",
      "javaArgs": "-Xincgc -Xmx1G",
      "playerUUID": (censored),
      "useHopperCrashService": false,
      "launcherVisibilityOnGameClose": "keep the launcher open"
    }

 

With the Forge'd Minecraft version using the default launch parameters,

"minecraftArguments": "${auth_player_name} ${auth_session} --gameDir ${game_directory} --assetsDir ${game_assets}",

Link to comment
Share on other sites

I found a crude workaround that appears to work.  If there's a better way to do this, I'd love to know it, but in the meantime:

 

In the Profile, add to the JVM arguments

-Dminecraft.applet.TargetDirectory=<dir>

where <dir> is your desired equivalent to %APPDATA%\.minecraft .

 

For example, if you use

-Dminecraft.applet.TargetDirectory=c:\Games\Minecraft\MC152_Clouds

Then the Mods folder will be at

c:\Games\Minecraft\MC152_Clouds\Mods\

(and config, coremods, etc will be in c:\Games\Minecraft\MC152_Clouds too)

 

Note that this will override the profile's gameDir setting, so the saves directory and vanilla configuration files will be moved as well.

 

(this was based on another, tangential LexManos post pointing out the JVM option, and some hunting in the Forge source for how it acquired its base directory)

Link to comment
Share on other sites

Launching the game for 1.5.2 needs to go through the LegacyLauncher so make sure you copy 1.5.2's version folder not 1.6's

 

I tested last night and it worked fine iirc

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.