Skip to content

Config Usage

Config Documentation

Editing this file is OPTIONAL. In the file wemod.conf you can add the following under [Settings]

  • Use SteamCompatDataPath = $SPATH to override your Steam compat folder
  • Use VirtualEnvironment = $VPATH to set a custom path for the venv, e.g. wemod_venv
  • Use RepoUser = $GITHUB_USERNAME to set the GitHub user, to get prefix downloads from, e.g. DaniAsh551
  • Use RepoName = $NAME_OF_REPO to set the GitHub repo, to get prefix downloads from, e.g. wemod-launcher
  • Use WeModLog = $LOG_PATH to set the WeMod log file path, e.g. wemod.log
  • Use PackagePrefix = int to set how many script starts it takes to package the prefix zip. This can also be set to: true: this means always package the zip, less than 1 or any string that is not true: this means never package the zip.
  • Use WinePrefixPath = $WPath to set the wine path if using an external runner (like GE-Wine in Lutris)
  • Use ScanFolder = $PrefixFolder to change the folder to look for the prefixes in (like /home/$USER/games). Keep in mind this folder is expected to have many prefixes so don’t use a prefix folder but the parent folder. For example /home/$USER/games/planet-crafter/pfx/drive-c/ is 3 folders too deep, you want to use /home/$USER/games instead.
  • Use SelfUpdate = False to block launcher auto updates.
  • Use Troubleshoot = False or True to disable / enable the troubleshooter.
  • Use NOEXE=true to help when wemod-launcher gives a “Game Missing” error due to some 3rd party launchers being involved (i.e. EA app)

Keep in mind if you use this you don’t want to use the environment variable equivalent, e.g. remove WEMOD_LOG=$LOG_PATH in front of the Steam command if you want to use WeModLog=$LOG_PATH in the config. SteamCompatDataPath is excluded from this, since it has to be set manually.

For info on environment variables that can be set, check out Environment Variables

Example

An example of the config might look like this:

[Settings]
ScriptName = wemod-launcher
Version = 1.047
VirtualEnvironment = wemod_venv
RepoUser = DaniAsh551
RepoName = wemod-launcher
WeModLog = wemod.log
PackagePrefix = false

Keep in mind the version is going to be your version, you don’t have to set that since it gets set by itself.