summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2021-02-08 11:55:36 -0500
committerGitHub <noreply@github.com>2021-02-08 11:55:36 -0500
commit4c3c61fa357c36444daade4d16a741418fff95a2 (patch)
tree15aa90f43a8c9c2240dca8eb58f61442d0e6b3f8
parent11eb805856262585248db63668d781d635d266af (diff)
Add instructions for installing libpng on macOS
-rw-r--r--INSTALL.md21
1 files changed, 18 insertions, 3 deletions
diff --git a/INSTALL.md b/INSTALL.md
index a59d4002c..fdeffca76 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -234,13 +234,28 @@ If this works, then proceed to [Installation](#installation). Otherwise, ask for
xcode-select --install
```
-2. - If devkitPro is **not installed**, then go to [Installing devkitPro (macOS)](#installing-devkitpro-macos).
- - Otherwise, **open the Terminal** and go to [Choosing where to store pokeemerald (macOS)](#choosing-where-to-store-pokeemerald-macos)
+2. - If libpng is **not installed**, then go to [Installing libpng (macOS)](#installing-libpng-macos).
+ - If devkitPro is **not installed**, then go to [Installing devkitPro (macOS)](#installing-devkitpro-macos).
+ - Otherwise, **open the Terminal** and go to [Choosing where to store pokeemerald (macOS)](#choosing-where-to-store-pokeemerald-macos)
+
+### Installing libpng (macOS)
+> Note for advanced users: This guide installs libpng via Homebrew as it is the easiest method, however advanced users can install libpng through other means if they so desire.
+
+1. Open the Terminal.
+2. If Homebrew is not installed, then install [Homebrew](https://brew.sh/) by following the instructions on the website.
+3. Run the following command to install libpng.
+
+ ```bash
+ brew install libpng
+ ```
+ libpng is now installed.
+
+ Continue to [Installing devkitPro (macOS)](#installing-devkitpro-macos) if **devkitARM is not installed**, otherwise, go to [Choosing where to store pokeemerald (macOS)](#choosing-where-to-store-pokeemerald-macos).
### Installing devkitPro (macOS)
1. Download the `devkitpro-pacman-installer.pkg` package from [here](https://github.com/devkitPro/pacman/releases).
2. Open the package to install devkitPro pacman.
-3. devkitPro must be configured with the tools required for GBA development. Run the following commands:
+3. devkitPro must be configured with the tools required for GBA development. In the Terminal, run the following commands:
```bash
sudo dkp-pacman -Sy