18#ifndef INCLUDED_ARCHIVEBUILDER
19#define INCLUDED_ARCHIVEBUILDER
Packages a mod's files into a distributable archive.
Definition: ArchiveBuilder.h:30
OsPath m_TempDir
Definition: ArchiveBuilder.h:65
std::vector< VfsPath > m_Files
Definition: ArchiveBuilder.h:64
CArchiveBuilder(const OsPath &mod, const OsPath &tempdir)
Initialise the archive builder for processing the given mod.
Definition: ArchiveBuilder.cpp:32
void Build(const OsPath &archive, bool compress)
Do all the processing and packing of files into the archive.
Definition: ArchiveBuilder.cpp:62
size_t m_NumBaseMods
Definition: ArchiveBuilder.h:66
void AddBaseMod(const OsPath &mod)
Add a mod which will be loaded but not archived, to provide files like textures.xml needed for the co...
Definition: ArchiveBuilder.cpp:55
PIVFS m_VFS
Definition: ArchiveBuilder.h:63
~CArchiveBuilder()
Definition: ArchiveBuilder.cpp:48
static Status CollectFileCB(const VfsPath &pathname, const CFileInfo &fileInfo, const uintptr_t cbData)
Definition: ArchiveBuilder.cpp:179
Definition: file_system.h:43
i64 Status
Error handling system.
Definition: status.h:173
std::shared_ptr< IVFS > PIVFS
Definition: vfs.h:220