arc

arc <character string>

Designate archive decompression plugin.
The character string's form is "<archive name>|<plugin dll name>".
Although it will dearchive sounds, music, and images, it will not run scripts.

   EX)arc "arc.sar|scrunarc.dll"

By combining this with registry read commands, you can do many things. For instance, you could very easily read the registry, find out that the machine had "To Heart" installed, and designate the proper archive to decompress accordingly.

   (sample source)
getreg $0,"software\leaf\toheart","datadir"
add $0,"\lvns3dat.pak|axlfpak.spi"
arc $0