18 #ifndef INCLUDED_ARCHIVEBUILDER 19 #define INCLUDED_ARCHIVEBUILDER 69 #endif // INCLUDED_ARCHIVEBUILDER Packages a mod's files into a distributable archive.
Definition: ArchiveBuilder.h:29
std::vector< VfsPath > m_Files
Definition: ArchiveBuilder.h:64
shared_ptr< IVFS > PIVFS
Definition: vfs.h:226
PIVFS m_VFS
Definition: ArchiveBuilder.h:63
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:54
size_t m_NumBaseMods
Definition: ArchiveBuilder.h:66
OsPath m_TempDir
Definition: ArchiveBuilder.h:65
void Build(const OsPath &archive, bool compress)
Do all the processing and packing of files into the archive.
Definition: ArchiveBuilder.cpp:61
i64 Status
Error handling system.
Definition: status.h:171
~CArchiveBuilder()
Definition: ArchiveBuilder.cpp:47
static Status CollectFileCB(const VfsPath &pathname, const CFileInfo &fileInfo, const uintptr_t cbData)
Definition: ArchiveBuilder.cpp:170
CArchiveBuilder(const OsPath &mod, const OsPath &tempdir)
Initialise the archive builder for processing the given mod.
Definition: ArchiveBuilder.cpp:31
Definition: file_system.h:41