devkitARM Installer for Linux/OSX

Introduction

If you want to do any development for the Nintendo DS, you need to either license the Nitro SDK from Nintendo, (and fulfill all of their arbitrary requirements, like having previously published a game) or you can download the open source devkitARM and libnds.

There is currently only an official installer for Windows. It will get the latest version of all of the various packages in a nice GUI. If you’re not on Windows, you must follow a set of instructions involving downloading and untarring several files. This is a big pain since each file has its own version scheme, you must untar the files in the correct places, and if you miss a package you lose some functionality.

To alleviate these problems, I’ve written the following Perl script to take care of:

Dependencies

To make my life easier, I used some third-party Perl libraries to take care of reading the devkitProUpdate.ini file, untarring the files, and running downloads in parallel. These libraries can be obtained from CPAN by either going to their respective pages and downloading them, or by using the following commands:

If you don’t have cpan, you’ll have to download the libraries yourself. If you do have cpan, but can’t use it because you don’t have root access, you can set up cpan to work in your home directory.

Download

To Do

Note: Unless there’s a big push for it, I probably won’t get around to finishing off the Windows stuff, since there already is a Windows installer.

Comments