ScummVM API documentation
StuffIt decompressor

Description

API related to StuffIt archive files.

Functions

ArchiveCommon::createStuffItArchive (const Path &fileName, bool flattenTree=false)
 
ArchiveCommon::createStuffItArchive (SeekableReadStream *stream, bool flattenTree=false)
 

Function Documentation

◆ createStuffItArchive()

Archive* Common::createStuffItArchive ( const Path fileName,
bool  flattenTree = false 
)

This factory method creates an Archive instance corresponding to the content of the StuffIt compressed file with the given name.

Parameters
fileNameThe file name to load
flattenTreeIf true, removes the directory prefixes from all file paths
Returns
The StuffIt archive