# Archive support

Note

- This information is valid only for MultiArc plugin which comes with the standard distribution of FAR Manager!

For specific archive formats support, MultiArc plugin uses second-level plugins (subplugins) - the so called FMT-modules. These are all the `*.FMT` files contained within Formats subfolder of MultiArc (but not in subfolders of Formats).

### Functions exported by FMT-modules

Function | Description
--- | ---
CloseArchive | Close archive.
GetArcItem | Get the information about the next archive element.
GetDefaultCommands | Get archiver command strings used by default
GetFormatName | Get archive format name.
GetSFXPos | Get the position of the beginning of the archive.
IsArchive | Check whether the specified file is an archive.
LoadFormatModule | Called when a subplugin is loaded.
OpenArchive | Open an archive and prepare it for reading.
SetFarInfo | Passes global settings to the plugin.

### Structures used by FMT-modules

Structure | Description
--- | ---
ArcInfo | Common information about an archive
ArcItemInfo | Information about a specific archive element

### Remarks

1. You can use subplugin technology in your own plugins. Examples of such plugins:
   - Expression Calculator (Alexey Torgashin)
   - Search and Replace (Ivan Sintyurin)
   - Address Book (Pavel Kostromitinov)
   - Mr.Ripper (Vladimir Kubyshev)

See also:
Exported functions, Service functions, structures, Addons, custom.ini file format