WEM: Wine Environment Manager

WEM is a tool for managing wine "envs" or prefixes. Inspired by Lutris and rbenv.

It handles setting various wine options such as WINEPREFIX, installing extras such as DXVK/VKD3D-Proton, and more. View the full documentation here or bundled with the download. The issue tracker can be found here.


Running The Elder Scrolls III: Morrowind GOTY Edition from GOG.com:

# Download
wget https://wem.hristos.co/files/wem.tar.bz2

# Extract
tar xf wem.tar.bz2

# Install to someplace in $PATH, make sure you've got wine and winetricks too
mv wem/wem $HOME/.local/bin

# Initialize the env
wem init tes3 --gog-silent-install \
              --install-exe "{{.InstallWorkDir}}/setup_tes_morrowind_goty_2.0.0.7.exe" \
              --install-expected "{{.RunExe}}" \
              --install-workdir $HOME/games \
              --quiet-run \
              --run-pre "{{.Winetricks}} d3dcompiler_43 d3dcompiler_47 vcrun2010 d3dx9" \
              --run-exe "{{.RunWorkDir}}/Morrowind.exe" \
              --run-workdir "{{.WinePrefix}}/drive_c/game" \
              --virtualdesktop 1920x1080

# Install, then run the game
wem run tes3

See the documentation for more details.