MicrosoftGame.config Element - NoCodePCRoot
Specifies the local folder where Save Games are stored when using the Porting previous titles to PC Game Saves with no-code cloud savesParent
The parent element is theSaveGameStorage element.
Requirement
This element is optional.Platform
This element only pertains to PC devices.Behavior
- Attribute of
RelativeTo. - Attribute values for
RelativeToareAppData,Public,LocalAppData,LocalAppDataLow,ProgramData,SavedGames, orUserProfile. - Allowed value is a relative file path.
Remarks
- To use this element, specify a valid
TitleIdandMSAAppIdelement in yourMicrosoftGame.configfile. - Use
SavedGamesas theRelativeTovalue. The Saved Games folder (%USERPROFILE%\Saved Games) corresponds toFOLDERID_SavedGames. OneDrive doesn’t sync this folder by default. This behavior helps avoid conflicts with cloud save synchronization. OneDrive automatic syncing can affect other locations such as AppData.
NoCodePCRoot redirection works only when you launch the title as a packaged build by using wdapp install. Launching the .exe directly bypasses the redirection and reads and writes to the physical NoCodePCRoot path without cloud synchronization. Alternating between packaged and direct .exe launches can cause save data to appear missing. For more information, see Porting previous titles to PC Game Saves with no-code cloud saves.