Skip to main content

Nintendo Switch homebrew project generator

Project description

Project generator for Nintendo Switch homebrews.

https://travis-ci.org/roedesh/nxstart.svg?branch=master Requirements Status

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nxstart-1.1.3.tar.gz (47.4 kB view details)

Uploaded Source

Built Distribution

nxstart-1.1.3-py3-none-any.whl (57.9 kB view details)

Uploaded Python 3

File details

Details for the file nxstart-1.1.3.tar.gz.

File metadata

  • Download URL: nxstart-1.1.3.tar.gz
  • Upload date:
  • Size: 47.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for nxstart-1.1.3.tar.gz
Algorithm Hash digest
SHA256 b838e57a060101a383e9007f70471c33daec6d903363750e209c05d82dec8cc8
MD5 c56115f4edd8f6537ae09e2e9eed6f96
BLAKE2b-256 3668abb1729c63d800566ffb81a7b040547fbb76a5baa116cfee9b26d5aaf1e3

See more details on using hashes here.

File details

Details for the file nxstart-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: nxstart-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 57.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for nxstart-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 263aa7fd055ea51acec3b1b4736efaba40ea3f103af7062104546ec087bb584b
MD5 2a92a12e8920fb96f0c26e88ac38a3b6
BLAKE2b-256 31f286270386094583c68f28aa82b8cfcc943f597f4ed1bb73840d640f360d60

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page