Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Salt and Sanctuary"

From PCGamingWiki, the wiki about fixing PC games
m (→‎Input settings: Added cmd arg to disable hotplug prompts)
m
 
(47 intermediate revisions by 17 users not shown)
Line 3: Line 3:
 
|developers  =  
 
|developers  =  
 
{{Infobox game/row/developer|Ska Studios}}
 
{{Infobox game/row/developer|Ska Studios}}
{{Infobox game/row/osxporter|Ethan Lee}}
+
{{Infobox game/row/porter|Ethan Lee|OS X}}
{{Infobox game/row/linporter|Ethan Lee}}
+
{{Infobox game/row/porter|Ethan Lee|Linux}}
 
|publishers  =  
 
|publishers  =  
 
|engines      =  
 
|engines      =  
Line 11: Line 11:
 
|release dates=  
 
|release dates=  
 
{{Infobox game/row/date|Windows|May 17, 2016}}
 
{{Infobox game/row/date|Windows|May 17, 2016}}
{{Infobox game/row/date|OS X|EA}}
+
{{Infobox game/row/date|OS X|July 7, 2016}}
{{Infobox game/row/date|Linux|EA}}
+
{{Infobox game/row/date|Linux|July 7, 2016}}
 +
|reception    =
 +
{{Infobox game/row/reception|Metacritic|salt-and-sanctuary|84}}
 +
{{Infobox game/row/reception|OpenCritic|1609/salt-and-sanctuary|83}}
 +
{{Infobox game/row/reception|IGDB|salt-and-sanctuary|85}}
 +
|taxonomy    =
 +
{{Infobox game/row/taxonomy/monetization      | One-time game purchase }}
 +
{{Infobox game/row/taxonomy/microtransactions | None }}
 +
{{Infobox game/row/taxonomy/modes            | Singleplayer, Multiplayer }}
 +
{{Infobox game/row/taxonomy/pacing            | Real-time }}
 +
{{Infobox game/row/taxonomy/perspectives      | Side view, Scrolling }}
 +
{{Infobox game/row/taxonomy/controls          | }}
 +
{{Infobox game/row/taxonomy/genres            | Metroidvania, Platform }}
 +
{{Infobox game/row/taxonomy/sports            | }}
 +
{{Infobox game/row/taxonomy/vehicles          | }}
 +
{{Infobox game/row/taxonomy/art styles        | }}
 +
{{Infobox game/row/taxonomy/themes            | Fantasy }}
 +
{{Infobox game/row/taxonomy/series            | Salt }}
 
|steam appid  = 283640
 
|steam appid  = 283640
|gogcom page  =  
+
|gogcom id    =  
 +
|official site= https://ska-studios.com/games/salt-and-sanctuary/
 +
|hltb        = 25107
 
|strategywiki =  
 
|strategywiki =  
 +
|mobygames    = salt-and-sanctuary
 
|wikipedia    = Salt and Sanctuary
 
|wikipedia    = Salt and Sanctuary
|winehq      =  
+
|winehq      = 17907
 +
|lutris      = salt-and-sanctuary
 +
|license      = commercial
 
}}
 
}}
  
 
'''General information'''
 
