Don't take all these comments as an insult, really; but this is a very quick way to break your n64.
Those pins are sooo weak, I can literally pull them off with my fingernail. Sure, you can do it this way, but just think 3 months down the line when you're playing it and it gets hot enough to melt the hot glue, and the 3.3v and 12v cart lines bridge, Your portables dead.
Please, save yourself a lot of time and stress and just do it the old fashioned way, it's not hard at all.