Add a Mac section to the README and restructure.

This commit is contained in:
Mark Klara 2019-12-01 05:54:27 -08:00 committed by GitHub
parent 2626353b85
commit 61cbc85cd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
This is based on nds-savegame-manager, a NDS homebrew tool by Pokedoc to rip and restore saves from DS and GBA games.
This modification works with Pokémon GBA games and allows to inject official Nintendo Events to the savegames in the cartridge.
This modification works with Pokémon GBA games and allows to inject official Nintendo Events to the savegames in the cartridge.
Please, consider making a backup with the standard homebrew by Pokedoc (https://code.google.com/p/savegame-manager/).
@ -15,10 +15,61 @@ Below is a copy of the project description at https://code.google.com/p/savegame
### Windows
1. Install [cygwin](https://cygwin.com/install.html) for Windows. Make sure to also install the `make` command,
#### Install Dependencies
- Install [cygwin](https://cygwin.com/install.html) for Windows. Make sure to also install the `make` command,
which is not part of the minimal `cygwin` install.
2. Install [devkitPro](https://devkitpro.org/wiki/Getting_Started).
- Install [devkitPro](https://devkitpro.org/wiki/Getting_Started).
3. Open a `command prompt` to this directory and run the `make` command.
#### Build
Open a `command prompt` to this directory and run the `make` command.
To delete all build products, run `make clean`.
### Mac
#### Install Dependencies
- Install [homebrew](https://brew.sh/).
- Install `xz`:
```
brew install xz
```
- Install [pacman](https://github.com/devkitPro/pacman/releases/latest) devkitPro utilities for Mac.
- Run the following command to install the NDS (Nintendo DS) tools
```
sudo /opt/devkitpro/pacman/bin/pacman -S nds-dev
```
When prompted to install specific options, just press `enter` to default to "all".
#### Configure Environment Variables
Open up `~/.bash_profile`.
Add the following lines:
```
export DEVKITPRO=/opt/devkitpro
export DEVKITARM=${DEVKITPRO}/devkitARM
```
Lastly, run the following command to reload the file:
```
source ~/.bash_profile
```
#### Build
Open `terminal` to this directory and run the `make` command.
To delete all build products, run `make clean`.