Portal Mario 64 combines two of gaming’s most highly revered games by introducing a fully functional Portal Gun into Super Mario 64!
Portal Mario 64 is a remarkable fan made Super Mario 64 rom hack that allows players to get up to all kinds of game breaking mischief with a Portal Gun. The rom allows you to play through the entirety of Super Mario 64 with the ability to spawn and use portals anywhere. The portals work much like they do in the Portal games, with you able to fire two different coloured portals and then walk/jump into them to instantly teleport between the two.
Please continue with the following description in freegameplanet
Here´s gameplay video by Kaze Emanuar
Note -Recommended Emulator for N64 (Project64 v2.3.2)