Swaps .n64, .v64 and .z64 roms. Written in Python 3. You must install numpy via e.g. pip. Code is kinda messy.
numpy
n64swap.py [-h] input output
.z64 is the correct format and should be used. This handy table shows the difference:
.z64
SUPER MARIO 64
USEP RAMIR O64
EPUSAM R OIR 46
(Note that there are two spaces after both "64", they don't seem to show up here.)