It is important to distinguish (a software utility) from a "patched" Nintendo Switch . A "patched" console refers to a hardware revision (v2, Lite, or OLED) that fixed the original "Fusée Gelée" exploit, making it impossible to run homebrew without a hardware modchip.
It can convert entire directories of binaries at once. Alternative Context: "Patched" Consoles
It handles both compressed and uncompressed NSO variants. nx2elf patched
How to patch Nintendo Switch Applications in IDA - GitHub Gist
Relocatable files typically used for homebrew applications. It is important to distinguish (a software utility)
Extracting the "main" NSO from a game using tools like HACTool or NxFileViewer. Conversion: Running nx2elf to turn that NSO into an ELF.
Converting the "patched" ELF back into an NSO to be used by the Switch. Key Features of nx2elf Conversion: Running nx2elf to turn that NSO into an ELF
For more information on getting started with Switch modifications, you can check community hubs like GBAtemp or the SwitchBrew Wiki .
Loading the ELF into a disassembler (like IDA Pro), locating the specific function to change, and applying the "patch" (modifying the raw bytes).