Skip to content
PORTSNATIVE.
HomeCatalog
Web GamesEmulatorsToolsNews
PORTSNATIVE.

A catalog for discovering ports and related projects. We link to official sources and do not host original game files.

ExploreCatalogMy list
InformationAbout usSuggest a portSupportDonationsLegal notice
© 2026 PortsNative
Back to catalog
Super Mario 64 (libsm64-sharp)
PORTSNATIVE

Super Mario 64 (libsm64-sharp)

NATIVE PORTADVENTURE / SANDBOXWINDOWSALPHA

Super Mario 64 (libsm64-sharp)

Super Mario 64

TechnologyNative C/C++ port (engine reimplementation)

Available forWindows

View official project

About the project

Super Mario 64 es un videojuego de plataformas desarrollado y publicado por Nintendo para la Nintendo 64. Es la primera entrega de Super Mario en mostrar gráficos 3D, que combina la mecánica tradicional de la franquicia, su estilo visual y sus personajes en un amplio mundo abierto. En la historia, Bowser invade el castillo de la Princesa Peach, la secuestra y esconde las Estrellas de Poder en diferentes mundos situados dentro de cuadros mágicos. En el papel de Mario, el jugador recorre los niveles y recoge las estrellas para desbloquear zonas, llegar hasta Bowser y rescatar a Peach.

16 versions of Super Mario 64

You're viewing: Super Mario 64 (libsm64-sharp)

Super Mario 64 (libsm64-sharp)github.com/MeltyPlayer/libsm64-sharp
Windows
Current
Infinite Mario 64 (Ever)github.com/Brawmario/infinite-mario-64-ever
Windows
Linux
macOS
›
sm64coopdx (Super Mario 64 online)github.com/coop-deluxe/sm64coopdx
Windows
Linux
macOS
›
Super Mario 64github.com/sm64-port/sm64-port
Windows
›
Ghostshipgithub.com/HarbourMasters/Ghostship
Windows
Linux
macOS
Android
iOS
›
Ghostship (Android)github.com/izzy2lost/Ghostship
Android
›
sm64 wasm · Web (sm64-wasm)github.com/sm64-wasm/sm64-wasm
Web
›
sm64coopdx (Android)github.com/ManIsCat2/sm64coopdx
Android
›
sm64coopdx (Switch)github.com/ArcheSV/sm64coopdx-switch
To be confirmed
›
sm64exgithub.com/sm64pc/sm64ex
Windows
Linux
macOS
›
SM64Plusgithub.com/MorsGames/sm64plus
Windows
Linux
›
Super Mario 64 (libsm64-godot)github.com/Brawmario/libsm64-godot
Windows
›
Super Mario 64 (libsm64-rust)github.com/nickmass/libsm64-rust
Windows
›
Super Mario 64 (PSP)github.com/JustKidding23/SM64-PSP
To be confirmed
›
Super Mario 64 (SM64-PC-Port-WebGL)github.com/NotAn127/SM64-PC-Port-WebGL
Windows
›
Super Mario 64 (web)github.com/lwllac/sm64
Web
›

Official project information

Author's original READMEOpen on GitHub ↗

libsm64 - C# Bindings

Nuget Nuget

Overview

C# bindings for libsm64.

This library provides both:

  • A high-level C# object-oriented layer for safely calling the libsm64 methods.
  • A low-level interop layer for calling libsm64-ext's methods directly.

Credits

  • libsm64, the original C library that provides this functionality.
  • libsm64-unity, which I shamelessly copied the core interop code from.
  • Quad64, which I shamelessly copied into this project to load levels.

Installation via NuGet

To install libsm64-sharp, run the following command in the Package Manager Console:

Install-Package libsm64-sharp

Usage

High-level

For a simpler experience working with libsm64, you can use the high-level API. Its entrypoint is the Sm64Context class, which provides a more standard C# API for working with libsm64.

A context must be created from a Super Mario 64 ROM in order to load texture and audio data, like so:

var romBytes = File.ReadAllBytes("Super_Mario_64_(US).z64");
var sm64Context = Sm64Context.InitFromRom(romBytes);

Note: The ROM used must be the US version in the Z64 format (i.e. big-endian). To verify if your ROM is correct, make sure its MD5 hash is 20b854b239203baf6c961b850a4a51a2.

For a full example, refer to this repository's Demo Project.

Low-level

For direct access to libsm64, you can use the low-level API. This can be accessed via the LibSm64Interop class, which exposes static methods that call the C library.

For a full example, refer to how Sm64Context calls these interop methods within LibSm64Sharp.

Read official guide
CALIFICACIÓN
—
Loading votes…
Advertisement

PROJECT FILE

Project type
NATIVE PORT
Genre
Adventure / Sandbox
Status
alpha
Original platform
—
Technology
Native C/C++ port (engine reimplementation)
Version
—
Updated
—

Target platforms 1

Windows
View on GitHub
Advertisement