Libsm64: Mario 64 as a library for use in external game engines
160 points by klaussilveira 12 hours ago | 19 comments

schmeichel 11 hours ago
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
reply
Dwedit 8 hours ago
How many Portal test chambers could be solved with Mario 64 jumping alone, and no use of any portal gun?
reply
PcChip 9 hours ago
That is amazing and it makes me smile
reply
pizzathyme 5 hours ago
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

reply
bigfishrunning 54 minutes ago
> 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.

reply
echelon 5 hours ago
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.

reply
dev0p 10 hours ago
Wrap it in an API, sell Mario 64 as a service.

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

reply
thebruce87m 10 hours ago
I imagine Nintendo is a bit more like malfunctioning ED-209 in the office scene than a person with a rifle.
reply
fhn 8 hours ago
Nintendo did put down their rifles after they fired multiple shots into the head and then the sued.
reply
ddjdhhd 8 hours ago
[dead]
reply
ParadisoShlee 11 hours ago
Any demo videos? or just need to imagine it?

found this: https://youtu.be/NXpOCfg8O64

reply
Retr0id 11 hours ago
Looks like this has been around for a while now, are there any interesting projects using it?

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

reply
kanemcgrath 34 minutes ago
My favorite one was the blender addon https://github.com/libsm64/libsm64-blender
reply
cshores 9 hours ago
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.
reply
deadbabe 11 hours ago
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?
reply
guipsp 10 hours ago
It's specifically about the mechanics/physics rather than the model, but yes.
reply
tosti 2 hours ago
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.

reply
anthk 7 hours ago
I'd love the Perfect Dark recompilation working under GL 2.1:

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

reply
pipes 5 hours ago
That port is amazing, probably one of my most played games on my steam deck. What is GL 2.1?
reply
physicalecon 3 hours ago
[dead]
reply
fleahunter 10 hours ago
[flagged]
reply