Products » mBooster » Technical Support » mBooster documentation » Ch7-mBoosterM3G User Guide
mBoosterM3G minimizes the size of M3G files through recompression. mBoosterM3G is not only integrated into mBooster, but is also available as a standalone command-line program. This section describes the behaviour of the standalone command-line version of mBoosterM3G.
mBoosterM3G takes a set of input M3G files and recompresses them, creating a file in the output directory for each recompressed M3G file.
Note: mBoosterM3G Evaluation Version does not generate any output M3G files, but instead can only display the sizes of the M3G files produced.
| Tips mBoosterM3G should always be put at the end of the M3G optimization toolchain. |
mBoosterM3G [[-<option>[ value]]...] <outputDir> <input...>
File arguments:
| <outputDir> | The directory to output M3G files to, preserving the directory structure of the input. If it does not exist, it will be created. |
| <input...> | A list of input file names and/or input directories. Any files matching the M3G file format regardless of extension will be recompressed. |
| -r | Recurse into subdirectories. This has no effect if <input...> does not contain directories. |
| -no_compress_scene_sections | Do not compress the scene sections |
| -no_merge_scene_sections | Do not merge the scene sections |
| -no_compress_xref_section | Do not compress the cross reference section |
Note:
If the full pathname of a file or directory is not supplied, it is assumed to be a file or subdirectory directly under the current working directory.