Does anyone know how to set the game directories path to something relative, like %appdata%? I want to run multiple profiles from a USB drive from one launcher.
Not exactly sure what you are trying to do, but you can set the game directory by clicking "Edit Profile" then check, well, "Game Directory".
Change the path there to whatever you would like. Though I'm not certain it would accept relative paths, it's worth a try.
When I tried to do that, it puts everything in a folder at G:\Files\Minecraft\%appdata%\.minecraft (minecraft.exe is at G:\Files\Minecraft, I ran it through a .bat file with set APPDATA=%~dp0\data) instead of using the %appdata% variable.
Rollback Post to RevisionRollBack
Please click the button if this post/topic was helpful/useful/fun in any way!
-
View User Profile
-
View Posts
-
Send Message
Retired StaffChange the path there to whatever you would like. Though I'm not certain it would accept relative paths, it's worth a try.
When I tried to do that, it puts everything in a folder at G:\Files\Minecraft\%appdata%\.minecraft (minecraft.exe is at G:\Files\Minecraft, I ran it through a .bat file with set APPDATA=%~dp0\data) instead of using the %appdata% variable.
Hi,
It's really simple, just launch the game with a --workDir parameter.
For example, .
How do I reference that in the profile editor?