qarchive.type.from.filename: Determine archive type from file name extension.

View source: R/read_quake_archive.R

qarchive.type.from.filenameR Documentation

Determine archive type from file name extension.

Description

Determine archive type from file name extension.

Usage

qarchive.type.from.filename(filepath)

Arguments

filepath

character string, path to existing and readable file in PAK or WAD2 format.

Value

character string, one of 'QARCHIVE_TYPE_WAD' or 'QARCHIVE_TYPE_PAK'.


dfsp-spirit/wal documentation built on Feb. 5, 2024, 1:59 p.m.