Skip to content

Where are X4: Foundations save files?

X4: Foundations stores its saves in the folder below. The path comes from the game's own Steam Cloud settings, so it matches the Steam version.

Save folder Windows
%USERPROFILE%\Documents\Egosoft\X4\<Steam3 ID>

Files: inputmap*.xml, uidata.xml, userdata_signed.xml, ventureconfig.xml, colors.xml, inputfeedback.xml, constructionplans.xml, loadouts.xml, userdata.xml

Steam Deck / Linux (Proton)

~/.local/share/Steam/steamapps/compatdata/392160/pfx/drive_c/users/steamuser/Documents/Egosoft/X4/<Steam3 ID>
Save folder Windows
%USERPROFILE%\Documents\Egosoft\X4\<Steam3 ID>\constructionplan

Files: *.xml

Steam Deck / Linux (Proton)

~/.local/share/Steam/steamapps/compatdata/392160/pfx/drive_c/users/steamuser/Documents/Egosoft/X4/<Steam3 ID>/constructionplan
Save folder Windows
%USERPROFILE%\Documents\Egosoft\X4\<Steam3 ID>\loadout

Files: *.xml

Steam Deck / Linux (Proton)

~/.local/share/Steam/steamapps/compatdata/392160/pfx/drive_c/users/steamuser/Documents/Egosoft/X4/<Steam3 ID>/loadout
Save folder Windows
%USERPROFILE%\Documents\Egosoft\X4\<Steam3 ID>\save

Files: *.xml, *.xml.gz

Steam Deck / Linux (Proton)

~/.local/share/Steam/steamapps/compatdata/392160/pfx/drive_c/users/steamuser/Documents/Egosoft/X4/<Steam3 ID>/save
Save folder Windows
%USERPROFILE%\Documents\Egosoft\X4\<Steam3 ID>\customgamestart

Files: *.xml

Steam Deck / Linux (Proton)

~/.local/share/Steam/steamapps/compatdata/392160/pfx/drive_c/users/steamuser/Documents/Egosoft/X4/<Steam3 ID>/customgamestart
Save folder Windows
%USERPROFILE%\Documents\Egosoft\X4\<Steam3 ID>\colorprofile

Files: *.xml

Steam Deck / Linux (Proton)

~/.local/share/Steam/steamapps/compatdata/392160/pfx/drive_c/users/steamuser/Documents/Egosoft/X4/<Steam3 ID>/colorprofile

Paste the Windows path into the File Explorer address bar or the Run box (Win + R): %LOCALAPPDATA% and the other variables open the right folder for your account.

<SteamID64> and <Steam3 ID> stand for a folder named after your Steam account; there is usually just one. <Steam library> is the drive folder where Steam installs games (by default C:\Program Files (x86)\Steam).

Steam Cloud also keeps a copy of these saves. Turn it off for this game (Properties → General) before you restore an old backup, or Steam may put the cloud version back.

Back up your saves before using a trainer

  1. Close the game completely.
  2. Open the save folder above.
  3. Copy the whole folder to another place, for example a "Backups" folder on your desktop, and add the date to its name.
  4. Start the game, then the trainer. Keep the copy until you are sure your progress is fine.

Restore a backup

  1. Close the game and turn off Steam Cloud for it if it is on.
  2. Delete or rename the current save folder.
  3. Copy your backup back to the same place, with the same folder name.
  4. Start the game and load the save; turn Steam Cloud back on afterwards.

Source: the game's Steam Cloud configuration (Steam app info), checked 13 Nov 2026.