diff --git a/README.md b/README.md index 96a27fd..4ebe983 100644 --- a/README.md +++ b/README.md @@ -17,10 +17,10 @@ Here is a brief explanation for each of the (sub)directories in this repository: While it's usually recommended to stay on the QuakeC version provided with your build of NZ:P, you may want to update it to the current development builds to test new features and changes. To do this, navigate to the [Releases](https://github.com/nzp-team/quakec/releases/tag/bleeding-edge) page and follow the instructions there for downloading and installing. ## Building (Beginner Friendly) -There are no prerequisites or dependancies needed to build QuakeC other than a working Windows or Linux-based machine (MacOS is **not** natively supported, but you can use [WINE](https://www.winehq.org/)). +There are no prerequisites or dependancies needed to build QuakeC other than a working Windows, MacOS, or Linux-based machine. Before you can build the NZ:P QuakeC, you must either [download](https://github.com/nzp-team/quakec/archive/refs/heads/main.zip) this repository (easy) or [clone it](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository) (for developers). To build, simply navigate to the `tools` directory and run the `qc-compiler-*` script for your platform. If unfamiliar with executing shell (`.sh`) scripts on Linux systems, give this [itsFOSS article](https://itsfoss.com/run-shell-script-linux/) a read. -After having done this, a `build` directory will have been created, and inside of it will be more directories named after every platform. Copy the contents of the platform directories into your `nzp` game directory. (Example: For PSP, copy `progs.dat` and `progs.lno` from `build/handheld` to `PSP/GAME/nzportable/nzp`). \ No newline at end of file +After having done this, a `build` directory will have been created, and inside of it will be more directories named after every platform. Copy the contents of the platform directories into your `nzp` game directory. (Example: For PSP, copy `progs.dat` and `progs.lno` from `standard/handheld` to `PSP/GAME/nzportable/nzp`). \ No newline at end of file diff --git a/bin/fteqcc-cli-mac b/bin/fteqcc-cli-mac new file mode 100755 index 0000000..1234e43 Binary files /dev/null and b/bin/fteqcc-cli-mac differ diff --git a/tools/qc-compiler-mac.sh b/tools/qc-compiler-mac.sh new file mode 100755 index 0000000..2b0b264 --- /dev/null +++ b/tools/qc-compiler-mac.sh @@ -0,0 +1,24 @@ +#!/usr/bin/env bash + +cd ../ +# create build directories +mkdir -p build/{fte,standard} +cd bin/ +echo "" +echo "========================" +echo " compiling FTE CCQC " +echo "========================" +echo "" +./fteqcc-cli-mac -srcfile ../progs/fte-client.src +echo "" +echo "========================" +echo " compiling FTE SSQC " +echo "========================" +echo "" +./fteqcc-cli-mac -srcfile ../progs/fte-server.src +echo "" +echo "========================" +echo " compiling STANDARD QC " +echo "========================" +echo "" +./fteqcc-cli-mac -O2 -srcfile ../progs/standard.src