qarchive.type.from.filename: Determine archive type from file name extension.
Description
Determine archive type from file name extension.
Usage
qarchive.type.from.filename(filepath)
Value
character string, one of 'QARCHIVE_TYPE_WAD' or 'QARCHIVE_TYPE_PAK'.
Arguments
- filepath
character string, path to existing and readable file in PAK or WAD2 format.