The latest version of the Minecraft launcher does not support a unc file path for the game directory. The earlier versions of the launcher did.
I want to keep my saved game details on a NAS. Please fix
Linked issues
is duplicated by 2
relates to 1
Attachments
Comments 11
Just updated my launcher and I am experiencing the same issue. I have a drive mounted as my c:\files directory so my SSD doesn't fill up. Getting error:
Error details: The filename, directory name, or volume label syntax is incorrect
Filename on disk: .
Path: C:\Files\Curse\Minecraft\Instances\FTBPresentsHermitPack\
Exists: directory
I can confirm this is still an issue in 2.0.1003.
Note that this affects all networked computers set up with folder redirection for the AppData/Roaming directory, as directed by Microsoft TechNet; a significant subset of users with either a home network, or playing on a work network. https://technet.microsoft.com/en-us/library/cc732275(v=ws.11).aspx
A (dirty) workaround is to be to open the launcher with the --workDir switch. Ironically, it's possible to specify a working directory of a mapped network drive effectively equivalent to the original UNC location which reportedly couldn't be accessed.
=================================================
ERROR 😞
The game directory is invalid or inaccessible.
Error details: The specified path is invalid
Filename on disk: .minecraft
Path: \\odie\home\rab\.userfolders\AppData\.minecraft
Exists: directory
Already resolved in duplicate: https://bugs.mojang.com/browse/MCL-10279
I've tried tu use UNC path to .minecraft directory but it still doesn't work.
https://bugs.mojang.com/browse/MCL-10279 is in my opinion not a duplicate - it's about file system links, not UNC paths.
UNC paths seem to work great. If you disagree, please provide a sensible repro case if you still get this error. Also make sure you are on the latest version.
Hi, Linus,
and thanks for response. As far as I can tell, launcher version is 2.1.1462 but I don't know how to make sure it's the latest version. I couldn't find any "check for updates" or something similar.
I also don't know what "sensible repro case" should be. I can only tell, that if I enter UNC path to "Game directory" field in "Launch options"/"Latest release" it simply vanishes and the field becomes blank. The program then assumes default game directory.
I can confirm that what 'Marko Velkavrh' says is true.
The issue is still not resolved.
When the game directory is specified using the UNC file path (\\DELL\Profile Data\dan\Application Data\.minecraft), the text box used to specify the directory is blank when the properties are re-opened.
The game fails to launch.
My 'work-around' was to map a virtual drive.
It's done through the application of a user level GPO which affects all users on the domain.
I basically sets (Y:) to (\\DELL\Profile Data[USERNAME]\Application Data)
From the Minecraft launcher, I must then specify (Y:\.minecraft) as the working directory.
It works and is reliable.
Plus it's not a bad idea to have an easy shortcut to the app data directory under your list of drives.
Eg. Say you want to reset another programs settings to default on every logon, you could copy a standardized set of .ini files from a server to the Y:\ drive via a simple batch logon script.
Please check MCL-5294 to see if this fixes the issue.