Skip to content

Symlinks

frostworx edited this page Nov 20, 2021 · 2 revisions

Since some time Proton uses symlinks for its system files in the Compatdata Wineprefix, which saves a lot of space, probably also is faster to generate, but also leads to some customizing problems, f.e. using Winetricks.

Also, switching between Proton Versions sometimes is problematic and the Wineprefix Compatdata needs to be removed to be recreated correctly.

Therefore steamtinkerlaunch offers the following options, which could help (depending on the symlink count both might needs some time to finish, also there is no guarantee that this can't break the Wineprefix):

Fix Symlinks

  • When enabling FIXSYMLINKS (in the Game Menu) steamtinkerlaunch searches for outdated symlinks in the current Compatdata/Wineprefix directory, which point to a system file of a different Proton version than the currently used and tries to fix them. If the system file is not available in the current Proton version, the symlink will remain untouched.

Unsymlink

  • When enabling UNSYMLINK (in the Game Menu) steamtinkerlaunch searches for all symlinks in the current Compatdata/Wineprefix directory, which point to a system file of a Proton directory and replaced them with the real file. If copying over the original file fails for whatever reason, the original symlink is restored. This should help with several Winetricks problems.

Both options can be combined, where FIXSYMLINKS will be called first, so when using UNSYMLINK the system file for the currently used proton will be copied if it is available.

For symlinking the steamuser directory in a Compatdata/Wineprefix see here

Clone this wiki locally