-
Notifications
You must be signed in to change notification settings - Fork 13
Config Usage
Marvin1099 edited this page Jun 24, 2024
·
10 revisions
Editing this file is OPTIONAL.
In the file wemod.conf
you can add the following under [Settings]
- Use SteamCompatDataPath = $SPATH to override you steam compat folder
- Use VirtualEnvironment = $VPATH to set a custom path for the venv eg. wemod_venv
- Use RepoUser = $GITHUB_USERNAME to set the github user,
to get prefix downloads from eg. DaniAsh551 - Use RepoName = $NAME_OF_REPO to set the github repo,
to get prefix downloads from eg. wemod-launcher - Use WeModLog = $LOG_PATH to set the wemod log file path eg. wemod.log
- Use PackagePrefix = int to set on how many script starts to package the prefix zip.
This can also be set to: true : This means always package the zip,
less then 1 or any string that is not true : This means never package the zip. - Use WinePrefixPath = $WPath to set the wine path if using a 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 to 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.
Keep in mind if you use this you don't want to use the environment variable equivalent
eg. remove WEMOD_LOG=$LOG_PATH in front of the steam command if you want to use WeModLog=$LOG_PATH in the config,
SteamCompatDataPath is exluded from this, since it has to be set manually.
For info on environment variables, that can be set check out Environment Variables
An example of the config might look like this:
[Settings]
ScriptName = wemod-laucher
Version = 1.047
VirtualEnvironment = wemod_venv
RepoUser = DaniAsh551
RepoName = wemod-launcher
WeModLog = wemod.log
PackagePrefix = false
Keep in mind the the version is going to be your version,
you don't have to set that since it gets set by itself.