Question How To Create .NRO File With Python

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by chalupabatman, Sep 14, 2018.

  1. chalupabatman
    OP

    chalupabatman GBAtemp Regular

    Member
    2
    Nov 21, 2016
    United States
    I am pretty sufficient with python and was wanting to know how to create a switch .nro file from python?
     
  2. jjbredesen

    jjbredesen WarezNX Owner

    Member
    13
    GBAtemp Patron
    jjbredesen is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Feb 16, 2018
    Norway
    Hyrule
  3. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    22
    Oct 27, 2002
    France
    Engine room, learning
    I guess the answer means : you don't need to compile a python program to nro format because there's a python interpreter for the Nintendo Switch.


    If you want to compile a homebrew to nro format using python, that would be harder. it would require a development environment like devkitpro is doing to compile c/c++ to nro format. using python as compiler/linker to compile python sources, I know it's possible for ARM processors, no idea for switch chipsets. you'll have to learn how Tegra is working, and create a tool to convert python to native tegra language.
     
    Last edited by Cyan, Sep 15, 2018
Loading...