Multifiles archives are archive files that store game resources. Think of it as a gaint zip file that stores optionally zips and encrypts you data files.
The multify console program creates such files. This is how program describes it self:
Usage: multify -[c|r|u|t|x] -f <multifile_name> [options] <subfile_name> ...
multify is used to store and extract files from a Panda Multifile.
This is similar to a tar or zip file in that it is an archive file that
contains a number of subfiles that may later be extracted.
Panda's VirtualFileSystem is capable of mounting Multifiles for direct
access to the subfiles contained within without having to extract them
out to independent files first.
The command-line options for multify are designed to be similar to those
for tar, the traditional Unix archiver utility.
If you want to load assets from a Multifile directly, you can "mount" it into the virtual file system:
vfs = VirtualFileSystem.getGlobalPtr()
vfs.mount(Filename('foo.mf'), '.', VirtualFileSystem.MFReadOnly)
If you are having problems loading form multifiles you can list the complete contents of your .mf file with a command like:
mutify -tvf mymultifile.mf
Doing a sanity inspection like this can be useful to ensure that your assets are in the right place within the multifile.
|