mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 19:54:21 +01:00
Move make compare to its own build section
This commit is contained in:
parent
76659a4091
commit
15f386ede6
27
INSTALL.md
27
INSTALL.md
@ -418,21 +418,16 @@ If you aren't in the pokeemerald directory already, then **change directory** to
|
|||||||
```bash
|
```bash
|
||||||
cd pokeemerald
|
cd pokeemerald
|
||||||
```
|
```
|
||||||
To build **pokeemerald.gba** for the first time and confirm it matches the official ROM image (Note: to speed up builds, see [Parallel builds](#parallel-builds)):
|
To build **pokeemerald.gba** (Note: to speed up builds, see [Parallel builds](#parallel-builds)):
|
||||||
```bash
|
```bash
|
||||||
make compare
|
make
|
||||||
```
|
```
|
||||||
If an OK is returned, then the installation went smoothly.
|
If it has built successfully you will have the output file **pokeemerald.gba** in your project folder.
|
||||||
<details>
|
<details>
|
||||||
<summary>Note for Windows...</summary>
|
<summary>Note for Windows...</summary>
|
||||||
> If you switched terminals since the last build (e.g. from msys2 to WSL1), you must run `make clean-tools` once before any subsequent `make` commands.
|
> If you switched terminals since the last build (e.g. from msys2 to WSL1), you must run `make clean-tools` once before any subsequent `make` commands.
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
To build **pokeemerald.gba** with your changes:
|
|
||||||
```bash
|
|
||||||
make
|
|
||||||
```
|
|
||||||
|
|
||||||
# Building guidance
|
# Building guidance
|
||||||
|
|
||||||
## Parallel builds
|
## Parallel builds
|
||||||
@ -451,6 +446,22 @@ Replace `<output of nproc>` with the number that the `nproc` command returned.
|
|||||||
|
|
||||||
`nproc` is not available on macOS. The alternative is `sysctl -n hw.ncpu` ([relevant Stack Overflow thread](https://stackoverflow.com/questions/1715580)).
|
`nproc` is not available on macOS. The alternative is `sysctl -n hw.ncpu` ([relevant Stack Overflow thread](https://stackoverflow.com/questions/1715580)).
|
||||||
|
|
||||||
|
## Compare ROM to the original
|
||||||
|
|
||||||
|
For contributing, or if you'd simply like to verify that your ROM is identical to the original game, run:
|
||||||
|
```bash
|
||||||
|
make compare
|
||||||
|
```
|
||||||
|
If it matches, you will see the following at the end of the output:
|
||||||
|
```bash
|
||||||
|
pokeemerald.gba: OK
|
||||||
|
```
|
||||||
|
If there are any changes from the original game, you will instead see:
|
||||||
|
```bash
|
||||||
|
pokeemerald.gba: FAILED
|
||||||
|
shasum: WARNING: 1 computed checksum did NOT match
|
||||||
|
```
|
||||||
|
|
||||||
## devkitARM's C compiler
|
## devkitARM's C compiler
|
||||||
|
|
||||||
This project supports the `arm-none-eabi-gcc` compiler included with devkitARM. If devkitARM (a.k.a. gba-dev) has already been installed as part of the platform-specific instructions, simply run:
|
This project supports the `arm-none-eabi-gcc` compiler included with devkitARM. If devkitARM (a.k.a. gba-dev) has already been installed as part of the platform-specific instructions, simply run:
|
||||||
|
Loading…
Reference in New Issue
Block a user