1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-10 19:20:13 +00:00

Minor README updates and cleanup (#1066)

* Update README for Windows 11 and distro version

* Improve naming consistency in the README
This commit is contained in:
Roman971 2021-12-06 18:53:32 +01:00 committed by GitHub
parent a9284494f2
commit a9b257c0a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,9 +41,9 @@ It builds the following ROM:
### Windows ### Windows
For Windows 10, install WSL and a distribution by following this For Windows 10 or 11, install WSL and a distribution by following this
[Windows Subsystem for Linux Installation Guide](https://docs.microsoft.com/en-us/windows/wsl/install-win10). [WSL Installation Guide](https://docs.microsoft.com/en-us/windows/wsl/install).
We recommend using Debian or Ubuntu 18.04 Linux distributions. We recommend using Debian or Ubuntu 20.04 Linux distributions.
For older versions of Windows, install a Linux VM or refer to either [Cygwin](#Cygwin) or [Docker](#Docker) instructions. For older versions of Windows, install a Linux VM or refer to either [Cygwin](#Cygwin) or [Docker](#Docker) instructions.
@ -67,7 +67,7 @@ brew install coreutils make python3 md5sha1sum libpng
You'll also need to [build and install mips-linux-binutils](docs/BUILDING_BINUTILS_MACOS.md). You'll also need to [build and install mips-linux-binutils](docs/BUILDING_BINUTILS_MACOS.md).
Going forward in this guide, please use `gmake` whenever you encounter a `make` command. Going forward in this guide, please use `gmake` whenever you encounter a `make` command.
The `make` that comes with MacOS behaves differently than GNU make and is incompatible with this project. The `make` that comes with macOS behaves differently than GNU make and is incompatible with this project.
You should now be able to continue from [step 2](#2-clone-the-repository) of the Linux instructions. You should now be able to continue from [step 2](#2-clone-the-repository) of the Linux instructions.
@ -139,6 +139,7 @@ md5sum: WARNING: 1 computed checksum did NOT match
This means that the built ROM isn't the same as the base one, so something went wrong or some part of the code doesn't match. This means that the built ROM isn't the same as the base one, so something went wrong or some part of the code doesn't match.
**NOTE:** to speed up the build, you can either: **NOTE:** to speed up the build, you can either:
* pass `-jN` to `make setup` and `make`, where N is the number of threads to use in the build. The generally-accepted wisdom is to use the number of virtual cores your computer has. * pass `-jN` to `make setup` and `make`, where N is the number of threads to use in the build. The generally-accepted wisdom is to use the number of virtual cores your computer has.
* pass `-j` to `make setup` and `make`, to use as many threads as possible, but beware that this can use too much memory on lower-end systems. * pass `-j` to `make setup` and `make`, to use as many threads as possible, but beware that this can use too much memory on lower-end systems.
@ -176,7 +177,7 @@ To use Docker, you'll need either Docker Desktop or Docker Toolbox installed and
You'll also need to prepare a local version of the project with a copied base ROM (see steps [2](#2-clone-the-repository) and [3](#3-prepare-a-base-rom) of the Linux instructions). You'll also need to prepare a local version of the project with a copied base ROM (see steps [2](#2-clone-the-repository) and [3](#3-prepare-a-base-rom) of the Linux instructions).
#### 2. Create the docker image #### 2. Create the Docker image
From inside your local project, run the following command: From inside your local project, run the following command:
@ -186,7 +187,7 @@ docker build . -t oot
#### 3. Start the container #### 3. Start the container
To start the container, you can mount your local filesystem into the docker container and run an interactive bash session. To start the container, you can mount your local filesystem into the Docker container and run an interactive bash session.
```bash ```bash
docker run -it --rm --mount type=bind,source="$(pwd)",destination=/oot oot /bin/bash docker run -it --rm --mount type=bind,source="$(pwd)",destination=/oot oot /bin/bash