The repository switch-ptchtxt-mods is a collection of "patch text" files designed to modify Nintendo Switch games, primarily used to enhance performance or visual quality (like 60 FPS or ultrawide support) on emulators like or through custom firmware on the console itself.
Suppose you find an instruction at 0x123456 that subtracts health ( SUB w0, w0, #1 – byte pattern 4F 05 00 11 ). You want to change it to NOP ( 1F 20 03 D5 ). Your .pchtxt would be: switch-ptchtxt-mods