'''General information'''
{{mm}} [http://steamcommunity.com/app/283640/discussions/ Steam Community Discussions]
+
{{mm}} [https://steamcommunity.com/app/283640/discussions/ Steam Community Discussions]
  
 
==Availability==
 
==Availability==
 
{{Availability|
 
{{Availability|
{{Availability/row| Steam | 283640 | Steam | OS X/Linux currently in beta | | Windows }}
+
{{Availability/row| Epic Games Store | salt-and-sanctuary | DRM-free | | | Windows }}
 +
{{Availability/row| Humble | salt-and-sanctuary | Steam | | | Windows, OS X, Linux }}
 +
{{Availability/row| Steam | 283640 | DRM-free | | | Windows, OS X, Linux }}
 
}}
 
}}
  
 
==Game data==
 
==Game data==
 +
{{Image|Salt and Sanctuary game settings.png|In-game game settings.}}
 +
 
===Configuration file(s) location===
 
===Configuration file(s) location===
 
{{Game data|
 
{{Game data|
{{Game data/row|Windows|{{P|game}}\config\}}
+
{{Game data/config|Windows|{{P|game}}\config\}}
{{Game data/row|OS X|~/Library/Application Support/SaltAndSanctuary/}}
+
{{Game data/config|OS X|{{p|osxhome}}/Library/Application Support/SaltAndSanctuary/}}
{{Game data/row|Linux|{{P|xdgconfighome}}/SaltAndSanctuary/}}
+
{{Game data/config|Linux|{{P|xdgconfighome}}/SaltAndSanctuary/}}
 
}}
 
}}
  
 
===Save game data location===
 
===Save game data location===
 
{{Game data|
 
{{Game data|
{{Game data/row|Windows|{{P|game}}\savedata\}}
+
{{Game data/saves|Windows|{{P|game}}\savedata\}}
{{Game data/row|OS X|~/Library/Application Support/SaltAndSanctuary/}}
+
{{Game data/saves|OS X|{{p|osxhome}}/Library/Application Support/SaltAndSanctuary/}}
{{Game data/row|Linux|{{P|xdgdatahome}}/SaltAndSanctuary/}}
+
{{Game data/saves|Linux|{{P|xdgdatahome}}/SaltAndSanctuary/}}
 
}}
 
}}
 
{{XDG|true}}
 
{{XDG|true}}
Line 46: Line 72:
 
===[[Glossary:Save game cloud syncing|Save game cloud syncing]]===
 
===[[Glossary:Save game cloud syncing|Save game cloud syncing]]===
 
{{Save game cloud syncing
 
{{Save game cloud syncing
|origin               =  
+
|discord                  =
|origin notes         =  
+
|discord notes            =
|steam cloud           = false
+
|epic games launcher      = false
|steam cloud notes     =  
+
|epic games launcher notes =
|uplay                =  
+
|gog galaxy                =
|uplay notes           =  
+
|gog galaxy notes          =
|xbox cloud           =  
+
|origin                   =  
|xbox cloud notes     =  
+
|origin notes             =  
 +
|steam cloud               = false
 +
|steam cloud notes         =  
 +
|ubisoft connect          =  
 +
|ubisoft connect notes     =  
 +
|xbox cloud               =  
 +
|xbox cloud notes         =  
 
}}
 
}}
  
==Video settings==
+
==Video==
{{Video settings
+
{{Image|Salt and Sanctuary video settings.png|In-game video settings}}
 +
{{Video
 
|wsgf link                  =  
 
|wsgf link                  =  
 
|widescreen wsgf award      =  
 
|widescreen wsgf award      =  
Line 64: Line 97:
 
|4k ultra hd wsgf award    =  
 
|4k ultra hd wsgf award    =  
 
|widescreen resolution      = true
 
|widescreen resolution      = true
|widescreen resolution notes= XNA on Windows has a 2048x2048 resolution limit.
+
|widescreen resolution notes=  
 
|multimonitor              = false
 
|multimonitor              = false
 
|multimonitor notes        =  
 
|multimonitor notes        =  
 
|ultrawidescreen            = true
 
|ultrawidescreen            = true
|ultrawidescreen notes      = OS X/Linux only.
+
|ultrawidescreen notes      =  
 
|4k ultra hd                = true
 
|4k ultra hd                = true
|4k ultra hd notes          = OS X/Linux only.
+
|4k ultra hd notes          =  
 
|fov                        = n/a
 
|fov                        = n/a
 
|fov notes                  =  
 
|fov notes                  =  
Line 81: Line 114:
 
|antialiasing              = n/a
 
|antialiasing              = n/a
 
|antialiasing notes        =  
 
|antialiasing notes        =  
|vsync                      = hackable
+
|upscaling                  = unknown
|vsync notes                = 'vsync' option in OS X/Linux config file.
+
|upscaling tech            =
 +
|upscaling notes            =
 +
|vsync                      = always on
 +
|vsync notes                = Enabled by default. See [[#Vertical sync (Vsync)|Vertical sync (Vsync)]].
 
|60 fps                    = true
 
|60 fps                    = true
 
|60 fps notes              = Fixed timestep.
 
|60 fps notes              = Fixed timestep.
 
|120 fps                    = false
 
|120 fps                    = false
 
|120 fps notes              =  
 
|120 fps notes              =  
 +
|hdr                        = false
 +
|hdr notes                  =
 
|color blind                = unknown
 
|color blind                = unknown
 
|color blind notes          =  
 
|color blind notes          =  
 
}}
 
}}
  
==Input settings==
+
===[[Glossary:Vertical sync (Vsync)|Vertical sync (Vsync)]]===
{{Input settings
+
{{Fixbox|description=Disable Vsync|ref=<ref>{{Refcheck|user=Waschbär|date=2018-01-04}}</ref>|fix=
 +
# Go to the [[#Game data|configuration file(s) location]].
 +
# Open {{code|config.ini}}.
 +
# Change <code>vsync=1</code> to <code>vsync=0</code> and save the file.
 +
}}
 +
 
 +
==Input==
 +
{{Image|Salt and Sanctuary controls settings.png|In-game controls settings}}
 +
{{Image|Salt and Sanctuary remapping settings.png|In-game remapping settings}}
 +
{{Input
 
|key remap                = true
 
|key remap                = true
 
|key remap notes          =  
 
|key remap notes          =  
|acceleration option      = n/a
+
|acceleration option      = false
|acceleration option notes = Raw mouse input.
+
|acceleration option notes = Raw mouse input, used for menu navigation.
|mouse sensitivity        = n/a
+
|mouse sensitivity        = false
 
|mouse sensitivity notes  =  
 
|mouse sensitivity notes  =  
 
|mouse menu                = true
 
|mouse menu                = true
Line 103: Line 150:
 
|invert mouse y-axis      = n/a
 
|invert mouse y-axis      = n/a
 
|invert mouse y-axis notes =  
 
|invert mouse y-axis notes =  
 +
|touchscreen              = unknown
 +
|touchscreen notes        =
 
|controller support        = true
 
|controller support        = true
 
|controller support notes  = XInput required on Windows.
 
|controller support notes  = XInput required on Windows.
Line 109: Line 158:
 
|controller remap          = true
 
|controller remap          = true
 
|controller remap notes    =  
 
|controller remap notes    =  
|controller sensitivity    = false
+
|controller sensitivity    = n/a
 
|controller sensitivity notes=  
 
|controller sensitivity notes=  
|invert controller y-axis  = false
+
|invert controller y-axis  = n/a
 
|invert controller y-axis notes=  
 
|invert controller y-axis notes=  
|button prompts            = xbox, dualshock
+
|xinput controllers        = true
|button prompts notes      = Autodetection supported on OS X/Linux, can be disabled with <code>--disable-hotplug-icons</code>
+
|xinput controllers notes  =
 +
|xbox prompts              = true
 +
|xbox prompts notes        =
 +
|impulse triggers          = unknown
 +
|impulse triggers notes    =
 +
|dualshock 4              = true
 +
|dualshock 4 notes        = OS X/Linux only.
 +
|dualshock prompts        = true
 +
|dualshock prompts notes  =
 +
|light bar support        = false
 +
|light bar support notes  =
 +
|dualshock 4 modes        = unknown
 +
|dualshock 4 modes notes  =
 +
|tracked motion controllers= unknown
 +
|tracked motion controllers notes =
 +
|tracked motion prompts    = unknown
 +
|tracked motion prompts notes =
 +
|other controllers        = unknown
 +
|other controllers notes  =
 +
|other button prompts      = unknown
 +
|other button prompts notes=
 +
|button prompts            = Xbox, DualShock
 +
|button prompts notes      = Autodetection supported on OS X/Linux, can be disabled with <code>--disable-hotplug-icons</code>.
 
|controller hotplug        = true
 
|controller hotplug        = true
 
|controller hotplug notes  =  
 
|controller hotplug notes  =  
 
|haptic feedback          = true
 
|haptic feedback          = true
 
|haptic feedback notes    =  
 
|haptic feedback notes    =  
|light bar support        = false
+
|simultaneous input        = true
|light bar support notes   =  
+
|simultaneous input notes  =
 +
|steam input api          = unknown
 +
|steam input api notes    =
 +
|steam hook input          = unknown
 +
|steam hook input notes    =
 +
|steam input presets      = unknown
 +
|steam input presets notes =
 +
|steam controller prompts  = unknown
 +
|steam controller prompts notes =
 +
|steam cursor detection    = unknown
 +
|steam cursor detection notes =  
 
}}
 
}}
  
==Audio settings==
+
==Audio==
{{Audio settings
+
{{Image|Salt and Sanctuary audio settings.png|In-game audio settings}}
 +
{{Audio
 
|separate volume          = true
 
|separate volume          = true
 
|separate volume notes    =  
 
|separate volume notes    =  
Line 130: Line 212:
 
|surround sound notes    =  
 
|surround sound notes    =  
 
|subtitles                = n/a
 
|subtitles                = n/a
|subtitles notes          =  
+
|subtitles notes          = No speech.
 
|closed captions          = false
 
|closed captions          = false
 
|closed captions notes    =  
 
|closed captions notes    =  
Line 136: Line 218:
 
|mute on focus lost notes =  
 
|mute on focus lost notes =  
 
|eax support              =  
 
|eax support              =  
|eax support notes        =  
+
|eax support notes         =
 +
|royalty free audio       = unknown
 +
|royalty free audio notes  =  
 
}}
 
}}
  
Line 142: Line 226:
 
{{L10n/switch
 
{{L10n/switch
 
  |language  = English
 
  |language  = English
  |interface = yes
+
  |interface = true
  |audio    =  
+
  |audio    = n/a
  |subtitles =  
+
  |subtitles = n/a
 +
|notes    =
 +
}}
 +
{{L10n/switch
 +
|language  = French
 +
|interface = true
 +
|audio    = n/a
 +
|subtitles = n/a
 +
|notes    =
 +
}}
 +
{{L10n/switch
 +
|language  = German
 +
|interface = true
 +
|audio    = n/a
 +
|subtitles = n/a
 +
|notes    =
 +
}}
 +
{{L10n/switch
 +
|language  = Italian
 +
|interface = true
 +
|audio    = n/a
 +
|subtitles = n/a
 +
|notes    =
 +
}}
 +
{{L10n/switch
 +
|language  = Japanese
 +
|interface = true
 +
|audio    = n/a
 +
|subtitles = n/a
 +
|notes    =
 +
}}
 +
{{L10n/switch
 +
|language  = Korean
 +
|interface = true
 +
|audio    = n/a
 +
|subtitles = n/a
 +
|notes    =
 +
}}
 +
{{L10n/switch
 +
|language  = Brazilian Portuguese
 +
|interface = true
 +
|audio    = n/a
 +
|subtitles = n/a
 +
|notes    =
 +
}}
 +
{{L10n/switch
 +
|language  = Spanish
 +
|interface = true
 +
|audio    = n/a
 +
|subtitles = n/a
 
  |notes    =  
 
  |notes    =  
 
}}
 
}}
 +
}}
 +
 +
==Network==
 +
{{Network/Multiplayer
 +
|local play          = true
 +
|local play players  = 2
 +
|local play modes    = Co-op, Versus
 +
|local play notes    =
 +
|lan play            = false
 +
|lan play players    =
 +
|lan play modes      =
 +
|lan play notes      =
 +
|online play          = false
 +
|online play players  =
 +
|online play modes    =
 +
|online play notes    = Indirect online features available, like leaving behind messages or seeing where other players died.
 +
|asynchronous        =
 +
|asynchronous notes  =
 +
}}{{Network/Connections
 +
|matchmaking        =
 +
|matchmaking notes  =
 +
|p2p                =
 +
|p2p notes          =
 +
|dedicated          =
 +
|dedicated notes    =
 +
|self-hosting      =
 +
|self-hosting notes =
 +
|direct ip          =
 +
|direct ip notes    =
 +
}}{{Network/Ports
 +
|tcp  =
 +
|udp  =
 +
|upnp =
 
}}
 
}}
  
