commit 14c564cf7c6f0f36f378f18aadef4c203d31db2e
parent a4df7a198d35d16c977bc5ab5e23a11c3fc2a04c
Author: Quentin Rameau <quinq@fifth.space>
Date: Mon, 9 Nov 2015 17:55:38 +0100
Add addrom.1 manual page
Diffstat:
addrom.1 | | | 47 | +++++++++++++++++++++++++++++++++++++++++++++++ |
1 file changed, 47 insertions(+), 0 deletions(-)
diff --git a/addrom.1 b/addrom.1
@@ -0,0 +1,47 @@
+.Dd 2015-11-09
+.Dt ADDROM 1
+.Sh NAME
+.Nm addrom
+.Nd add a rom entry to a Pandora's Box v3 list.dat file
+.Sh SYNOPSIS
+.Nm
+.Op Fl c Ar Chinese-name
+.Op Fl e Ar English-name
+.Fl i Ar input-list
+.Op Fl n Ar position
+.Fl o Ar output-list
+.Fl r Ar rom-name
+.Sh DESCRIPTION
+.Nm
+reads a PB3
+.Ar input-list
+file, adds an entry composed of a
+.Ar Chinese-name ,
+an
+.Ar English-name ,
+and a
+.Ar rom-name
+at the given
+.Ar position
+to a
+.Ar output-list
+file. It automatically adapts the number of game entries in this file.
+.Sh OPTIONS
+.Bl -tag -width Ds
+.It Op Fl c Ar Chinese-name
+The Chinese name of the game displayed on the arcade.
+.It Op Fl e Ar English-name
+The English name of the game displayed on the arcade.
+.It Fl i Ar input-list
+Read-only input list.dat file.
+.It Op Fl n Ar position
+Placement of the new entry starting from 1. If the
+.Ar position
+is not given or is larger than number of games in the list, the new entry will
+be appened to the end of the list.
+.It Fl o Ar output-list
+Newly created output list.dat file (it must not exist and will not be
+overwritten).
+.It Fl r Ar rom-name
+The name of the rom file, without file extention (ie. "wjammers").
+.El