Jump to content

Installing forge in none default location?


antonyvw

Recommended Posts

If I install forge in its default location (c:\users\username\appdata\roaming\.minecraft) it installs without problem. However if I try to install it in a none default location  (as in on drive d: instead of c:) - I have problems with it. It looks as if its installed according to the forge installer however when you go into minecraft it does not show up in profile so I cannot create a forge version. Can anyone tell me why and is there a solution to it please? I have java 64bit installed. This also a new computer so no baggage from other software at the moment.

Link to comment
Share on other sites

As far as I know (smarter people correcteth me), the Minecraft launcher only looks in ~/.minecraft or %appdata%\.minecraft for versions/profiles, and there is no way to change that. If you need it to be somewhere else due to for instance space concerns, consider symlinking the folder somewhere else (does windows allow cross-device symlinks?).

Also note that while you can install the forge binary in the default location, your mods/saves/resourcepacks/servers (the big files) can be saved elsewhere by editing the "Game directory" property of any profile. This is probably what you are after.

Link to comment
Share on other sites

Not completely no. Ive had it installed elsewhere before. Ive tried copying the contents of the folder on the c: drive to the d drive but it makes no difference. When the forge installer is launched it gives you the option of changing from the default location. As far as I know that should work I'm just not sure why its not working on this occasion.

Edited by antonyvw
Link to comment
Share on other sites

3 hours ago, LexManos said:

Thanks for this. Once Id got my head around what it was telling me and where to get the minecraft_staging file I had a go at trying to understand what was happening. I can now happily report that I not only have forege running where I want it but also that the .minecraft folder is no longer on my C: drive.

A very big thank you for pointing me in the right direction.

Link to comment
Share on other sites

Well, moving the default .minecraft folder is not very popular, and it is the all-powerful Vazkii that we talking of right here...

This is just a progress saver so one doesn't have to go through the tutorial on every instance, the config and stuff are of course in the game dir.

Plus he has a config option to disable it.

Link to comment
Share on other sites

mcDataDir and presumably also the server equivalent represent the game directory of the current instance. What Vazkii was after is a folder shared between all instances, so that every modpack, version, etc. would have access to it.

The goal of this is to allow the player bypass the tutorial if they have already completed it in any instance on that machine. He did a poll about this behaviour on twitter, and the community decided for it.

Is there any way to get a folder shared across instances, that is somehow connected to minecraft (ie. if I delete everything minecraft-related I want this to be gone), and is present on the local machine, without outbound connection, and that is better than using the default .minecraft folder as a constant?

 

PS. As I said, all config etc. are already stored in the mcDataDir or its subdirectories and equivalents, so he knows about these fields/methods

Link to comment
Share on other sites

I guess that makes sense. I kinda like the idea of being able to keep all minecraft-related things in one place though, makes for easier management. Cluttering the home directory with such unimportant files is not the best of solutions, too. This way, if the .minecraft dir is missing, it will just get created, and if you come across it, you will know that it's minecraft related.

 

Off topic note: IItemHandler makes life so much easier

Link to comment
Share on other sites

I'm not sure if I follow what has been said in the last few posts. I hope I have not upset anyone? My purpose in wanting to remove minecraft from the C: drive is that having built a new pc I am using a 250gb SSD M2 drive as my OS drive. Being as its rather smaller I don't it getting cluttered with games - especially ones that can get rather large if not watched.

So I am going to presume that the conversation is about how the minecraft_stager program works.

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Right now im trying to make an own mod for minecraft for the version 1.16.5 with forge but whatever i do it still doesnt fix the error this is my build.gradle : buildscript { repositories { maven { url = "https://maven.minecraftforge.net" } mavenCentral() } dependencies { classpath 'net.minecraftforge.gradle:ForgeGradle:5.1.+' } } apply plugin: 'net.minecraftforge.gradle' apply plugin: 'java' group = 'com.example' // Modify to your package name version = '1.0' archivesBaseName = 'flippermod' java { toolchain { languageVersion = JavaLanguageVersion.of(8) } } minecraft { version = "1.16.5-36.2.42" // Ensure this matches your Forge version mappings channel: 'official', version: '1.16.5' runs { client { workingDirectory project.file('run') property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP' property 'forge.logging.console.level', 'debug' mods { flipper_mod { sourceSets.main.output } } } } } repositories { maven { url = "https://maven.minecraftforge.net/" } mavenCentral() } dependencies { minecraft "net.minecraftforge:forge:1.16.5-36.2.42" } and this one is my settings.gradle:  pluginManagement { repositories { gradlePluginPortal() maven { name = 'MinecraftForge' url = 'https://maven.minecraftforge.net/' } } } plugins { id 'org.gradle.toolchains.foojay-resolver-convention' version '0.7.0' } rootProject.name = 'flippermod' this one is the mods.tml    modLoader="javafml" loaderVersion="[36,)" modId="flippermod" version="1.0.0" displayName="Flippermod" and the last one is the gradle-wrapper.properties distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip dc :"code_slivki"
    • Today I tried downloading 1.16.5 forge (the recommended version) and when installing I selected "download client". At the end just before appeared "These libraries failed to download. Try again." and at the bottom there were "org.apache.logging.log4j:log4j-api:2.15.0 ; org.apache.logging.log4j:log4j-core:2.15.0 and org.apache.logging.log4j:log4j-slf4j18-impl2.15.0" I tried the newest version and the same thing appeared
    • I think the problem is the server doesn't have enough ram, but I need to be sure before buying more. The modpack I use is Craft of exile 2 and the server has 4gb ram. When I try to turn it on I get a bunch of warns and at the end it just says "[Multicraft] Skipped 564 lines due to rate limit (160/s)" Is there a way to increase the rate limit? One time it did start, but without half of the mods. The modpack works perfectly fine on my computer even if I have the launch ram limit to 4gb.
    • Nevermind, RedstoneWireBlock.java had what I needed. Surprised I didn't try looking there until now.
    • I tried to open my Minecraft world normally and got the error "Errors in currently selected data pacts prevented the world from loading." Trying to start in safe mode gives the error "This world contains invalid or corrupted save data." My recent log is too large to make a Pastebin link. Any help would be much appreciated. 
  • Topics

×
×
  • Create New...

Important Information

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