Line 156: Line 322:
 
|directdraw versions    =  
 
|directdraw versions    =  
 
|directdraw notes      =  
 
|directdraw notes      =  
|opengl versions        = 3.0+
+
|opengl versions        = 3.0
 
|opengl notes          = 2.1 with ARB extensions acceptable.
 
|opengl notes          = 2.1 with ARB extensions acceptable.
 
|glide versions        =  
 
|glide versions        =  
Line 164: Line 330:
 
|mantle support        =  
 
|mantle support        =  
 
|mantle support notes  =  
 
|mantle support notes  =  
|vulkan support        =  
+
|vulkan versions        =  
|vulkan support notes   =  
+
|vulkan notes           =  
 
|dos modes              =  
 
|dos modes              =  
 
|dos modes notes        =  
 
|dos modes notes        =  
 
|shader model versions  = 3.0 (HLSL), 1.20 (GLSL)
 
|shader model versions  = 3.0 (HLSL), 1.20 (GLSL)
 
|shader model notes    =  
 
|shader model notes    =  
|64-bit executable     = true
+
|windows 32-bit exe    = true
|64-bit executable notes= OS X/Linux only
+
|windows 64-bit exe    = false
 +
|windows arm app        = unknown
 +
|windows exe notes     =
 +
|mac os x powerpc app  = unknown
 +
