Skip to content

Windower Data Locations

zetaepyon edited this page Jun 29, 2018 · 7 revisions

Default Paths

By default, Windower stores various types of data in several locations:

Data Type Default Path Contents
Settings
%LOCALAPPDATA%\Windower
User Profiles: profiles.xml
Lua Packages: \packages
User Data %USERPROFILE%\Saved Games\Windower Initialization Script: \scripts\init.lua
Temporary Data %TEMP%\Windower

Configure Paths

Per-Profile Configuration

You change the default file locations on a per-profile basis from the Windower launcher:

  1. In the launcher, edit the profile.
  2. Click the Advanced tab and enable the override switch for the path.
  3. Specify the desired location.

Global Path Configuration

You can also configure paths globally for all profiles.

Create a paths.xml file in the same directory as windower.exe, with the following contents:

<paths>
  <settings-path>...</settings-path>
  <user-path>...</user-path>
  <temp-path>...</temp-path>
</paths>

Note: Each path is optional, and may also contain environment variables such as %WINDOWER, which is the location of windower.exe.

Example: Portable installation with default temporary data location

<paths>
  <settings-path>%WINDOWER%\settings</settings-path>
  <user-path>%WINDOWER%\data</user-path>
</paths>

Override Paths

For development purposes, uou can also override the paths that Windower searches when loading packages. For example, it will load a package from an override path instead of the same package in the default location.

To define override paths, create an XML file at %LOCALAPPDATA%\Windower\overrides.xml with the following contents:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<overrides>
  <path>C:\path\to\packages</path>
</overrides>
Clone this wiki locally