The Libsm64 project has released a shared library that extracts and packages the movement and rendering code from the Super Mario 64 decompilation project. This library is designed to allow developers to easily incorporate Mario's in-game mechanics into external game engines or other software systems. The core functionality is provided through a clean interface defined in libsm64.h.
To function, Libsm64 requires an official Super Mario 64 ROM. The library loads this ROM at runtime to extract necessary assets such as textures and animation data. This approach means that any project utilizing Libsm64 must prompt its users to supply a valid SM64 ROM for asset extraction, ensuring compliance with copyright by not distributing proprietary assets.
The project supports integration with various development environments through a range of bindings and add-ons. These include Rust bindings, Odin bindings, C# bindings, a Unity plugin, a Blender add-on, a Godot add-on, a Game Maker 8 extension, and Unity MelonLoader and BepInEx mods. A minimal example project is also available to demonstrate library usage.
Building the library involves standard make commands, with specific instructions provided for different operating systems and environments like MSYS2 MinGW 64 and WebAssembly. For testing, users need to place a US region SM64 ROM named baserom.us.z64 in the repository's root directory. The project also outlines dependencies for building the test program, such as SDL2 and GLEW libraries.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
The Libsm64 project provides a shared library that encapsulates the movement and rendering code from Super Mario 64, allowing developers to integrate Mario's mechanics into other game engines. This library loads assets from an official SM64 ROM at runtime, requiring users to provide the ROM for asset extraction. The project aims to simplify the process of using Mario's core functionalities in new contexts.