|macos intel 32-bit app = unknown
 +
|macos intel 64-bit app = true
 +
|macos arm app          = unknown
 +
|macos app notes        =
 +
|linux 32-bit executable= unknown
 +
|linux 64-bit executable= true
 +
|linux arm app          = unknown
 +
|linux executable notes =  
 
}}
 
}}
  
Line 182: Line 359:
 
|minRAM  = 1 GB
 
|minRAM  = 1 GB
 
|minHD    = 2 GB
 
|minHD    = 2 GB
|minGPU  = DirectX 10 compatible video card with shader model 3.0 support
+
|minGPU  =  
 +
|minSM    = 3.0
 
|minDX    = 10
 
|minDX    = 10
  
 
|recOS    = 8
 
|recOS    = 8
|recCPU  = Intel Core 2 Duo or AMD Athlon 64 X2 5600+
+
|recCPU  = Intel Core 2 Duo
 +
|recCPU2  = AMD Athlon 64 X2 5600+
 
|recRAM  = 2 GB
 
|recRAM  = 2 GB
|recHD    = 2 GB
+
|recHD    =  
|recGPU  = NVIDIA 9600GT
+
|recGPU  = Nvidia GeForce 9600GT
 
|recGPU2  = ATI Radeon HD 5000+
 
|recGPU2  = ATI Radeon HD 5000+
 
}}
 
}}
Line 198: Line 377:
 
