How to build almost ANY switch CFW or Homebrew app

Guide was designed for Windows 10 but should work on eariler Windows versions as well.
Download this: https://github.com/devkitPro/installer/releases
select "Download and install" and "remove downloaded files". select everything when it asks what you want installed. Default install location is recommended. This can take a while.
download this: https://cygwin.com/
make sure you get the one for your system architype. Choose "Download from Internet". Choose "all users". Use system proxy. Use the first mirror. Leave default packages. Uncheck Start Menu and Desktop Icon.
Search "edit the system enivorment variables" in the windows search
click enivorment variables
Under system variables look for "Path"
click edit then new and paste in C:\devkitPro\devkitA64\bin (or where you installed DevKitPro)
click Edit Text and put a ; then the same C:\devkitPro\devkitA64\bin (or where you installed DevKitPro) and then another ; at the end
go to https://github.com/switchbrew/libnx and download the source to the desktop and unzip (libnx-master folder should be on desktop now)
open CMD and CD to the directory of libnx-master folder (Should be on desktop)
now do "make install"
once it is done (may take a while) close that CMD
Open a new CMD window and do:
(these should be executed one at a time and if it asks for confirmation Type "Y")
pacman -S switch-sdl2_mixer
pacman -S switch-sdl2_image
pacman -S switch-sdl2_gfx
pacman -S switch-sdl2_ttf
download the source code of a switch CFW or NRO (for example FreeShopNX). Unzip and put the folder on the desktop. Open CMD and CD to the folder location. then do "Make". All the extracted files will be in the master folder or out folder in the master folder.
This will not work for everything but should work for most.
Guide by Daigan#9999 on Discord and Daigan on GBATemp
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Sonic Angel Knight @ Sonic Angel Knight: @_@