2020-06-23 12:12:49 -04:00
|
|
|
For MacOS/Linux users
|
|
|
|
=====================
|
|
|
|
|
2020-11-02 10:42:25 -05:00
|
|
|
MacOS or Linux users must install Wine_ before running trnslator. This software
|
2020-06-23 12:12:49 -04:00
|
|
|
will allow MacOS/Linux users to run Windows application (e.g. `trnsidf.exe`).
|
|
|
|
|
|
|
|
Wine installation
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
1. In the Terminal, you have to install Homebrew with the following command line:
|
|
|
|
|
|
|
|
.. code-block:: python
|
|
|
|
|
|
|
|
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
|
|
|
|
|
|
|
You will have to confirm this action by pressing enter. The Terminal might ask your password,
|
|
|
|
then you have to enter the Admin password (followed by :guilabel:`&Enter: ⏎`). The installation of Homebrew
|
|
|
|
should take few seconds or minutes.
|
|
|
|
|
|
|
|
2. After installing Homebrew, you have to run 'brew doctor' (the Terminal might ask you)
|
|
|
|
with the following command line:
|
|
|
|
|
|
|
|
.. code-block:: python
|
|
|
|
|
|
|
|
brew doctor
|
|
|
|
|
|
|
|
This action will make Homebrew inspected your system to make sure the installation is correctly set up
|
|
|
|
|
|
|
|
3. Then you will need to install Xquartz using Homebrew by typing the following command line:
|
|
|
|
|
|
|
|
.. code-block:: python
|
|
|
|
|
|
|
|
brew cask install xquartz
|
|
|
|
|
|
|
|
4. Finally you can install Wine by copying the following command line:
|
|
|
|
|
|
|
|
.. code-block:: python
|
|
|
|
|
|
|
|
brew install wine
|
|
|
|
|
|
|
|
For more information about Wine installation, you can visit the following website: https://www.davidbaumgold.com/tutorials/wine-mac/
|
|
|
|
|
2020-11-02 10:42:25 -05:00
|
|
|
Using WINE with ``trnslator convert`` command
|
2020-06-23 12:12:49 -04:00
|
|
|
----------------------------------------------
|
|
|
|
|
|
|
|
The IDF to BUI converter uses an executable installed with TRNSYS (which is Windows only). Users that have bought
|
2020-11-02 10:42:25 -05:00
|
|
|
TRNSYS can copy the trnsidf.exe executable to their UNIX machine (MacOs or Linux) and invoke the `trnslator convert`
|
2020-06-23 12:12:49 -04:00
|
|
|
command with the :option:`--trnsidf_exe` option.
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
.. code-block:: python
|
|
|
|
|
2020-11-02 10:42:25 -05:00
|
|
|
trnslator convert --trnsidf-exe "<path to executable on UNIX machine>" "<path to IDF file>"
|
2020-06-23 12:12:49 -04:00
|
|
|
|
|
|
|
You can find the executable trnsidf.exe in the TRNSYS default installation folder:
|
|
|
|
`C:\\TRNSYS18\\Building\\trnsIDF`
|
|
|
|
|
|
|
|
|
|
|
|
.. _Wine: https://www.winehq.org/
|