Project generator for Nintendo Switch homebrews.
Features
Generate a libnx (C++) project using nxstart libnx
Generate a libtransistor (C) project using nxstart libt
Generate a BrewJS (Javascript) project using nxstart brewjs
Generate a PyNX (Python) project using nxstart pynx
Installation
Install from PyPi using pip, a package manager for Python.
$ pip install nxstart
Don’t have pip installed? Try installing it, by running this from the command line:
$ curl https://bootstrap.pypa.io/get-pip.py | python
Or, you can download the source code for nxstart and then run:
$ python setup.py install
You may need to run the above commands with sudo.
Generating a libnx (C++) project
Run nxstart libnx. 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 generated:
project
│ .editorconfig
│ .gitignore
│ CMakeLists.txt // Only if you use CLion
│ Makefile
│ icon.jpg
│ README.md
│
└───data
│
└───include
│
└───source
│ main.cpp // Your main application file
Generating a libtransistor (C) project
Run nxstart libt. 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 generated:
project
│ .editorconfig
│ .gitignore
│ CMakeLists.txt // Only if you use CLion
│ main.c
│ Makefile
│ icon.jpg
│ README.md
│
Generating a BrewJS (Javascript) project
Run nxstart brewjs. It will ask for a project name, author name. The following project structure will be generated:
project
│ .editorconfig
│ .gitignore
│ package.json
│ Source.js // Your main application file
│ README.md
│
└───assets
│
Generating a PyNX (Python) project
Run nxstart pynx. It will ask for a project name, author name. The following project structure will be generated:
project
│ .editorconfig
│ .gitignore
│ main.py // Your main application file
│ README.md
│
Skip prompts
To skip the prompts, provide the necessary flags. For example:
$ nxstart -n "My new project" -a "John Doe" libnx --clion
Or if you don’t use CLion:
$ nxstart -n "My new project" -a "John Doe" libnx --no-clion
Running tests
Tests can be run with the pytest command. If you are contributing code, make sure all tests are green before submitting a PR.
Release files for nxstart 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nxstart-1.1.3.tar.gz | 47.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nxstart-1.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 105.3 kB
Release files / nxstart-1.1.3.tar.gz
| Download URL | nxstart-1.1.3.tar.gz |
|---|---|
| Size | 47.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b838e57a060101a383e9007f70471c33daec6d903363750e209c05d82dec8cc8
|
|
BLAKE2b-256 checksum How to use checksums |
3668abb1729c63d800566ffb81a7b040547fbb76a5baa116cfee9b26d5aaf1e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.6
|
Release files / nxstart-1.1.3-py3-none-any.whl
| Download URL | nxstart-1.1.3-py3-none-any.whl |
|---|---|
| Size | 57.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
263aa7fd055ea51acec3b1b4736efaba40ea3f103af7062104546ec087bb584b
|
|
BLAKE2b-256 checksum How to use checksums |
31f286270386094583c68f28aa82b8cfcc943f597f4ed1bb73840d640f360d60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.6
|