hi2txt: command-line parameters

All command-line parameters [version 1.6]

-r
read main high score entries
-ra
read all high score entries
-rd
read all high score entries as well as debug entries; also activate traces
-xml
(optional) display extracted data in XML
-hiscoredat | -hs (optional) path to hiscore.dat related to the hiscore file to read. default is built from <hi_file_path>/../../hiscore.dat
hiscore.dat file allows to select the right hiscores content format when a game is supporting different locations from different hiscore.dat files
-descr | -ds (optional) path to xml description db. default is ./db/ and can be omitted if the application in launched from where it is installed.
-l
(optional) list games
-location
(optional) display supported memory location when listing games
-h
(optional) display help
-v
(optional) display version
-notrace
(optional) disable trace, even in debug display
-trace
(optional) enable trace
-score-grouping "yes|no"
(optional) group 'SCORE' numbers for better readability (default: "no")
                -score-grouping yes
SCORE|NAME      SCORE|NAME
10000000|CAP    10.000.000|CAP
9000000|COM     9.000.000|COM
-score-grouping-separator "<string>"
(optional) define the separator for score grouping (default: ".")
                -score-grouping yes -score-grouping-separator ","
SCORE|NAME      SCORE|NAME
10000000|CAP    10,000,000|CAP
9000000|COM     9,000,000|COM
-score-grouping-size <integer>"
(optional) define the size of the score grouping (default: 3)
                --score-grouping yes -score-grouping-size 2
SCORE|NAME      SCORE|NAME
10000000|CAP    10.00.00.00|CAP
9000000|COM     9.00.00.00|COM
-keep-field "<field_name>"
(optional) define which field to keep when displaying the output. If this parameter is not specified, all fields are displayed.

this parameter can be repeated to declare multiple fields

                -keep-field "SCORE"
SCORE|NAME      SCORE
10000000|CAP    10000000
9000000|COM 9000000 8000000|CAP 8000000
-keep-table-value "<field>:<value>"
(optional) only table lines containing the specified value for the specified column will be displayed, allowing for example to keep only your own score
this parameter can be repeated to declare multiple values
                -keep-table-value "NAME:COM"
SCORE|NAME      SCORE|NAME
10000000|CAP    9000000|COM
9000000|COM
8000000|CAP
-keep-first-score "yes|no"
(optional) force to keep only first line, even if not in the scope of -keep-field/-keep-table-value
                -keep-first-score "yes"
SCORE|NAME      SCORE|NAME
10000000|CAP    10000000|CAP
9000000|COM     
8000000|CAP
                -keep-first-score "yes" -keep-table-value "NAME:COM"
SCORE|NAME      SCORE|NAME
10000000|CAP    10000000|CAP
9000000|COM     9000000|COM
8000000|CAP
-hide-column "<field_name>" (optional) define which field must be hidden (i.e. not displayed)
-max-lines <integer> (optional) maximum number of lines to be displayed into a table
-max-columns <integer> (optional) maximum number of columns to be displayed into a table
<hi_file_path> game hi file to read