diff --git a/wiki/modding/quest-mod-dev-intro.md b/wiki/modding/quest-mod-dev-intro.md index 118a8e61e..1804c4bdb 100644 --- a/wiki/modding/quest-mod-dev-intro.md +++ b/wiki/modding/quest-mod-dev-intro.md @@ -37,16 +37,28 @@ The following pieces of software are needed to follow this guide. ### QPM Rust -[Download the latest QPM Rust binary for your system](https://github.com/RedBrumbler/QuestPackageManager-Rust) from the +[Download the latest QPM Rust binary for your system](https://github.com/QuestPackageManager/QPM.CLI) from the Actions tab and add it to your PATH variable. +Windows users may use the installer instead. + ### Ninja +#### QPM-Rust v2 +`qpm-rust download ninja`, which will download `ninja` and place it within the same folder `qpm-rust` resides in. + +#### Old method + [Download the latest Ninja binary for your system](https://github.com/ninja-build/ninja/releases) from the Releases tab and add it to your PATH variable. ### Templatr +#### QPM-Rust v2 +QPM-Rust v2 now bundles `templatr` within itself, and can be invoked through `qpm-rust templatr`. + +#### Standalone + You can download the [latest release here.](https://github.com/QuestPackageManager/templatr/actions) Click the most recent build, than scroll down and download the artifact for your OS. @@ -61,8 +73,21 @@ To check if `templatr` was installed, run the help command in Powershell. templatr --help ``` +### CMake +CMake is generally easy to install on any OS it supports. Windows has installers and Linux through package repositories. However, QPM-Rust also allows for installing CMake and adding it to path automatically. + +`qpm-rust download cmake` (May possibly not work on Linux or Mac) + ### Android NDK +#### QPM-Rust v2 +QPM-Rust v2 supports downloading and listing available NDK archives for your current OS. See `qpm-rust ndk` for more details. + +Example: +`qpm-rust ndk download 25.1.8937393` + +#### Manual + [Download the Android NDK](https://developer.android.com/ndk), unzip it and add it to your PATH variable. ## Create a Project @@ -71,7 +96,7 @@ Once you have setup your environment you can now generate a mod template. The te [Lauriethefish](https://github.com/Lauriethefish/quest-mod-template). To start run the following command in Powershell. ```powershell -templatr use Lauriethefish/quest-mod-template +[qpm-rust] templatr use Lauriethefish/quest-mod-template ``` Templatr will then ask a series of questions to create a mod project. @@ -104,7 +129,7 @@ In a Powershell terminal in the project directory run: qpm-rust restore ``` -### Migrate from qpm to qpm-rust +### Migrate from qpm to qpm-rust (No longer required) If you had an install of qpm before following this guide and want to migrate to qpm-rust, you will need to fix the cache paths for old dependencies (such as codegen before Beat Saber version 1.17.0) by running the following command in the project directory.