Windows
The following instructions describe how to install BlocksDS on Windows natively. If you want to use it in WSL, follow the instructions for Linux instead.
-
You will need to install the ARM toolchain of Wonderful Toolchains. Follow the instructions in this link: https://wonderful.asie.pl/docs/getting-started/#windows-via-msys2
-
Install the ARM toolchain of Wonderful Toolchain:
wf-pacman -Syu wf-pacman -S toolchain-gcc-arm-none-eabi
Now, install BlocksDS itself. For the latest stable version of BlocksDS, run:
wf-pacman -S thirdparty-blocksds-toolchain
To install the documentation and examples you can install:
wf-pacman -S thirdparty-blocksds-docs
For the latest unstable version, install the following packages instead of the previous ones:
wf-pacman -S thirdparty-blocksds-git-toolchain \ thirdparty-blocksds-git-docs
-
(Optional step) You can also install some third party libraries like NightFox’s Lib and Nitro Engine using
wf-pacman
:wf-pacman -S thirdparty-blocksds-nflib \ thirdparty-blocksds-nitroengine
-
Whenever you need to update the SDK, run:
wf-pacman -Syu
-
Run Wonderful Toolchain Shell from the Start menu. This shell has predefined environment variables to ensure that BlocksDS projects can be built. If you don’t, the environment variable
BLOCKSDS
won’t be set to the right path. -
Now you can try to build one of the BlocksDS examples. They are available at path
/opt/wonderful/thirdparty/blocksds/core/examples/
. From there, for example, go tographics_3d/volumetric_shadow
and typemake
. This will generate a NDS ROM that you can try with an emulator or a flashcart.You can also try one of the open source projects made with BlocksDS that are listed here.