#app directory to different drive

1 messages ยท Page 1 of 1 (latest)

amber shadow
#

i want to move my app directory to a d drive and i do that and reopen the app its gets an error idk if its me or the app i did lose my progress bc of it. idk how to fix it i dont want to use all my main drive storeage bc i pregen the world every time help wil be thank full

bright shuttleBOT
#
Modrinth

๐Ÿ‘‹ Hello! Thank you for creating a new thread on Modrinth server

๐Ÿ“ƒ Something went wrong with the game? Make sure to provide logs using mclo.gs
โ” If you're having an issue with Modrinth product, use our dedicated support portal instead

๐Ÿ”” Don't forget to mark your thread as solved if issue has been resolved by using </solved:1419635873284227106>

carmine tapir
#

First, close the app.

#

Then, you have to make a directory junction - from the location you moved it to, to the original location.

amber shadow
#

what is that

carmine tapir
#

To do that:

  1. click Win+R, type cmd and press enter
  2. type mklink /J %APPDATA%\ModrinthApp E:\Example\NewModrinth and press enter
#

But before doing it,

#

tell me which folders did you move specifically, that belonged to Modrinth?

carmine tapir
amber shadow
#

i whanted to move it to D:\Modrinth App or just on my d drive if that is what you mean

carmine tapir
#

What did you want to move specifically

#

The whole %APPDATA%\ModrinthApp or e.g. a profile folder?

amber shadow
#

yeah

carmine tapir
#

Which one

amber shadow
#

appdata

carmine tapir
#

Alright

#

Then do this:

  1. click Win+R, type cmd and press enter
  2. type mklink /J %APPDATA%\ModrinthApp D:\"Modrinth App" and press enter
#

If any error appears send a screenshot here

#

Remember to close the launcher before this

amber shadow
#

mklink /J %APPDATA%\ModrinthApp D:"Modrinth App" paste that in the cmd?

carmine tapir
#

yeah but remember to put the \ after the D: if it's not there

amber shadow
#

this?

carmine tapir
#

nah just remove that character (i meant to put it after D: but its there so)

amber shadow
#

it says it doesent exist

#

the file

carmine tapir
#

send a screenshot please

amber shadow
#

its in dutch

carmine tapir
#

okay are you sure that the full path that you moved it to is D:\Modrinth App?

amber shadow
#

i have the app in D:\Modrinth App also is it bc of that or do i make a new folder

carmine tapir
#

nah its good but

amber shadow
#

this is stadard

carmine tapir
#

yeye ik

amber shadow
#

ok mb

carmine tapir
#

are you sure you're in cmd and not powershell?

#

yea i think its cmd

amber shadow
carmine tapir
#

well try doing mklink /J C:\Users\Gebruiker\AppData\Roaming\ModrinthApp D:\"Modrinth App"

#

or mklink /J C:\Users\Gebruiker\AppData\Roaming\ModrinthApp "D:\Modrinth App"

amber shadow
carmine tapir
#

weirdddd

#

1 sec

#

try doing mklink C:\Users\Gebruiker\AppData\Roaming\ModrinthApp D:\"Modrinth App"

#

(without the /J)

carmine tapir
#

or does it not have an edit option, only seeing

amber shadow
#

its says denied

carmine tapir
#

Alright

amber shadow
#

if i try to change the thing in the app it gives me this error code

carmine tapir
# amber shadow on this one

That means either:

  • You have Modrinth running (do taskkill /f /im Modrinth App.exe and try again)
  • The appdata\ModrinthApp folder got recreated - delete it
  • You need to do it via cmd
carmine tapir
#

Now I think the issue could be your D:\Modrinth App folder

#

Did you do something with its permissions?

amber shadow
#

do i have to turn on full premission

carmine tapir
#

Did you do anything with its permissions yes or no

amber shadow
#

i dont think so

carmine tapir
#

Hmm

#

Well then it shouldn't be the cause

carmine tapir
amber shadow
#

only me

carmine tapir
#

Alright. Try setting permissions to all checked for every user for the D:\Modrinth App folder

#

and trying to run Modrinth App again

#

If it doesn't work and you have no idea why, try running Modrinth App with administrator

amber shadow
#

do you whant me to turn my pc to inglish so you can read it

carmine tapir
#

Nah i use google translate (Incase I need it)

amber shadow
#

did that

carmine tapir
#

Does it work now?

amber shadow
#

do i change in the app or mklink C:\Users\Gebruiker\AppData\Roaming\ModrinthApp D:"Modrinth App" this

carmine tapir
#

If it works after running it as admin or after mklinking it then it's good

#

If it works only after running as admin, well, I guess that's the only way

amber shadow
#

denied again

#

i can try to change it in the app

fiery kiln
#

!!noadmin

edgy cargoBOT
# fiery kiln !!noadmin
โœ‹ Do not run launchers as Administrator / via sudo

Please do not run any Minecraft launchers as Administrator (on Windows) or using sudo (on Linux).

This poses a high security risk, as it grants the launcher, Minecraft, and every mod it loads full access to your system.

Moreover, it never actually solves the issue you might have with your launcher.

carmine tapir
#

i know but when theres no other way then its worth a try

tough horizon
#

imaginary i pinged you can you help

fiery kiln
#

did he try to reinstall app?

carmine tapir
#

reinstalling will recreate the %APPDATA%\ModrinthApp folder

fiery kiln
#

so?

#

did he try?

carmine tapir
#

it's probably better to just move it back

#

well i didn't suggest it as it's pointless imo

tough horizon
amber shadow
#

i was afk

#

mklink /D "C:\Users\Gebruiker\AppData\Roaming\ModrinthApp" "D:\Modrinth App" @carmine tapir idk how this works

carmine tapir
#

If C:\Users\Gebruiker\AppData\Roaming\ModrinthApp exists you can rename it and then try again

#

**fixed typo

amber shadow
#

it says cant make files that already exists

amber shadow
#

rename that name?

carmine tapir
#

rename the ModrinthApp in appdata if it exists in there

#

and then mklinking again

#

you can try with /D if you want

amber shadow
#

cant i rename C:\Users\Gebruiker\AppData\Roaming\ModrinthApp to D:\Modrinth App

carmine tapir
#

that doesnt make sense

#

you would rather want to do the opposite

#

but you probably want to make it stay on the other drive so thats why i recommend using mklink

amber shadow
#

i whant it to be on the d drive

carmine tapir
#

exactly

amber shadow
#

i dont get it

wise jacinth
#

Just deinstall it and copy the instances you wanna keep, then reinstall it on D and copy over the instances folder you saved

#

Don't see an easier fix, sry

#

@amber shadow

amber shadow
#

@wise jacinth how do i do that

bright shuttleBOT
#

-# โš ๏ธ Last message in this thread was sent <t:1768838381:R>. It will be automatically archived soon.