Overview
Fantome is the industry-standard mod format for League of Legends custom content. A.fantome file is a ZIP archive containing:
- Metadata: Mod information (name, version, author, description)
- WAD files: Game asset modifications
- Preview image: Optional thumbnail for mod managers
- Portable: Single-file distribution
- Human-readable: Standard ZIP format
- Validated: Required structure for compatibility
- Optimized: Only modified files included
The Fantome format was created by the League Toolkit organization and is used by all major League of Legends mod managers.
File Structure
A.fantome file is a ZIP archive with the following structure:
Directory Requirements
| Directory | Required | Purpose |
|---|---|---|
META/ | Yes | Contains mod metadata and assets |
META/info.json | Yes | Mod information and versioning |
META/image.png | No | Preview thumbnail (recommended) |
WAD/ | Yes* | Contains game asset modifications |
While
WAD/ is technically optional, a mod without WAD files won’t modify the game.Metadata: info.json
TheMETA/info.json file contains structured metadata:
Schema
Field Specifications
Name (required)
Name (required)
Type: String
Length: 3-50 characters
Pattern:
Description: Display name of the modExamples:
Length: 3-50 characters
Pattern:
[\p{L}\p{M}\p{Pd}\p{Z}\p{N}\w]{3,50}Description: Display name of the modExamples:
Version (required)
Version (required)
Type: String
Format: Semantic versioning
Pattern:
Description: Mod version numberValid formats:Invalid formats:
Format: Semantic versioning
Pattern:
([0-9]{1,3})(\.[0-9]{1,3}){0,3}Description: Mod version numberValid formats:
Author (required)
Author (required)
Description (optional)
Description (optional)
Type: String
Length: No strict limit (recommend < 500 chars)
Description: Brief description of the modExample:Display: Shown in mod managers, typically with 2-line limit in list views.
Length: No strict limit (recommend < 500 chars)
Description: Brief description of the modExample:
Home (optional)
Home (optional)
Type: String (URL)
Pattern:
Description: Homepage, update page, or documentation URLExamples:Usage: Displayed as a clickable link in mod managers (question mark icon).
Pattern:
^(http(s)?:\/\/).+$Description: Homepage, update page, or documentation URLExamples:
Heart (optional)
Heart (optional)
Type: String (URL)
Pattern:
Description: Support/donation link or author’s social mediaExamples:Usage: Displayed as a clickable link in mod managers (heart icon).
Pattern:
^(http(s)?:\/\/).+$Description: Support/donation link or author’s social mediaExamples:
Complete Example
WAD Files
WAD (“Where’s All the Data”) files contain game assets:Naming Convention
WAD files must use the.wad.client extension:
File Content
WAD files contain:- Textures:
.ddsimage files - Models:
.skn,.scomesh files - Animations:
.anmanimation data - VFX:
.bineffect files - Audio:
.wem,.bnksound files - Other: Configuration, scripts, etc.
Optimization
Before packaging, WAD files should be optimized:- Rebases against game WADs (finds base mount)
- Removes unmodified files (identical to base game)
- Strips unknown files (if
--removeUNKis set) - Resolves internal conflicts
- Normalizes file paths and naming
Preview Image
Specifications
| Property | Requirement |
|---|---|
| Location | META/image.png |
| Format | PNG (required) |
| Resolution | 512x512 or higher (recommended) |
| Aspect Ratio | Square (1:1) or 16:9 |
| File Size | < 1 MB (recommended) |
| Color Space | sRGB |
Best Practices
Use high-quality screenshots
Use high-quality screenshots
- Capture in-game footage at high resolution
- Show the most impactful visual changes
- Avoid UI elements unless they’re part of the mod
Optimize file size
Optimize file size
- Use PNG compression (pngquant, TinyPNG)
- Target 200-500 KB for best balance
- Avoid transparency unless necessary
Maintain aspect ratio
Maintain aspect ratio
- Square (1:1) works best in list views
- 16:9 works for detailed preview dialogs
- Avoid extreme aspect ratios
Loading in cslol-manager
Creating Fantome Files
Using cslol-manager UI
CSLOLTools.exportMod(name, dest)
Using mod-tools CLI
Manual Creation
You can manually create a.fantome file:
Installing Fantome Files
Supported Methods
Import Button
Click the import button in mod manager and select the
.fantome file.Drag and Drop
Drag
.fantome file directly into the mod list.Installation Process
- Validation: Checks for required
META/info.json - Extraction: Unzips to
installed/{Name} V{Version} by {Author}/ - Metadata loading: Reads
info.jsonandimage.png - Registration: Adds mod to the mods list (disabled by default)
File Dialog Filters
.fantome and .zip extensions are accepted.
Compatibility
Supported Managers
- cslol-manager: Full support (reference implementation)
- LTK Manager: Full support (successor project)
- Fantome: Original mod manager (deprecated)
Version Compatibility
The Fantome format is forward compatible:- Older managers can read newer
.fantomefiles (if they follow the spec) - Newer managers fully support older
.fantomefiles
Game Version
Best practices:- Test mods after game updates
- Rebuild/rebase mods against new game files
- Update mod version when rebuilding
- Document compatible game versions
Advanced Topics
Conflict Resolution
When multiple mods modify the same file:- Within a mod: Later WAD in alphabetical order wins
- Across mods: Mod order in profile determines priority
- Manager behavior: Can warn or auto-resolve based on settings
Overlay Generation
The mod-tools CLI can create overlays from multiple mods:- Indexes game WADs
- Loads each mod in order
- Resolves conflicts (later mod wins)
- Removes unsafe entries (e.g.,
*.SubChunkTOC) - Writes merged overlay WADs
Rebasing
Rebasing aligns mod WAD filenames to base game mounts: Without rebasing:- Smaller file sizes (strips unmodified entries)
- Better compatibility
- Clearer file purpose
- Easier conflict detection
Validation Checklist
Before distributing a.fantome mod:
- Required
- Recommended
- Optional
- File is valid ZIP archive
- Contains
META/info.json -
info.jsonhas Name, Version, Author - Name is 3-50 characters
- Version follows semantic versioning
- Author is 3-50 characters
- Contains at least one
.wad.clientfile inWAD/
Resources
League Toolkit
Official organization for LoL modding tools
Fantome Wiki
Original Fantome format specification
mod-tools CLI
Command-line tools for mod management
Mod Creation Guide
Learn how to create mods in cslol-manager