|minOS    = 10.7.5
 
|minOS    = 10.7.5
 
|minCPU  = Intel Core 2 Duo 2.8 GHz
 
|minCPU  = Intel Core 2 Duo 2.8 GHz
|minRAM  = 2 GB
+
|minRAM  = 1 GB
 
|minHD    = 2 GB
 
|minHD    = 2 GB
 
|minOGLn  = 2.1 with ARB extensions acceptable
 
|minOGLn  = 2.1 with ARB extensions acceptable
 
|minOGL  = 3.0
 
|minOGL  = 3.0
 +
 +
|recOS    = Latest macOS release
 +
|recCPU  = Intel Core 2 Duo
 +
|recRAM  = 2 GB
 +
|recHD    =
 +
|recGPU  =
 +
|recOGL  = 3.2+
 
}}
 
}}
  
Line 207: Line 393:
 
|OSfamily = Linux
 
|OSfamily = Linux
  
|minOS    = glibc 2.15+. S3TC support is NOT required.
+
|minOS    = glibc 2.15+. S3TC support is NOT required
 
|minCPU  = Intel Core 2 Duo 2.8 GHz
 
|minCPU  = Intel Core 2 Duo 2.8 GHz
|minRAM  = 2 GB
+
|minRAM  = 1 GB
 
|minHD    = 2 GB
 
|minHD    = 2 GB
 
|minOGLn  = 2.1 with ARB extensions acceptable
 
|minOGLn  = 2.1 with ARB extensions acceptable
 
|minOGL  = 3.0
 
|minOGL  = 3.0
 +
 +
|recOS    =
 +
|recCPU  = Intel Core 2 Duo
 +
|recCPU2  = AMD Athlon 64 X2 5600+
 +
|recRAM  = 2 GB
 +
|recHD    =
 +
|recGPU  =
 +
|recOGL  = 3.2+
 
}}
 
}}
  
 
{{References}}
 
{{References}}

Latest revision as of 11:50, 4 February 2024

