alt.hn

7/27/2026 at 10:04:48 AM

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

https://github.com/libsm64/libsm64

by klaussilveira

7/27/2026 at 11:31:21 AM

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

by schmeichel

7/27/2026 at 9:53:34 PM

Astounding that swimming and collisions and all that stuff seems to function!

Commenter explains how it works:

  I can see not enough people know how this addon works. Allow me to explain.

  It is a mod, but it was only possible with a plugin, it can be (with a bit of  tweaking) used for other games and already has been, for example rocket league, sonic generations, blender and minecraft. the way it works is that mario 64 is  running in the background so that the mario physics and gameplay functions work, but the actual character is invisible but the hitbox is still there, so that mario actually can be hit for example. with the plugin mario can pretty easily be put into any game, though some fixes might be needed at some times, for example in sonic generations for the rails to work, mario has to be disabled and sonic's control is taken over again so that "mario" can grind on rails.

  TD;LR: Basicilly this addon use libsm64 which contains original SM64 assets and ported into GMod. So yeah, it's not a recreation and that's also explain why you need a Mario 64 ROM (in z64 file format) to get this addon working.

by valgaze

7/27/2026 at 1:53:20 PM

How many Portal test chambers could be solved with Mario 64 jumping alone, and no use of any portal gun?

by Dwedit

7/27/2026 at 12:46:14 PM

That is amazing and it makes me smile

by PcChip

7/27/2026 at 5:33:03 PM

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

by pizzathyme

7/27/2026 at 8:45:00 PM

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

You're still writing a mod for whatever game, it's just that this library gives you an easy way to get the mario-jumping physics right. So unfortunately, non-programmers will probably have to wait for someone to insert mario into your game of choice, although this library will make that process a bit easier.

by bigfishrunning

7/28/2026 at 5:39:38 AM

Just ask Codex / Claude Code to do it for you :)

by yaportmax

7/27/2026 at 5:36:32 PM

Metaverse without Crypto/VR/Facebook is fantastic and is bound to happen.

Metaverse is just people building cool stuff in a way that builds and compounds.

Critically - hopefully - in a way that can't be owned as a central platform.

by echelon

7/27/2026 at 12:12:06 PM

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

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

by dev0p

7/27/2026 at 12:15:25 PM

I imagine Nintendo is a bit more like malfunctioning ED-209 in the office scene than a person with a rifle.

by thebruce87m

7/27/2026 at 2:25:01 PM

Nintendo did put down their rifles after they fired multiple shots into the head and then the sued.

by fhn

7/27/2026 at 2:36:38 PM

[dead]

by ddjdhhd

7/27/2026 at 11:08:23 AM

Looks like this has been around for a while now, are there any interesting projects using it?

Edit: https://github.com/SuperSonicHub1/awesome-libsm64

by Retr0id

7/27/2026 at 1:22:56 PM

Someone created an AR sandbox using it on the Quest 3. The player draws platforms and mario can jump around on the platforms and on your couch and stuff. That is probably the killer app of VR that everyone has waited for.

by cshores

7/27/2026 at 11:28:33 AM

So let me get this straight, is the intent of this so that if you have some game like Call of Duty, you could use this to just add Mario running around in there jumping around like it was SM64?

by deadbabe

7/27/2026 at 11:44:09 AM

It's specifically about the mechanics/physics rather than the model, but yes.

by guipsp

7/27/2026 at 8:21:39 PM

It has the vertices, the surfaces, the textures and the animations.

There's a minecraft mod too, you press m and f5, boom you're mario.

by tosti

7/27/2026 at 3:19:04 PM

I'd love the Perfect Dark recompilation working under GL 2.1:

https://github.com/perfect-dark-pc-port/perfect_dark

by anthk

7/27/2026 at 4:53:38 PM

That port is amazing, probably one of my most played games on my steam deck. What is GL 2.1?

by pipes

7/27/2026 at 11:10:16 PM

OpenGL 2.1, basically between DirectX 8 and 9 level. If the Super Mario 64 PC port can run even under VooDoo 3D graphics card, I'd love a Max Payne level era device (and maybe able to run HL2) being able to play that.

by anthk

7/28/2026 at 6:19:55 AM

Ah, right, retro pc hardware running perfect dark natively. thanks for explaining;)

by pipes

7/27/2026 at 12:09:22 PM

[flagged]

by fleahunter

7/27/2026 at 6:42:45 PM

[dead]

by physicalecon