Place Paper Mario (U) (named baserom.z64) in the root directory, build n64split, and run:
n64split
./splitrom.sh