Mario Kart 64: Recompiled
What you need: A ROM of Mario Kart 64 dumped from your own copy of the game. See the project's own page for the versions it supports.
Mario Kart 64: Recompiled is a native PC port of Mario Kart 64 made with N64: Recompiled, which translates the game’s machine code into C automatically. It is drawn with the RT64 renderer.
It supports widescreen and ultrawide, high resolutions and high frame rates, and modern controllers.
The download contains no Nintendo data. It asks for a ROM dumped from your own copy of the game.