WEM: Wine Environment Manager

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

Project Goals


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 "{{.WinePrefix}}/drive_c/game/Morrowind.exe" \
              --install-workdir $HOME/games \
              --quiet-run \
              --run-pre "{{.Winetricks}} d3dcompiler_43 d3dcompiler_47 vcrun2010 d3dx9" \
              --run-exe "C:\game\Morrowind.exe" \
              --run-workdir "{{.WinePrefix}}/drive_c/game" \
              --virtualdesktop 1920x1080

# Install, then run the game
wem run tes3

See the documentation for more details.