Libsm64: Integrating Mario 64 Physics and Rendering into External Game Engines

Libsm64: Mario 64 as a library for use in external game engines

I created Libsm64 to provide a clean interface for Super Mario 64 movement and rendering code, allowing developers to drop Mario into existing game engines with minimal effort. This shared library loads an official ROM at runtime to access textures and animations, supporting various platforms and bindings for tools like Unity, Blender, and Godot.

The purpose of this project is to provide a clean interface to the movement and rendering code which was reversed from SM64 by the SM64 decompilation project, so that Mario can be dropped in to existing game engines or other systems with minimal effort.
  1. schmeichel

    This is one of my favorite libraries from the premise alone. Here is an example of Mario in Half-Life 2: https://www.youtube.com/watch?v=Ld3qhqkegNw

  2. pizzathyme

    This is incredible. This was the promise of the proclamations of "the metaverse" or interchangeable crypto game items/characters, but is using none of those things. Like Ready Player One come to life without the hype.

    Curious how easy the setup is for gamers who are non-engineers

  3. dev0p

    Wrap it in an API, sell Mario 64 as a service.

    (@Nintendo: this is a joke, you can put down the rifle)

More from this day

2026-07-27