Homebrew WIP nx-start - Nintendo Switch homebrew project generator

roedesh

Member
OP
Newcomer
Joined
May 25, 2018
Messages
12
Trophies
0
Age
31
XP
233
Country
Netherlands
nx-start is a command-line utility, written in Python, for easily generating a new Nintendo Switch homebrew project. Basically it allows you to setup a new libnx project using a single command. When executed, it will ask the user for the project name and author name. Then it simply copies a template folder to the current location and replaces some placeholders with the project and author names.

Support for PyNX and BrewJS will be added as well. Also I would like to create a "best practices" project template for this tool, so if you find any things that need to be changed, feel free to open a PR :)

Note: this tool will NOT install devkitPro or libnx

Installation

If you already have Python and pip installed, all you need to do is run:
Code:
pip install nxstart

Getting started

To create a C/C++ libnx project simply run
Code:
nxstart cpp
It will ask for a project name, author name and if you are using CLion (IDE by Jetbrains). If you say yes to CLion, CMakeLists.txt will be included.

The following project structure will be created:
Code:
project
│   CMakeLists.txt  // Only if you use CLion
│   Makefile       
│   icon.jpg
│   README.md
│
└───data
│   
└───include
│
└───source
   │   main.cpp    // Your main application file

To skip the prompts, provide the necessary flags. For example:
Code:
nxstart -n "My new project" -a "John Doe" cpp --clion

Or if you don't use CLion:
Code:
nxstart -n "My new project" -a "John Doe" cpp --no-clion

Quick Links

I would post links here, but I can't use hyperlinks yet. For the source files, search for nxstart by roedesh on GitHub.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=A0FyqCEfD0E