Dataminers have recently uncovered information regarding to the soon-to-be-released Super Mario 3D All-Stars collection that suggests all three games are actually being emulated — which isn't really a big deal, but it is definitely interesting to see.
Super Mario 3D All-Stars is including the original Super Mario 64, Super Mario Sunshine, and Super Mario Galaxy in one convenient bundle that gives players the chance to experience three of the most critically acclaimed titles in the long-running Super Mario Bros. series.
According to the information leaked online, Super Mario Sunshine and Super Mario Galaxy would actually be running on Nintendo GameCube and Nintendo Wii emulators, respectively, called "hagi" — which has been theorised would've been made by Nintendo of Europe division NERD.
Super Mario Galaxy, in particular, seems to be using the game's original code that has been recompiled in order to run natively on the Nintendo Switch's CPU, and here's where things get even more interesting, as the GPU and audio are actually running on the emulator.
Super Mario 64 is also running on a Nintendo 64 emulator, although the emulator itself has still to be identified. It has also been revealed that references to other Nintendo 64 games can be found within the collection's code.
Other users have found that these references could be leftovers from the emulator used on the Nintendo Wii U's Virtual Console; suggesting that Nintendo has opted to use the same emulator to run Super Mario 64 as part of the Super Mario 3D All-Stars collection.
Galaxy in particular is really interesting. It appears they recompiled the original code to run natively on the Switch CPU, but everything else (GPU/Audio) is running in the emulator.
— OatmealDome (@OatmealDome) September 15, 2020
Interesting trick!
Other minor tidbits...
— OatmealDome (@OatmealDome) September 15, 2020
The project codename might be "Stardust". There also might be a sub-codename for Galaxy - "Shigeru".
The menu that lets you choose games is made with LunchPack (engine used by Splatoon / Mario Maker / Animal Crossing).
There is a tweet going around saying that there are references to other Nintendo 64 games in the 3D All Stars N64 emulator. These references *do* exist, but they could just be leftovers from the Wii U Virtual Console.
— OatmealDome (@OatmealDome) September 15, 2020
Don't read too much into them. https://t.co/CPt9o7TFhe
Three Mario adventures in one collection jumps on to Nintendo Switch! With HD visuals, take Super Mario 64, Super Mario Sunshine, and Super Mario Galaxy on the go in Super Mario 3D All-Stars. The collection arrives September 18 as a limited release until the end of March 2021.
Super Mario 3D All-Stars releases for the Nintendo Switch, for a limited time, on Friday the 18th of September.