Difference between revisions of "SDK"

From WowWiki
Jump to navigation Jump to search
Line 14: Line 14:
 
Installing Python
 
Installing Python
  
Go to the site https://www.python.org/downloads/windows/, click on the "Latest Python 3 Release" link, wait for the download to complete  
+
Go to the site https://www.python.org/downloads/windows/, click on the "Latest Python 3 Release" link, wait for the download to complete.
 +
[[File:Highlight_Latest_Python_3_Release_link.png]]
  
 
Run the downloaded Python installer, select the "Add Python to PATH" checkbox (without it, the path to Python will need to be specified in full), and then click "Install Now".
 
Run the downloaded Python installer, select the "Add Python to PATH" checkbox (without it, the path to Python will need to be specified in full), and then click "Install Now".
 +
[[File:Python_installation_configuration.png]]
  
 
Python 3 will be installed in "%LOCALAPPDATA%\Programs\Python". After installation, it will offer to remove the 260-character limit on the PATH length. Click. We complete the installation. Some Python libraries may not work or work incorrectly due to the standard 260 character limit.
 
Python 3 will be installed in "%LOCALAPPDATA%\Programs\Python". After installation, it will offer to remove the 260-character limit on the PATH length. Click. We complete the installation. Some Python libraries may not work or work incorrectly due to the standard 260 character limit.
 +
[[File:Python_disable_path_length_limit.png]]
  
  
 
Installing libraries
 
Installing libraries
  
Open any terminal. This can be done in different ways: by Right-clicking on the "Start" button, or by the keyboard shortcut ⊞ (Win) + X (English).
+
To install the dependencies, you need to start the terminal. Go to Start menu (or press Windows key + X) and select Windows PowerShell.
  
Open the Windows administrative menu.
+
[[File:Start_menu_with_PowerShell.png]]
  
In it, select Windows PowerShell or Command Prompt (Command Prompt).
+
Type command "pip install intelhex pillow" and press enter.
 
+
[[File:Intelhex_and_pillow_installation.png]]
A terminal opens. In the terminal, you need to write a command "pip install intelhex pillow" and press the Enter/↵/Return button on the keyboard:
 
  
 
This command will download and install the IntelHex and Pillow dependencies. If the installation is successful, a corresponding message will be displayed.  
 
This command will download and install the IntelHex and Pillow dependencies. If the installation is successful, a corresponding message will be displayed.  
Line 36: Line 38:
  
 
[user: password @] proxy.server: port
 
[user: password @] proxy.server: port
 +
 
For example:
 
For example:
  
 
pip install --proxy = http: //proxy.jf.intel.com: 911 intelhex pillow
 
pip install --proxy = http: //proxy.jf.intel.com: 911 intelhex pillow

Revision as of 07:39, 16 June 2021

SDK/Framework

WOWCube Emulator installation

Windows

Launch the wowcube-sdk.exe installer and follow the steps of the installer.

Installing Dependencies (for Pawn Application Developers) To run scripts written in the Pawn language, you need to install Python 3, Pip, IntelHex, and Pillow.


Installing Python

Go to the site https://www.python.org/downloads/windows/, click on the "Latest Python 3 Release" link, wait for the download to complete. Highlight Latest Python 3 Release link.png

Run the downloaded Python installer, select the "Add Python to PATH" checkbox (without it, the path to Python will need to be specified in full), and then click "Install Now". Python installation configuration.png

Python 3 will be installed in "%LOCALAPPDATA%\Programs\Python". After installation, it will offer to remove the 260-character limit on the PATH length. Click. We complete the installation. Some Python libraries may not work or work incorrectly due to the standard 260 character limit. Python disable path length limit.png


Installing libraries

To install the dependencies, you need to start the terminal. Go to Start menu (or press Windows key + X) and select Windows PowerShell.

Start menu with PowerShell.png

Type command "pip install intelhex pillow" and press enter. Intelhex and pillow installation.png

This command will download and install the IntelHex and Pillow dependencies. If the installation is successful, a corresponding message will be displayed.

If your company uses a proxy, then you need to add the --proxy option to the command above. The option has the following format:

[user: password @] proxy.server: port

For example:

pip install --proxy = http: //proxy.jf.intel.com: 911 intelhex pillow