|
OpenMW
|
#include <iostream>#include <fstream>#include <cstdlib>#include <components/nif/niffile.hpp>#include <components/files/constrainedfilestream.hpp>#include <components/vfs/manager.hpp>#include <components/vfs/bsaarchive.hpp>#include <components/vfs/filesystemarchive.hpp>#include <boost/program_options.hpp>#include <boost/filesystem.hpp>Functions | |
| bool | hasExtension (std::string filename, std::string extensionToFind) |
| Program to test .nif files both on the FileSystem and in BSA archives. More... | |
| bool | isNIF (const std::string &filename) |
| See if the file has the "nif" extension. More... | |
| bool | isBSA (const std::string &filename) |
| See if the file has the "bsa" extension. More... | |
| void | readVFS (VFS::Archive *anArchive, std::string archivePath="") |
| std::vector< std::string > | parseOptions (int argc, char **argv) |
| int | main (int argc, char **argv) |
| bool hasExtension | ( | std::string | filename, |
| std::string | extensionToFind | ||
| ) |
Program to test .nif files both on the FileSystem and in BSA archives.
See if the file has the named extension
| bool isBSA | ( | const std::string & | filename | ) |
See if the file has the "bsa" extension.
| bool isNIF | ( | const std::string & | filename | ) |
See if the file has the "nif" extension.
| std::vector<std::string> parseOptions | ( | int | argc, |
| char ** | argv | ||
| ) |
| void readVFS | ( | VFS::Archive * | anArchive, |
| std::string | archivePath = "" |
||
| ) |
Check all the nif files in a given VFS::Archive
1.8.6