Sm64config.txt Official

The sm64config.txt file is a configuration file used by the Super Mario 64 PC Port (and various handheld ports like Render96 and sm64ex) to manage settings like key bindings, window modes, and camera options. It is typically generated automatically the first time you launch the game. Common Uses for sm64config.txt

Remapping Controls: You can manually change keyboard and controller mappings by editing the scancodes assigned to specific actions.

Window Settings: Toggle fullscreen between true and false to switch between full-screen and windowed modes. sm64config.txt

Camera Mods: Some versions use this file to enable "Puppycam" (a free-look camera) or adjust stick deadzones.

Wii U / Handheld Specifics: On the Wii U port, you can set n64_face_buttons to true to use the original N64 button layout. Finding the File The location varies depending on your platform: The sm64config

Windows: Usually in the same folder as your sm64.exe or in %AppData%/sm64ex.

Retro Handhelds (RG350/RG351): Often found in ports/sm64/configuration/. Wii U: Located at the root of your SD card. Example Configuration A standard file looks like this: Audio settings master_volume = 80 music_volume = 100

The sm64config.txt file enables manual adjustment of graphics, audio, and input settings for unofficial Super Mario 64 PC ports, including sm64ex. Located in the app data or configuration folder, users can edit this text file to modify button mappings, screen resolution, and enable performance tweaks like frameskip. For more details, visit GitHub.

How to remap controls? · Issue #224 · sm64pc/sm64ex - GitHub


Audio settings

master_volume = 80 music_volume = 100 sfx_volume = 100

Debug & Advanced Features

| Argument | Syntax | Effect | | :--- | :--- | :--- | | --skip-intro | (none) | Skips the Nintendo logo and file select cutscene. | | --cheats | (none) | Enables built-in cheat menu (requires separate cheat file). | | --enable-texture-dumping | (none) | Saves every loaded texture to texture_dump/ (modding tool). | | --enable-texture-cache | (none) | Caches custom textures to RAM for faster loads. | | --profile | --profile N | Logs performance metrics to console. |

Rules for editing: