Using MAME

Before anything

You need to convert them with ddconvert to be able to play them on MAME.
https://github.com/Happy-yappH/ddconvert
You can download the Windows binary in the Downloads page.

If you have GCC, just do gcc ddconvert.c. It works on any OS.
It makes an executable named “a” (with the proper extension on Windows).

Use a Command Line Interface and convert the dumps like this:
ddconvert [Original Dump File Path] [Converted Dump File Path]

Replace the respectives [ ] with what it asks (without the [ ] ).

Play on MAME

Download the latest version of MAME.
Install it, and then get n64.zip and n64dd.zip ROMS.
Put those zips in “roms” folder (you don’t need to extract anything, just put the zips).

Then, with a Command Line Interface (or a batch file):