If you just want to play and there is a compiled version available on the Archipelago releases page, use that version. These steps are for developers or platforms without compiled releases available.
What you'll need:
- Python 3.8.7 or newer, not the Windows Store version
- Python 3.12 is currently unsupported
- pip: included in downloads from python.org, separate in many Linux distributions
- Matching C compiler
- possibly optional, read operating system specific sections
Then run any of the starting point scripts, like Generate.py, and the included ModuleUpdater should prompt to install or update the required modules and after pressing enter proceed to install everything automatically. After this, you should be able to run the programs.
- With yaml(s) in the
Players
folder,Generate.py
will generate the multiworld archive. MultiServer.py
, with the filename of the generated archive as a command line parameter, will host the multiworld locally.--log_network
is a command line parameter useful for debugging.
WebHost.py
will host the website on your computer.- You can copy
docs/webhost configuration sample.yaml
toconfig.yaml
to change WebHost options (like the web hosting port number). - As a side effect,
WebHost.py
creates the template yamls for all the games inWebHostLib/static/generated
.
- You can copy
Recommended steps
-
Download and install a "Windows installer (64-bit)" from the Python download page
- Python 3.12 is currently unsupported
-
Optional: Download and install Visual Studio Build Tools from Visual Studio Build Tools.
- Refer to Windows Compilers on the python wiki for details. Generally, selecting the box for "Desktop Development with C++" will provide what you need.
- Build tools are not required if all modules are installed pre-compiled. Pre-compiled modules are pinned on Discord in #archipelago-dev
-
It is recommended to use PyCharm IDE
-
Run Generate.py which will prompt installation of missing modules, press enter to confirm
- In PyCharm: right-click Generate.py and select
Run 'Generate'
- Without PyCharm: open a command prompt in the source folder and type
py Generate.py
- In PyCharm: right-click Generate.py and select
Refer to Guide to Run Archipelago from Source Code on macOS.
Only required to generate seeds that include A Link to the Past with certain options enabled. You will receive an error if it is required.
You can get the latest Enemizer release at Enemizer Github releases. It should be dropped as "EnemizerCLI" into the root folder of the project. Alternatively, you can point the Enemizer setting in host.yaml at your Enemizer executable.
SNI is required to use SNIClient. If not integrated into the project, it has to be started manually.
You can get the latest SNI release at SNI Github releases. It should be dropped as "SNI" into the root folder of the project. Alternatively, you can point the sni setting in host.yaml at your SNI folder.
Git is required to install some of the packages that Archipelago depends on. It may be possible to run Archipelago from source without it, at your own risk.
It is also generally recommended to have Git installed and understand how to use it, especially if you're thinking about contributing.
You can download the latest release of Git at The downloads page on the Git website.
Beyond that, there are also graphical interfaces for Git that make it more accessible. For repositories on Github (such as this one), Github Desktop is one such option. PyCharm has a built-in version control integration that supports Git.
Run pip install pytest pytest-subtests
, then use your IDE to run tests or run pytest
from the source folder.