Skip to main content
Windows limits file paths to 260 characters. That can be a problem when the launcher uses delta update paths with a long install folder, for example:
During a delta update, the DIRECT 6 launcher adds temporary folders to the install path by default. One is named with the release’s SHA-256 ID, and the .solidpiece files inside it are also named with SHA-256 hashes:
That’s 263 characters. DIRECT 7 and newer handle this limit in code. In DIRECT 6, shorten the temporary paths with one or both of the options below.

Move the pending folder

The default workflow puts the pending folder in the install folder:
Use a macro such as {commonAppData} instead, which is C:\ProgramData\ on Windows:
The temporary path becomes C:\ProgramData\Farm Studios\temp\. The folder is deleted when the update finishes. Leave local, where game files are written, as it is. For more macros, see Core expandable strings.

Remove the SHA-256 temporary folder

Set deltaFormat and pieceFormat in the pending section of your repositorySync tasks to drop the release ID folder from the path.
Use the {TargetDigest} macro for both, or files can collide during an update.
With both changes, the temporary path is 109 characters:
Test workflow changes like these to confirm the paths are short enough.