Salt and Sanctuary
Salt and Sanctuary cover
Developers
Ska Studios
macOS (OS X) Ethan Lee
Linux Ethan Lee
Engines
Windows XNA
OS X, Linux FNA
Release dates
Windows May 17, 2016
macOS (OS X) July 7, 2016
Linux July 7, 2016
Reception
Metacritic 84
OpenCritic 83
IGDB 85
Taxonomy
Monetization One-time game purchase
Microtransactions None
Modes Singleplayer, Multiplayer
Pacing Real-time
Perspectives Side view, Scrolling
Genres Metroidvania, Platform
Themes Fantasy
Series Salt
Salt and Sanctuary on HowLongToBeat
Salt and Sanctuary on IGDB
Salt and Sanctuary on MobyGames
Salt and Sanctuary on Wikipedia
Salt
Salt and Sanctuary 2016
Salt and Sacrifice 2022

General information

Steam Community Discussions

Availability

Source DRM Notes Keys OS
Epic Games Store
DRM-free after installation through Epic Games Launcher (notes may include more details)
Windows
Humble Store
Icon overlay.png
Windows
macOS (OS X)
Linux
Steam
DRM-free after installation through Steam client (notes may include more details)
Windows
macOS (OS X)
Linux

Game data

In-game game settings.
In-game game settings.

Configuration file(s) location

System Location
Windows <path-to-game>\config\[Note 1]
macOS (OS X) $HOME/Library/Application Support/SaltAndSanctuary/
Linux $XDG_CONFIG_HOME/SaltAndSanctuary/

Save game data location

System Location
Windows <path-to-game>\savedata\[Note 1]
macOS (OS X) $HOME/Library/Application Support/SaltAndSanctuary/
Linux $XDG_DATA_HOME/SaltAndSanctuary/
This game follows the XDG Base Directory Specification on Linux.

Save game cloud syncing

System Native Notes
Epic Games Launcher
Steam Cloud

Video

In-game video settings
In-game video settings

Vertical sync (Vsync)

Disable Vsync[1]
  1. Go to the configuration file(s) location.
  2. Open config.ini.
  3. Change vsync=1 to vsync=0 and save the file.

Input

In-game controls settings
In-game controls settings
In-game remapping settings
In-game remapping settings

Audio

In-game audio settings
In-game audio settings

Audio feature State Notes
Separate volume controls
Surround sound
Subtitles
No speech.
Closed captions
Mute on focus lost
Royalty free audio

Localizations

Language UI Audio Sub Notes
English
French
German
Italian
Japanese
Korean
Brazilian Portuguese
Spanish

Network

Multiplayer types

Type Native Players Notes
Local play
2 Co-op, Versus
LAN play
Online play
Indirect online features available, like leaving behind messages or seeing where other players died.

Other information

API

Technical specs Supported Notes
Direct3D 9.0c XNA 4.0 requires a D3D10+ capable GPU, despite using D3D9.
OpenGL 3.0 2.1 with ARB extensions acceptable.
Shader Model support 3.0 (HLSL), 1.20 (GLSL)
Executable 32-bit 64-bit Notes
Windows
macOS (OS X)
Linux

System requirements

Windows
Minimum Recommended
Operating system (OS) Vista
Processor (CPU) Intel Core 2 Duo 2.8 GHz
System memory (RAM) 1 GB
Hard disk drive (HDD) 2 GB
Video card (GPU) DirectX 10 compatible
Shader model 3.0 support
macOS (OS X)
Minimum Recommended
Operating system (OS) 10.7.5
Processor (CPU) Intel Core 2 Duo 2.8 GHz
System memory (RAM) 1 GB
Hard disk drive (HDD) 2 GB
Video card (GPU) OpenGL 3.0 compatible 2.1 with ARB extensions acceptable
Linux
Minimum Recommended
Operating system (OS) glibc 2.15+. S3TC support is NOT required
Processor (CPU) Intel Core 2 Duo 2.8 GHz
System memory (RAM) 1 GB
Hard disk drive (HDD) 2 GB
Video card (GPU) OpenGL 3.0 compatible 2.1 with ARB extensions acceptable


Notes

  1. 1.0 1.1 When running this game without elevated privileges (Run as administrator option), write operations against a location below %PROGRAMFILES%, %PROGRAMDATA%, or %WINDIR% might be redirected to %LOCALAPPDATA%\VirtualStore on Windows Vista and later (more details).

References

  1. Verified by User:Waschbär on 2018-01-04