-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added installation troubleshooting info for macOS users #1924
Open
ecopsychologer
wants to merge
10
commits into
pret:master
Choose a base branch
from
ecopsychologer:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+17
−4
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
4763b2d
add information for macOS users
ecopsychologer c4e664b
Update INSTALL.md
ecopsychologer 1f3fde5
Update INSTALL.md
ecopsychologer 9891b21
added the devkit* install instructions
ecopsychologer 8e7c3ae
Merge remote-tracking branch 'upstream/master'
ecopsychologer 22be29e
soft exp cap
ecopsychologer 4f7d5b6
update level caps
ecopsychologer f37858f
Revert "update level caps"
ecopsychologer ed65084
Revert "soft exp cap"
ecopsychologer 3060a68
Merge branch 'pret:master' into master
ecopsychologer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -266,13 +266,19 @@ If this works, then proceed to [Installation](#installation). Otherwise, ask for | |
|
||
> 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. | ||
</details> | ||
<details> | ||
<summary><i><strong>Note for Apple Silicon (M1) Mac users...</strong></i></summary> | ||
|
||
> Currently, Homebrew and libng must be installed via Rosetta on Apple Silicon Macs. Before continuing, create a [Terminal shell profile with Rosetta](https://www.astroworldcreations.com/blog/apple-silicon-and-legacy-command-line-software). Be sure to run the commands corresponding to Apple Silicon (M1). | ||
</details> | ||
|
||
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 | ||
brew install libpng # Intel Macs | ||
/usr/local/bin/brew install libpng # Apple Silicon (M1) Macs | ||
``` | ||
libpng is now installed. | ||
|
||
|
@@ -290,16 +296,23 @@ If this works, then proceed to [Installation](#installation). Otherwise, ask for | |
``` | ||
|
||
The command with gba-dev will ask for the selection of packages to install. Just press Enter to install all of them, followed by entering Y to proceed with the installation. | ||
<details> | ||
<summary><i>Note for users with trouble running 'sudo dkp-pacman -Sy'...</i></summary> | ||
|
||
> Using a VPN may help accesing devkitpro servers. | ||
</details> | ||
4. After the tools are installed, devkitARM must now be made accessible from anywhere by the system. To do so, run the following commands: | ||
|
||
```bash | ||
export DEVKITPRO=/opt/devkitpro | ||
echo "export DEVKITPRO=$DEVKITPRO" >> ~/.bashrc | ||
echo "export DEVKITPRO=$DEVKITPRO" >> ~/.bashrc # Intel Macs | ||
echo "export DEVKITPRO=$DEVKITPRO" >> ~/.zshrc # Apple Silicon (M1) Macs | ||
export DEVKITARM=$DEVKITPRO/devkitARM | ||
echo "export DEVKITARM=$DEVKITARM" >> ~/.bashrc | ||
echo "export DEVKITARM=$DEVKITARM" >> ~/.bashrc # Intel Macs | ||
echo "export DEVKITARM=$DEVKITARM" >> ~/.zshrc # Apple Silicon (M1) Macs | ||
|
||
echo "if [ -f ~/.bashrc ]; then . ~/.bashrc; fi" >> ~/.bash_profile | ||
echo "if [ -f ~/.bashrc ]; then . ~/.bashrc; fi" >> ~/.bash_profile # Intel Macs | ||
echo "if [ -f ~/.zshrc ]; then . ~/.zshrc; fi" >> ~/.zprofile # Apple Silicon (M1) Macs | ||
Comment on lines
-298
to
+315
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But these changes are good and helpful, since M1 macs are going to be using zsh by default now |
||
``` | ||
|
||
### Choosing where to store pokeemerald (macOS) | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Imo these changes are not necessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still can't speak to M1, but now on an M3 I can add that in addition to
brew install libpng
I needed to install pkg-config withbrew install pkg-config
in order for libpng to be found.