Giter Site home page Giter Site logo

tricksterguy / switch-template Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 23 KB

Template Project for Code::Blocks for developing nintendo switch homebrew

License: MIT License

Makefile 89.37% C++ 10.63%
nintendo nintendo-switch nintendo-switch-homebrew codeblocks-ide devkitpro switch-template

switch-template's Introduction

switch-template

A starter template for various Switch homebrew applications. This template is geared specifically towards the Code::Blocks IDE. This template can also be used without Code::Blocks just use the Makefile and directory structure provided.

This is designed to be a simple and fairly minimal setup required to begin developing homebrew for the Nintendo switch system.

Usage

Targets Action
nro Builds <project name>.nro.
nso Builds <project name>.nso. 1
nsp Builds <project name>.nsp. 1
elf Builds <project name>.elf.
nxlink Builds <project name>.nro and runs nxlink to send to hbmenu. 2
yuzu Builds <project name>.nro or <project name>.nso and runs the Yuzu Nintendo Switch Emulator. 3

Simply select your build target and click the Gear/Build button and the target will run from the Makefile.

Notes:

  • 1 This requires setting up the APP's json file which should be located in RESOURCES/config.json
  • 2 This requires setting up your switch's ip address in the Makefile
  • 2 This requires having yuzu findable in your PATH environment variable`

Setting up devkitPro

Code::Blocks Setup

  1. Simply open switch-template.cbp in Code::Blocks
  2. Choose File > Save as user-template and enter a template name. The project setup is now a user template to create new projects.
  3. When creating a new project select File > New > From template and follow the wizard's instructions.
  4. Ensure you have the environment variables plugin installed (in linux you can install this by installing the codeblocks-contrib package). Alternatively if you already have set DEVKITPRO/DEVKITARM Environment variables set you can skip this.
    1. Choose Settings > Environment and scroll down to the Environment Variables section.
      1. Add DEVKITPRO and point it to where devkitpro is installed
      2. Add DEVKITARM and point it to where devkitarm is.

Creating a new project

  1. Make a new Code::Blocks project via a user-template you just created above. Or simply copy this directory.

switch-template's People

Contributors

tricksterguy avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.