Terraria and Celeste in the Browser: An Impossible Feat

2025-05-29

This article details the author's and their team's thrilling journey of porting the C# games Terraria and Celeste to WebAssembly. They overcame numerous challenges, including decompilation, integrating WebAssembly with native C++ components, limitations in .NET runtime's support for multithreading and cryptographic algorithms, and compatibility issues with FNA and FMOD engines. Ultimately, they not only successfully ran the games but also implemented the Everest mod loader and enabled online multiplayer, a true technical marvel.

Game