about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-03-29 13:48:42 -0400
committerJune McEnroe <june@causal.agency>2019-03-29 13:48:42 -0400
commit6d605a0f26ef3657415ece71a30e797b25aba522 (patch)
treef0fef1c5109a5366ebe20acffba0ee0f5ed02521
parentDocument cards library (diff)
downloadcards-6d605a0f26ef3657415ece71a30e797b25aba522.tar.gz
cards-6d605a0f26ef3657415ece71a30e797b25aba522.zip
Document dump(1)
-rw-r--r--dump.148
1 files changed, 48 insertions, 0 deletions
diff --git a/dump.1 b/dump.1
new file mode 100644
index 0000000..a7fc3db
--- /dev/null
+++ b/dump.1
@@ -0,0 +1,48 @@
+.Dd March 29, 2019
+.Dt DUMP 1
+.Os
+.
+.Sh NAME
+.Nm dump
+.Nd dump bitmap resources
+.
+.Sh SYNOPSIS
+.Nm
+.Op Fl abfik
+.Op Ar file
+.
+.Sh DESCRIPTION
+.Nm
+dumps bitmap resources from
+.Pa CARDS.DLL ,
+.Pa SOL.EXE
+or
+.Pa FREECELL.EXE
+files.
+Bitmaps are written to the current directory
+starting with
+.Pa 01.bmp .
+.
+.Pp
+The arguments are as follows:
+.Bl -tag -width Ds
+.It Fl a
+Set the
+.Xr cards 3
+.Dv Cards_AlphaCorners
+flag.
+.It Fl b
+Set the
+.Xr cards 3
+.Dv Cards_BlackBorders
+flag.
+.It Fl f
+Dump FreeCell bitmaps.
+.It Fl i
+Invert the colors of the bitmaps
+.It Fl k
+Set the
+.Xr cards 3
+.Dv Cards_ColorKey
+flag.
+.El