Syntax
Arguments
Source mod folder (must contain
META/info.json).Output archive path (e.g.,
MyMod.zip or MyMod.fantome).Flags
Path to the game folder. Optimize using rebase against the game before zipping.
Exclude TFT assets when indexing the game.
Behavior
Theexport command performs the following operations:
- Internally runs the same optimization as the
copycommand - Zips the optimized result to
<dst_archive>
Optimization Process
- Resolves internal conflicts
- Normalizes WAD structure
- If
--gameis provided, rebases against game files to reduce size - Copies metadata files
Archive Formats
Supported archive extensions:.zip- Standard ZIP archive.fantome- League of Legends mod archive format
Examples
Export with game optimization
- Optimizes
MyModby rebasing against the game - Strips unmodified entries
- Creates
MyMod.ziparchive with optimized content
Export to Fantome format
- Optimizes
MyModwithout game rebasing - Excludes TFT assets during processing
- Creates
MyMod.fantomearchive
Export without optimization
- Exports
MyModwith minimal optimization - No game rebasing or TFT filtering
- Creates a basic archive of the mod
Use Cases
- Mod distribution: Package mods for sharing with other players
- Size optimization: Create smaller archives by removing unmodified files
- Format conversion: Convert between ZIP and Fantome formats
- Backup creation: Archive mods for safekeeping
- Release preparation: Create final, optimized versions for release