Syntax
Arguments
Source to import. Can be a WAD file/directory,
.zip/.fantome archive, or existing mod folder.Destination mod folder where the imported content will be written.
Source Formats
Theimport command accepts multiple source formats:
WAD File or Directory
.wador.wad.clientfile- Directory containing unpacked WAD structure (
data,data2,levels,assets, orOBSIDIAN_PACKED_MAPPING.txt)
Archive Files
.zip- Standard ZIP archive.fantome- League of Legends mod archive format
Existing Mod Folder
- Directory containing
META/info.json
Flags
Path to the game folder. When applicable, rebase/optimize against the game.
Exclude TFT assets when indexing the game.
Behavior
The import behavior varies based on the source format:WAD Source
- Creates a minimal
META/info.json - Adds the WAD (with optional rebasing if
--gameis provided) - Writes to
dst_mod_dir
ZIP/Fantome Archive
- Unzips the archive
- Optimizes like the
copycommand - Writes to
dst_mod_dir
Existing Mod Folder
- Optimizes like the
copycommand - Writes to
dst_mod_dir
Detection Logic
The command detects WAD sources by:- Filename extension (
.wad,.wad.client) - Directory structure containing:
data/data2/levels/assets/OBSIDIAN_PACKED_MAPPING.txt
Examples
Import from Fantome archive with optimization
- Imports the Fantome archive
- Optimizes against the game at
/games/LoL - Creates standardized mod folder at
./SomeMod
Import from unpacked WAD
- Creates a mod folder from unpacked WAD directory
- Generates minimal
META/info.json - No game optimization
Import ZIP archive without TFT assets
- Imports and unzips the archive
- Excludes TFT assets during processing
- Creates optimized mod folder
Convert existing mod with optimization
- Imports existing mod folder
- Optimizes against game files
- Excludes TFT assets
- Creates new optimized version
Use Cases
- Format conversion: Convert between different mod formats
- Mod standardization: Normalize mod structure for consistency
- Archive extraction: Unpack and optimize archived mods
- WAD integration: Convert raw WAD files into proper mod folders
- Optimization: Import and optimize mods in a single step