Adventure

GTA: San Andreas × Super Mario 64

Mario’s original moves in San Andreas through an ASI plugin.

About this version

This libsm64 integration targets the original PC San Andreas. The README distinguishes that version from Definitive Edition and documents an ASI loader.

Original games
Grand Theft Auto: San Andreas · Super Mario 64
Choose a version

Compare your options

Mario platformers

Choose native SM64 co-op, experimental Wonder or Galaxy builds, or a Mario mod for a game you already own.

Read Mario platformers guide

Grand Theft Auto

Choose streamed Vice City or GTA III browser play, an own-files Vice City alternative, or native Liberty City Stories and GTA IV projects.

Read Grand Theft Auto guide
Browse all version comparisons →

Swap CJ for Mario in San Andreas

This ASI plugin brings libsm64 into the original PC version of GTA: San Andreas. Press M during play to switch between CJ and Mario. The contrast is the attraction: Mario’s movement code and character rendering are placed inside San Andreas’s environment, letting you approach a familiar world with a different playable character.

It is an integration into an installed game, not a standalone Mario adventure or a conversion of the Definitive Edition. The creator still labels it under development. Start by exploring the character switch in an ordinary session before treating it as a replacement for every scripted mission.

sm64-san-andreas · project documentationlibsm64 · character movement library

Use the original PC game and its plugin loader

Install Silent’s ASI Loader, then extract the mod release into San Andreas’s scripts folder. Place your US Super Mario 64 ROM beside gta_sa.exe and name it sm64.us.z64. Both the ASI plugin route and the ROM path matter; putting the ROM only inside scripts does not follow the documented layout.

For the delisted Steam edition, the maintainer points to a downgrade to version 1.0. That instruction does not apply to the Definitive Edition, which is a different target. Release packages and development artifacts are separate download routes.

sm64-san-andreas · project documentation

Recognize the documented shading conflicts

SilentPatchSA is recommended because it fixes Mario appearing flat-shaded outdoors, though the plugin does not require it to start. SkyGFX creates a different known conflict: excessive brightness and incorrectly drawn facial textures. The documented remedy is to disable dualPass in its INI files.

Those are specific compatibility notes for existing mods. Adding this plugin to a heavily modified installation can make it harder to identify the cause of a visual problem, so check the known interactions before changing several graphics mods at once.

sm64-san-andreas · project documentation

Before you play

Do I need the original game files?

Your own compatible San Andreas installation and US Super Mario 64 ROM.

Creator-reported · Project guide
How do I get started?

Use the documented ASI loader and place sm64.us.z64 next to gta_sa.exe.

Creator-reported · Project guide
Project & original game credits
    Original project