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.

Quickstart

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

# Download and verify
curl -sO https://wem.hristos.co/files/wem.tar.bz2
curl -s https://wem.hristos.co/files/wem.tar.bz2.sha512sum.txt | sha512sum -c -

# Extract
tar -xvf 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-post "{{.WinetricksPath}} d3dcompiler_43 d3dcompiler_47 vcrun2010 d3dx9" \
  --install-workdir $HOME/games \
  --quiet-run \
  --run-exe "{{.RunWorkDir}}/Morrowind.exe" \
  --run-workdir "{{.WinePrefix}}/drive_c/game" \
  --virtualdesktop 1920x1080

# Install, then run the game
wem run tes3

# Also check out the built-in help, manpage, and tutorial!
wem help

wem man

wem tutorial

See the documentation for more details.