Convert Nintendo Switch executable files to ELFs
- Does not handle 32bit files.
- Input files contain 3 segments, divided by memory protection type. This tool attempts to derive original ELF sections which were merged into these 3 segments. For simplicity, this currently results in sections which overlap the main 3 segments, since they reside within their bounds. Tools like IDA will complain about this, but it shouldn't actually result in any problems. File an issue if it does.
This fork contains the following differences from the original version by shuffle2:
- Add support for x32 systems
- Export NsoToElf function so that external callers can specify both the input and output paths