Various issues encountered while installing on macOS
I have encountered multiple issues while installing on macOS (10.14 with various packages installed), here is all the non-documented steps I had to find out in order to fix the installation process:
-
python-sat
would install but a silent compilation error would prevent linking against some of its internal dependencies, crashingomwmerge
at runtime. The issue seems to be thatar
was reporting the wrong architecture (i386) while compiling, because I had GNUar
installed. Fix:brew unlink binutils
-
omwmerge
would not detect my Steam installation of Morrowind. Fix: manually editportmod/openmw/base/morrowind/morrowind-1.6.1820-r1.pybuild
at line 139 to have the correct path:~/Library/Application Support/Steam/SteamApps/common/The Elder Scrolls III - Morrowind
(instead of just.../Morrowind
) - Since there are no binaries for
omwcmd
I had to compile it myself. I clicked on the link from here, however after runningomwmerge
I had the following error:ERROR: this version of Portmod requires omwcmd version >= 0.2
. Confused, I had to double check I compiled the right thing, which I did not: the wiki page links to two different repositories,bmwinger/omwcmd
andportmod/omwcmd
, the correct one however is the latter. (Also might want to add this command to the installation steps:cargo install --git https://gitlab.com/portmod/omwcmd.git
) - The module
portmod/io_guard.py
would falsely report missing write permissions. Commenting the write permission check on lines 100-107 made the tool usable. - After installing one mod and selecting
a
to avoid being prompted on future config changes, the script will crash the next time (related toportmod/modules.py
, pre-initializingresponse = None
on line 197 fixes this issue. - For mods that require manual downloads, it would be useful if the tool could check for the default macOS download folder (
~/Downloads
) and also supporting spaces instead of underscores. It's painful to move the files to its own cache folder and rename every time. Right now, I runrename "s/ /_/" *.7z && mv *.7z ../Library/Caches/portmod/downloads/
every time I downloaded something
Other than that thanks for the tool, very useful
Edited by Tenchi