Getting Started

Installation

Step-by-step installation guide for FMOD API and FMOD Engine

Installation

Follow these steps to install FMOD API and FMOD Engine for your Minecraft mod development.

🚀 Quick Setup

For End Users

  1. Download FMOD API
    • Download from Modrinth (recommended)
    • Or from CurseForge
    • ⚠️ Only download from official sources
  2. Install FMOD Engine
    • Visit FMOD.com Downloads
    • Download FMOD Engine version 2.02.16
    • Run the installer (creates free account if required)
  3. Install Mod
    • Drop fmod-api-x.x.x.jar into your mods folder
    • Restart Minecraft
    • FMOD API will auto-detect your FMOD installation
  4. Verify Installation
    • Go to Mods → FMOD API → Config
    • Check that FMOD is enabled and detected
    • If not detected, set custom path (see below)

For Mod Developers

  1. Add Dependency Add FMOD API as a dependency in your mods.toml:
    [[dependencies.yourmod]]
        modId="fmodapi"
        mandatory=true
        versionRange="[1.0,)"
        ordering="BEFORE"
    
  2. Basic Usage
    // Simple positioned sound
    FMODAPI.playEventSimple("event:/yourmod/sound", x, y, z);
    
    // Advanced usage with control
    if (FMODAPI.isAvailable()) {
        String instanceId = FMODAPI.playEvent("event:/yourmod/engine",
                                            new Vec3D(x, y, z),
                                            1.0f, 1.2f);
    }
    
  3. Load Your Sound Banks
    // During mod initialization
    FMODAPI.loadBankFromResource(YourMod.class,
        "/assets/yourmod/sounds/fmod/master.bank");
    

🔍 FMOD Library Detection

FMOD API uses a 3-tier detection system to find FMOD libraries:

1. 🎯 JAR Resources (Development)

  • Loads DLLs from mod's /libraries/ folder
  • Used for development builds with INCLUDE_LIBS=true

2. 🔄 System Detection (Automatic)

  • Checks standard FMOD installation paths
  • Scans system PATH for libraries
  • Works with default FMOD installations

3. 🛡️ Custom Path (Manual)

  • User-configurable path in mod config
  • Scans up to 4 levels deep for DLL files
  • Handles portable and custom installations

Auto-detection works for 95% of users. Custom path is only needed for non-standard installations.

🛠️ Troubleshooting Installation

Common Issues

FMOD not detected

  • Verify FMOD Engine 2.02.16 is installed
  • Check custom path setting if using non-standard location
  • Enable debug logging to see detection attempts

Required Files

The mod needs these files from your FMOD installation:

  • fmod.dll (Core audio engine)
  • fmodstudio.dll (Studio API)

Custom Installation Paths

If FMOD isn't auto-detected, set a custom path:

  1. Open config: Mods → FMOD API → Config
  2. Set custom path to your FMOD installation directory
  3. Examples:
    C:\Program Files (x86)\FMOD SoundSystem\
    D:\PortableApps\FMOD\
    E:\Games\Audio\FMOD Engine\
    
  4. Auto-scanning: Finds DLLs automatically within 4 folder levels

Next: First Steps to test your installation!

FMOD API for Minecraft © 2025 alexiokay • Audio powered by FMOD Studio by Firelight Technologies Pty Ltd