This is a modified version/installer for ModLoader64, designed to provide a seamless "One-Click" experience for Linux users, specifically targeting Steam Deck (SteamOS) and Fedora/Arch distributions.
ModLoader64 is an emulator and mod loading platform primarily for Ocarina of Time Online. While the original application supports Linux, modern distributions often face compatibility issues with missing dependencies (GLEW 2.1, SFML) and windowing systems (Wayland/Game Mode).
This repository provides a setup_modloader.sh script that automatically:
- Downloads the latest ModLoader64 release.
- Fixes Crashes: Automatically handles the complex
libGLEWandlibSFMLversion mismatches that prevent the game from starting on Steam Deck. - Steam Deck Ready: Automatically handles read-only filesystem validation, "database lock" errors, and initialization of pacman keys.
- Installs Dependencies: Detects your OS (SteamOS, Fedora, Ubuntu) and installs the required libraries.
- Texture Packs: Optionally downloads and installs high-resolution texture packs (e.g., OOT 3DS Retexture).
- Desktop Integration: Creates a working
.desktopshortcut and launch script fixes for window resizing.
- Download the setup_modloader.sh script from the Releases page.
- Make the script executable:
- GUI: Right-click file -> Properties -> Permissions -> Check "Is Executable".
- Terminal:
chmod +x setup_modloader.sh
- Run the script:
- Double-click and choose "Run in Terminal".
- Or run:
./setup_modloader.sh
- Follow the prompts (enter sudo password for dependencies, chose 'y' for textures).
- Launch the game using the new shortcut: ModLoader64 (OOT).desktop.
Once the installation is complete, follow these steps to set up your game:
The ModLoader requires a valid Legend of Zelda: Ocarina of Time ROM (v1.0 USA is recommended).
- Navigate to the installation folder (default is
ModLoader64_Install). - Open the
romsfolder. - Copy your
.z64ROM file into this folder. - Launch the application using the created shortcut.
- Go to the "ROMs" tab on the left sidebar.
- Check the box next to your ROM to enable it.
To play Ocarina of Time Online or other mods:
- Download your desired mods (usually
.pakfiles or folders). - Open the
modsfolder in your install directory. - Place your mod files here.
- In the application, go to the "Mods" tab.
- Check the box next to the mods you want to load.
- Once your ROM and Mods are enabled (checked), click the large Play button to start the game!
For developers or curious users, here is what this installer addresses:
- GLEW Mismatch: The app requires
libGLEW.so.2.1. Modern Linux distros ship with 2.2+. The script identifies 64-bit system libraries and creates a local compatibility symlink, forcing the app to accept the newer version viaLD_PRELOAD. - SFML Dependency: The app requires
libsfml-system.so.2.5but doesn't ship with it. The script installs SFML and creates version aliases to ensure audio and input work correctly. - Architecture Validity: Forces installation of
x86_64packages to preventELFCLASS32errors on mixed-architecture systems like SteamOS. - Windowing: Forces
GDK_BACKEND=x11andSDL_VIDEODRIVER=x11to prevent black screens and crashes on Wayland compositors.
- Original ModLoader64 Team: For the amazing platform and OOT Online.
- SirStig: Linux installer & compatibility fixes.