X-Git-Url: http://git.draconx.ca/gitweb/liblbx.git/blobdiff_plain/4d012782a0d123136cb51735ddaa352bdc0c773c..f5c3db7a3cc9d46f8bb8b2d0d010eb73d68bb9c5:/doc/man/lbximg.1 diff --git a/doc/man/lbximg.1 b/doc/man/lbximg.1 index cebcef7..6470cf3 100644 --- a/doc/man/lbximg.1 +++ b/doc/man/lbximg.1 @@ -49,6 +49,12 @@ Use the embedded palette of an LBX image specified by as the override palette. In Moo2, this is notably used to select the player colour for ship images. Colours in the override palette supersede those in both the base palette and the embedded palette. +.It Fl V , -version +Print a version message and exit. +.It Fl -usage +Print a short usage message and exit. +.It Fl -help +Print a help message and exit .It Ar frameno ... Specifies the frames to decode as a sequence of intervals, with frames indexing from zero. By default, all frames are decoded. Multiplicity is ignored, as is @@ -64,3 +70,18 @@ Decode frames 1 through 9, except for frame 5. Decode all frames except the first 3. .El .El +.Sh EXAMPLES +After extracting fonts.lbx, mainmenu.lbx, logo.lbx and ships.lbx with +.Xr lbxtool 1 : +.Bl -tag -width indent +.It Nm Li -ivf logo.lbx.000 +Print some information about the Simtex logo image. +.It Nm Li -dvf mainmenu.lbx.000 -p fonts.lbx.006 +Decodes all the frames of the main menu panel into a series of PNGs. +.It Nm Li -dvf logo.lbx.001 +Decodes all the frames of the Microprose logo into a series of PNGs. +.It Nm Li -dvf ships.lbx.042 -p fonts.lbx.012 -O ships.lbx.049 +Decodes an image of a red star fortress. +.El +.Sh SEE ALSO +.Xr lbxtool 1