Auria {l Wrote}:Actually irrlicht does support 7z, it's just that it calls it by its "real" name, i.e LZMA. Though I have it disabled in the OSX build but I guess I could fix it and update the build
From irrlicht's IrrCompileConfig:
LZMA is a very efficient compression code, known from 7zip. Irrlicht currently only supports zip archives, though
So I admit that I don't have much of an idea of how the various compression formats work, but I would still interpret this as no .7z file, but if lzma is used in a zip file it works.See also CZipReader.cpp, the only file using the LZMA define (except for the actual lzma lib):
- {l Code}: {l Select All Code}
bool CArchiveLoaderZIP::isALoadableFileFormat(const io::path& filename) const
{
return core::hasFileExtension(filename, "zip", "pk3") ||
core::hasFileExtension(filename, "gz", "tgz");
}
So, we have to use zip, pk3, gz, or tgz (though I admit I didn't check if we could just rename a 7z file to zip ).
Cheers,
Joerg