audk/BaseTools/UserManuals/TianoCompress_Utility_Man_P...

55 lines
4.5 KiB
Plaintext
Raw Normal View History

{\rtf1\ansi\ansicpg1252\deff0\deflang1033\deflangfe2052\deftab360{\fonttbl{\f0\fswiss\fprq2\fcharset0 Verdana;}{\f1\froman\fprq2\fcharset0 Times New Roman;}}
{\colortbl ;\red0\green127\blue127;\red0\green0\blue0;}
{\stylesheet{ Normal;}{\s1 heading 1;}{\s2 heading 2;}}
{\*\generator Msftedit 5.41.15.1515;}\viewkind4\uc1\pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\b\f0\fs28 Name\par
\pard\nowidctlpar\sb200\cf2\b0\fs18 TianoCompress.exe \endash encode or decode a file\par
\pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\b\fs28 Synopsis\par
\pard\nowidctlpar\sb200\cf2\fs18 TianoCompress.exe [options] Filename\par
\pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\fs28 Description\par
\pard\nowidctlpar\sb200\cf2\b0\fs18 TianoCompress tool is used to encode or decode files with EFI extension encode or decode algorithm. When \ldblquote -e\rdblquote option specified in command line, then the tool will encode the input file with EFI extension encode algorithm; when \ldblquote -d\rdblquote option specified in command line, then the tool will decode the input file with EFI extension decode algorithm. When decoding file, this tool performs some rudimentary checking on the input files to verify they are indeed compressed by EFI extension algorithm. These checks include: \par
Check the input file header (8 bytes header); \par
The first 4 bytes is component size (not usable); \par
The following 4 bytes is original size which is the input file size and it is the decompressed file size. \par
While encoding file, this tool does not perform any checking.\par
\pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\b\fs28 Options\par
\pard\nowidctlpar\sb200\cf2\fs18 -e\par
\b0 Encode the input file, which means to compress the input file\par
\b -d\par
\b0 Decode the input file, which means to decompress the input file\par
\b -o, --output Filename\b0\f1\par
\f0 The file containing encoded or decoded content of input file\par
\b --version\par
\b0\f1\tab\f0 Print version and copyright of this program and exit\par
\b -v, --verbose\par
\pard\nowidctlpar\li360\sb200\b0 Turn on verbose output with informational messages printed. This is a count value, so specifying \endash v can be used to increase the verbosity level.\par
\pard\nowidctlpar\sb200\b -q, --quiet\b0\f1\par
\tab\f0 Disable all messages except FATAL ERRORS\par
\b --debug [0-9]\par
\b0\f1\tab\f0 Enable debug messages. nly 0-9 Level is supported.\par
\b -h, --help\par
\b0\f1\tab\f0 Print copyright, version and usage of this program and exit\par
\pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\b\fs28 Example\par
\pard\nowidctlpar\sb200\cf2\b0\fs18 1. Encode the input file \ldblquote file.efi\rdblquote and specify the output file name with \ldblquote file.tiano\par
\b TianoCompress \endash e \endash o file.tiano file.efi\par
\b0 2. Decode the input file \ldblquote file.tiano\rdblquote and specify the output file name with \ldblquote file.orig\rdblquote\par
\b TianoCompress \endash d \endash o file.orig file.tiano\par
\b0 3. Decode the input file "file.tiano" in the quiet mode and specify the output file name with "file.orig"\par
\b TianoCompress \endash d -q \endash o file.orig file.tiano\par
\pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\fs28 Bugs\par
\pard\nowidctlpar\sb200\cf2\b0\fs18 No known bugs.\par
Report bugs to issues@buildtools.tianocore.org\par
\pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\b\fs28 Files\par
\pard\nowidctlpar\sb200\cf2\b0\fs18 None\par
\pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\b\fs28 See also\par
\pard\nowidctlpar\sb200\cf2\b0\fs18 None\par
\pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\b\fs28 License\par
\pard\nowidctlpar\cf2\b0\fs18 Copyright (c) 1999-2009 Intel Corporation. All rights reserved\par
This program and the accompanying materials are licensed and made available \par
under the terms and conditions of the BSD License which accompanies this \par
distribution. The full text of the license may be found at\par
http://opensource.org/licenses/bsd-license.php\par
\par
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\par
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\par
}