# Windows: ## Download the source code You can either download the source code for this project as a ZIP, or obtain it using `git clone`: ```sh git clone https://github.com/coop-deluxe/sm64coopdx.git cd sm64coopdx ``` ## Set up MINGW64 Download the newest version of the MSYS2 installer from [here](https://github.com/msys2/msys2-installer/releases) and install it. Run MINGW64 (`mingw64.exe`) Enter `pacman -Syuu` in the prompt and hit Enter. Press `Y` when it asks if you want to update packages. If it asks you to close the prompt, do so, then restart it and run the same command again. This updates the packages to their latest versions. ## Install dependencies ```sh pacman -S unzip make git mingw-w64-x86_64-gcc mingw-w64-x86_64-glew mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL python3 ``` ## Compilation Finally, it's time to compile. in MINGW, navigate to the folder in which you cloned or downloaded sm64coopdx if you haven't already. Once you're there, run the following command: ```sh make -j ``` You can append [build flags](https://github.com/coop-deluxe/sm64coopdx/wiki/Build-Flags) to your make invocation for any needed changes. * To access folders on your Windows drive, append any paths with `/c/`