1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
.TH TLIITools 1 2020-03-24
.SH NAME
tlIItools \- tools for dealing with Torchlight II data files
.SH SYNOPSIS
\fBtlIItools\fP [\fIOPTION\fP]... [\fIFILE\fP]...
.SH DESCRIPTION
\fBtlIItools\fP is a collection of various tools for dealing with the data files
that are created during the course of modding Torchlight II.
.P
Currently, the main function is providing a list of available affixes in an
easy to browse format; but there are plans to add several other functions.
.SS Affix listing
Currently, this is the only mode, and it is the one that is invoked by default.
It requires that at least one file name be provided, and file names/arguments
may be freely intermixed (some require that).
.P
The output it provides is a text listing of each affix you provided in a
condensed format that can be more easily read.
.SS File groups
File groups are a concept that was introduced to group together similar items.
Currently, there isn't much mechanical support they offer, but they help with
grouping things together in the output, and will likely be used for more in the
future.
.SS Affix groups
Affix groups are used to group together affixes that are mechanically similar.
For instance, the affixes \fB+2 to strength\fP and \fB+4 to strength\fP would go
into the same affix group, assuming that they spawned on the same sort of items.
.SH OPTIONS
.TP
\fB--\fP
This follows the general convention where '\fB--\fP' indicates the end of argument
processing. All further arguments will be interpreted as file names.
.TP
.BR "-z" ", " "--omit-zero"
This will omit the notes about 'Affix ... has zero spawn weight' that are
printed if the 'don't list zeroes option' (controlled by the \fB-L\fP and
\fB--no-list-zeroes\fP arguments) is enabled. If those flags are turned off,
this won't do much.
.TP
.BR "-Z" ", " "--no-omit-zero"
Enable the 'Affix ... has zero spawn weight' messages that \fB-z\fP turns off.
These are enabled by default.
.TP
.BR "-l" ", " "--list-zero"
This causes zero-weight affixes to be included in the affixes that are printed
out.
.TP
.BR "-L" ", " "--no-list-zero"
Exclude zero-weight affixes from the printed affix listing. This is the default
setting.
.TP
.BR "-t" ", " "--timing"
Track and output additional timing information. This is mostly of interest while
doing development to see how much time is being consumed, and giving a vague
idea of where it's being taken up.
.TP
.BR "-T" ", " "--no-timing"
Turn off additional timing info. This is the default.
.TP
.BR "-f" ", " "--file-names"
Output the file names that affixes were sourced from as well.
.TP
.BR "-F" ", " "--no-file-names"
Don't output the file names we got each affix from.
.TP
.BR "-n \fR[\fIall|unnamed|named\fR]\fP" ", " "--name-mode \fR[\fIall|unnamed|named\fR]\fP"
Controls the way that affixes being named/unnamed controls whether or not they
are output in the listings. The following are the valid modes, and what they do.
.RS
.TP
.I all
Names don't have any affect on which affixes are/aren't output.
.TP
.I unnamed
Only output unnamed affixes
.TP
.I named
Only output named affixes
.RE
.TP
.BR "-g \fIgroup-name\fP" ", " "--file-group \fIgroup-name\fP"
Place every file that comes after this into file group \fIgroup-name\fP
.TP
.BR "--guess-groups"
Turn on attempting to guess which file group a given file should go into.
.TP
.BR "--no-guess-groups"
Turn off attempting to guess which file group a given file should go into. This
is the default.
.TP
.BR "-r \fIfile-name\fP" ", " "--read-names-from-file \fIfile-name\fP"
Specify that all of the files listed in \fIfile-name\fP (one per line) should
have their affixes scanned as well.
.TP
.BR "-o \fIfile-name\fP" ", " "--output \fIfile-name\fP"
Specify that the affixes should be printed out to \fIfile-name\fP instead of to
the standard output stream.
.TP
.BR "-e \fIfile-name\fP" ", " "--output-errors \fIfile-name\fP"
Specify that errors should be printed out to \fIfile-name\fP instead of to
the standard error stream.
.TP
.BR "--guess-regex \fIregex\fP"
Specify the regular expression that should guide any attempts to guess file
groups. The regular expression should match the file name, with a single
capture-group that will specify the name of the file group.
.TP "--output-affix-groups \fIfile-name\fP"
Specify that affix groups should be printed out to \fIfile-name\fP. By default,
affix groups aren't output
.SH EXAMPLES
.SH SEE ALSO
|