@rom-weaver/cli 0.12.2 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -270
- package/docs/completions/_rom-weaver +126 -15
- package/docs/completions/rom-weaver.bash +116 -34
- package/docs/completions/rom-weaver.elv +101 -4
- package/docs/completions/rom-weaver.fish +185 -33
- package/docs/completions/rom-weaver.ps1 +103 -4
- package/docs/man/rom-weaver-bundle-create.1 +75 -3
- package/docs/man/rom-weaver-bundle-parse.1 +4 -1
- package/docs/man/rom-weaver-bundle-schema.1 +4 -1
- package/docs/man/rom-weaver-bundle.1 +4 -1
- package/docs/man/rom-weaver-checksum.1 +28 -3
- package/docs/man/rom-weaver-completions.1 +4 -1
- package/docs/man/rom-weaver-compress.1 +58 -1
- package/docs/man/rom-weaver-extract.1 +49 -2
- package/docs/man/rom-weaver-formats.1 +66 -0
- package/docs/man/rom-weaver-patch-apply.1 +126 -66
- package/docs/man/rom-weaver-patch-create.1 +7 -1
- package/docs/man/rom-weaver-patch-validate.1 +4 -1
- package/docs/man/rom-weaver-patch.1 +4 -1
- package/docs/man/rom-weaver-probe.1 +4 -1
- package/docs/man/rom-weaver-tools-ppf-undo.1 +4 -1
- package/docs/man/rom-weaver-tools.1 +4 -1
- package/docs/man/rom-weaver-trim.1 +20 -1
- package/docs/man/rom-weaver-weave.1 +126 -66
- package/docs/man/rom-weaver.1 +9 -6
- package/package.json +11 -11
- package/docs/man/rom-weaver-ingest.1 +0 -98
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
.SH NAME
|
|
5
5
|
rom\-weaver\-bundle\-parse \- Read a rom\-weaver\-bundle.json recipe and report what it points at
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBrom\-weaver bundle parse\fR
|
|
7
|
+
\fBrom\-weaver bundle parse\fR [\fB\-\-json\fR] [\fB\-\-progress\fR] [\fB\-s\fR|\fB\-\-select\fR] [\fB\-\-filter\fR] [\fB\-\-no\-progress\fR] [\fB\-\-log\-level\fR] [\fB\-\-no\-extract\fR] [\fB\-o\fR|\fB\-\-output\fR] [\fB\-v\fR|\fB\-\-verbose\fR]... [\fB\-j\fR|\fB\-\-threads\fR] [\fB\-q\fR|\fB\-\-quiet\fR] [\fB\-\-dep\-trace\fR] [\fB\-\-color\fR] [\fB\-\-no\-color\fR] [\fB\-y\fR|\fB\-\-yes\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fB\-i\fR|\fB\-\-input\fR>
|
|
8
8
|
.SH DESCRIPTION
|
|
9
9
|
Read a rom\-weaver\-bundle.json recipe, check that it is valid, and report the
|
|
10
10
|
ROM and patches it points at.
|
|
@@ -96,3 +96,6 @@ Keep colors even when output is piped
|
|
|
96
96
|
.TP
|
|
97
97
|
\fB\-\-no\-color\fR
|
|
98
98
|
Turn colors off
|
|
99
|
+
.TP
|
|
100
|
+
\fB\-y\fR, \fB\-\-yes\fR
|
|
101
|
+
Answer yes to every confirmation instead of asking. Does not choose between candidates
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
.SH NAME
|
|
5
5
|
rom\-weaver\-bundle\-schema \- Print the rom\-weaver\-bundle.json JSON Schema, for editors and hand\-authoring
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBrom\-weaver bundle schema\fR [\fB\-\-json\fR] [\fB\-\-progress\fR] [\fB\-\-no\-progress\fR] [\fB\-\-log\-level\fR] [\fB\-v\fR|\fB\-\-verbose\fR]... [\fB\-q\fR|\fB\-\-quiet\fR] [\fB\-\-dep\-trace\fR] [\fB\-\-color\fR] [\fB\-\-no\-color\fR] [\fB\-h\fR|\fB\-\-help\fR]
|
|
7
|
+
\fBrom\-weaver bundle schema\fR [\fB\-\-json\fR] [\fB\-\-progress\fR] [\fB\-\-no\-progress\fR] [\fB\-\-log\-level\fR] [\fB\-v\fR|\fB\-\-verbose\fR]... [\fB\-q\fR|\fB\-\-quiet\fR] [\fB\-\-dep\-trace\fR] [\fB\-\-color\fR] [\fB\-\-no\-color\fR] [\fB\-y\fR|\fB\-\-yes\fR] [\fB\-h\fR|\fB\-\-help\fR]
|
|
8
8
|
.SH DESCRIPTION
|
|
9
9
|
Print the rom\-weaver\-bundle.json JSON Schema to stdout.
|
|
10
10
|
.PP
|
|
@@ -65,3 +65,6 @@ Keep colors even when output is piped
|
|
|
65
65
|
.TP
|
|
66
66
|
\fB\-\-no\-color\fR
|
|
67
67
|
Turn colors off
|
|
68
|
+
.TP
|
|
69
|
+
\fB\-y\fR, \fB\-\-yes\fR
|
|
70
|
+
Answer yes to every confirmation instead of asking. Does not choose between candidates
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
.SH NAME
|
|
5
5
|
rom\-weaver\-bundle \- Build and read rom\-weaver\-bundle.json patch recipes
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBrom\-weaver bundle\fR [\fB\-\-json\fR] [\fB\-\-progress\fR] [\fB\-\-no\-progress\fR] [\fB\-\-log\-level\fR] [\fB\-v\fR|\fB\-\-verbose\fR]... [\fB\-q\fR|\fB\-\-quiet\fR] [\fB\-\-dep\-trace\fR] [\fB\-\-color\fR] [\fB\-\-no\-color\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fIsubcommands\fR>
|
|
7
|
+
\fBrom\-weaver bundle\fR [\fB\-\-json\fR] [\fB\-\-progress\fR] [\fB\-\-no\-progress\fR] [\fB\-\-log\-level\fR] [\fB\-v\fR|\fB\-\-verbose\fR]... [\fB\-q\fR|\fB\-\-quiet\fR] [\fB\-\-dep\-trace\fR] [\fB\-\-color\fR] [\fB\-\-no\-color\fR] [\fB\-y\fR|\fB\-\-yes\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fIsubcommands\fR>
|
|
8
8
|
.SH DESCRIPTION
|
|
9
9
|
Build and read rom\-weaver\-bundle.json patch recipes
|
|
10
10
|
.SH OPTIONS
|
|
@@ -57,6 +57,9 @@ Keep colors even when output is piped
|
|
|
57
57
|
.TP
|
|
58
58
|
\fB\-\-no\-color\fR
|
|
59
59
|
Turn colors off
|
|
60
|
+
.TP
|
|
61
|
+
\fB\-y\fR, \fB\-\-yes\fR
|
|
62
|
+
Answer yes to every confirmation instead of asking. Does not choose between candidates
|
|
60
63
|
.SH SUBCOMMANDS
|
|
61
64
|
.TP
|
|
62
65
|
rom\-weaver\-bundle\-create(1)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
.SH NAME
|
|
5
5
|
rom\-weaver\-checksum \- Compute checksums for a file, or for a ROM inside an archive
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBrom\-weaver checksum\fR
|
|
7
|
+
\fBrom\-weaver checksum\fR [\fB\-\-json\fR] [\fB\-a\fR|\fB\-\-algo\fR] [\fB\-\-progress\fR] [\fB\-\-no\-progress\fR] [\fB\-s\fR|\fB\-\-select\fR] [\fB\-\-filter\fR] [\fB\-\-log\-level\fR] [\fB\-\-no\-extract\fR] [\fB\-v\fR|\fB\-\-verbose\fR]... [\fB\-\-no\-ignore\fR] [\fB\-q\fR|\fB\-\-quiet\fR] [\fB\-\-dep\-trace\fR] [\fB\-\-no\-trim\-fix\fR] [\fB\-\-color\fR] [\fB\-\-start\fR] [\fB\-\-length\fR] [\fB\-\-no\-color\fR] [\fB\-\-probe\fR] [\fB\-y\fR|\fB\-\-yes\fR] [\fB\-j\fR|\fB\-\-threads\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fB\-i\fR|\fB\-\-input\fR>
|
|
8
8
|
.SH DESCRIPTION
|
|
9
9
|
Compute checksums for a file, so you can tell one dump from another.
|
|
10
10
|
.PP
|
|
@@ -20,8 +20,30 @@ match a file that is stored slightly differently.
|
|
|
20
20
|
\fB\-i\fR, \fB\-\-input\fR \fI<INPUT>\fR
|
|
21
21
|
File to hash. Use \- to read from stdin
|
|
22
22
|
.TP
|
|
23
|
-
\fB\-a\fR, \fB\-\-algo\fR \fI<ALGO>\fR
|
|
24
|
-
Which checksum to compute
|
|
23
|
+
\fB\-a\fR, \fB\-\-algo\fR \fI<ALGO>\fR [default: crc32,md5,sha1]
|
|
24
|
+
Which checksum to compute (repeatable, comma\-separable)
|
|
25
|
+
.br
|
|
26
|
+
|
|
27
|
+
.br
|
|
28
|
+
\fIPossible values:\fR
|
|
29
|
+
.RS 14
|
|
30
|
+
.IP \(bu 2
|
|
31
|
+
crc32
|
|
32
|
+
.IP \(bu 2
|
|
33
|
+
md5
|
|
34
|
+
.IP \(bu 2
|
|
35
|
+
sha1
|
|
36
|
+
.IP \(bu 2
|
|
37
|
+
sha256
|
|
38
|
+
.IP \(bu 2
|
|
39
|
+
blake3
|
|
40
|
+
.IP \(bu 2
|
|
41
|
+
crc32c
|
|
42
|
+
.IP \(bu 2
|
|
43
|
+
crc16
|
|
44
|
+
.IP \(bu 2
|
|
45
|
+
adler32
|
|
46
|
+
.RE
|
|
25
47
|
.TP
|
|
26
48
|
\fB\-s\fR, \fB\-\-select\fR \fI<SELECT>\fR
|
|
27
49
|
Pick which file inside the archive to use, by exact name, prefix, or glob (repeatable)
|
|
@@ -108,3 +130,6 @@ Keep colors even when output is piped
|
|
|
108
130
|
.TP
|
|
109
131
|
\fB\-\-no\-color\fR
|
|
110
132
|
Turn colors off
|
|
133
|
+
.TP
|
|
134
|
+
\fB\-y\fR, \fB\-\-yes\fR
|
|
135
|
+
Answer yes to every confirmation instead of asking. Does not choose between candidates
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
.SH NAME
|
|
5
5
|
rom\-weaver\-completions \- Print a tab\-completion script for your shell
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBrom\-weaver completions\fR [\fB\-\-json\fR] [\fB\-\-progress\fR] [\fB\-\-no\-progress\fR] [\fB\-\-log\-level\fR] [\fB\-v\fR|\fB\-\-verbose\fR]... [\fB\-q\fR|\fB\-\-quiet\fR] [\fB\-\-dep\-trace\fR] [\fB\-\-color\fR] [\fB\-\-no\-color\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fISHELL\fR>
|
|
7
|
+
\fBrom\-weaver completions\fR [\fB\-\-json\fR] [\fB\-\-progress\fR] [\fB\-\-no\-progress\fR] [\fB\-\-log\-level\fR] [\fB\-v\fR|\fB\-\-verbose\fR]... [\fB\-q\fR|\fB\-\-quiet\fR] [\fB\-\-dep\-trace\fR] [\fB\-\-color\fR] [\fB\-\-no\-color\fR] [\fB\-y\fR|\fB\-\-yes\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fISHELL\fR>
|
|
8
8
|
.SH DESCRIPTION
|
|
9
9
|
Print a tab\-completion script for your shell to stdout.
|
|
10
10
|
.PP
|
|
@@ -82,3 +82,6 @@ Keep colors even when output is piped
|
|
|
82
82
|
.TP
|
|
83
83
|
\fB\-\-no\-color\fR
|
|
84
84
|
Turn colors off
|
|
85
|
+
.TP
|
|
86
|
+
\fB\-y\fR, \fB\-\-yes\fR
|
|
87
|
+
Answer yes to every confirmation instead of asking. Does not choose between candidates
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
.SH NAME
|
|
5
5
|
rom\-weaver\-compress \- Pack files into an archive, disc image, or ROM\-specific compressed format
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBrom\-weaver compress\fR
|
|
7
|
+
\fBrom\-weaver compress\fR [\fB\-\-json\fR] [\fB\-f\fR|\fB\-\-format\fR] [\fB\-\-progress\fR] [\fB\-\-no\-progress\fR] [\fB\-\-codec\fR] [\fB\-\-log\-level\fR] [\fB\-\-level\fR] [\fB\-v\fR|\fB\-\-verbose\fR]... [\fB\-\-force\fR] [\fB\-q\fR|\fB\-\-quiet\fR] [\fB\-\-dep\-trace\fR] [\fB\-n\fR|\fB\-\-dry\-run\fR] [\fB\-\-color\fR] [\fB\-j\fR|\fB\-\-threads\fR] [\fB\-\-no\-color\fR] [\fB\-y\fR|\fB\-\-yes\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fB\-i\fR|\fB\-\-input\fR> <\fB\-o\fR|\fB\-\-output\fR>
|
|
8
8
|
.SH DESCRIPTION
|
|
9
9
|
Pack files into an archive, disc image, or ROM\-specific compressed format.
|
|
10
10
|
.PP
|
|
@@ -33,6 +33,22 @@ extension, this flag wins and a warning is printed.
|
|
|
33
33
|
|
|
34
34
|
Common alternate spellings are accepted, so `7zip` works as well as `7z` and
|
|
35
35
|
`3ds` as well as `z3ds`. The CLI guide lists every alias.
|
|
36
|
+
.br
|
|
37
|
+
|
|
38
|
+
.br
|
|
39
|
+
\fIPossible values:\fR
|
|
40
|
+
.RS 14
|
|
41
|
+
.IP \(bu 2
|
|
42
|
+
zip
|
|
43
|
+
.IP \(bu 2
|
|
44
|
+
7z
|
|
45
|
+
.IP \(bu 2
|
|
46
|
+
chd
|
|
47
|
+
.IP \(bu 2
|
|
48
|
+
rvz
|
|
49
|
+
.IP \(bu 2
|
|
50
|
+
z3ds
|
|
51
|
+
.RE
|
|
36
52
|
.TP
|
|
37
53
|
\fB\-o\fR, \fB\-\-output\fR \fI<PATH>\fR
|
|
38
54
|
Where to write the archive
|
|
@@ -49,6 +65,38 @@ Without :level, a codec follows the \-\-level profile.
|
|
|
49
65
|
|
|
50
66
|
Only the codec names a format actually supports are accepted; there are no
|
|
51
67
|
cross\-format synonyms. The CLI guide lists them per format.
|
|
68
|
+
.br
|
|
69
|
+
|
|
70
|
+
.br
|
|
71
|
+
\fIPossible values:\fR
|
|
72
|
+
.RS 14
|
|
73
|
+
.IP \(bu 2
|
|
74
|
+
store
|
|
75
|
+
.IP \(bu 2
|
|
76
|
+
deflate
|
|
77
|
+
.IP \(bu 2
|
|
78
|
+
zstd
|
|
79
|
+
.IP \(bu 2
|
|
80
|
+
lzma
|
|
81
|
+
.IP \(bu 2
|
|
82
|
+
lzma2
|
|
83
|
+
.IP \(bu 2
|
|
84
|
+
zlib
|
|
85
|
+
.IP \(bu 2
|
|
86
|
+
huff
|
|
87
|
+
.IP \(bu 2
|
|
88
|
+
flac
|
|
89
|
+
.IP \(bu 2
|
|
90
|
+
cdzs
|
|
91
|
+
.IP \(bu 2
|
|
92
|
+
cdlz
|
|
93
|
+
.IP \(bu 2
|
|
94
|
+
cdzl
|
|
95
|
+
.IP \(bu 2
|
|
96
|
+
cdfl
|
|
97
|
+
.IP \(bu 2
|
|
98
|
+
avhuff
|
|
99
|
+
.RE
|
|
52
100
|
.TP
|
|
53
101
|
\fB\-\-level\fR \fI<LEVEL>\fR [default: max]
|
|
54
102
|
How hard to compress: min, very\-low, low, medium, high, very\-high, or max
|
|
@@ -73,6 +121,12 @@ very\-high
|
|
|
73
121
|
max
|
|
74
122
|
.RE
|
|
75
123
|
.TP
|
|
124
|
+
\fB\-\-force\fR
|
|
125
|
+
Overwrite the output if it already exists (without this, the command stops instead)
|
|
126
|
+
.TP
|
|
127
|
+
\fB\-n\fR, \fB\-\-dry\-run\fR
|
|
128
|
+
Print the plan (inputs, output, format, codec, level, threads) and stop without writing
|
|
129
|
+
.TP
|
|
76
130
|
\fB\-j\fR, \fB\-\-threads\fR \fI<auto|N>\fR [default: auto]
|
|
77
131
|
How many threads to use at most. auto uses every core; a format may still use fewer
|
|
78
132
|
.TP
|
|
@@ -124,3 +178,6 @@ Keep colors even when output is piped
|
|
|
124
178
|
.TP
|
|
125
179
|
\fB\-\-no\-color\fR
|
|
126
180
|
Turn colors off
|
|
181
|
+
.TP
|
|
182
|
+
\fB\-y\fR, \fB\-\-yes\fR
|
|
183
|
+
Answer yes to every confirmation instead of asking. Does not choose between candidates
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
.SH NAME
|
|
5
5
|
rom\-weaver\-extract \- Unpack an archive or single\-payload compressed format
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBrom\-weaver extract\fR
|
|
7
|
+
\fBrom\-weaver extract\fR [\fB\-\-json\fR] [\fB\-\-progress\fR] [\fB\-s\fR|\fB\-\-select\fR] [\fB\-\-filter\fR] [\fB\-\-no\-progress\fR] [\fB\-\-log\-level\fR] [\fB\-\-split\-bin\fR] [\fB\-v\fR|\fB\-\-verbose\fR]... [\fB\-\-no\-ignore\fR] [\fB\-q\fR|\fB\-\-quiet\fR] [\fB\-\-dep\-trace\fR] [\fB\-\-no\-nested\-extract\fR] [\fB\-\-color\fR] [\fB\-\-force\fR] [\fB\-\-checksum\fR] [\fB\-\-no\-color\fR] [\fB\-\-checksum\-rom\fR] [\fB\-y\fR|\fB\-\-yes\fR] [\fB\-\-probe\fR] [\fB\-j\fR|\fB\-\-threads\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fB\-i\fR|\fB\-\-input\fR> <\fB\-o\fR|\fB\-\-output\fR>
|
|
8
8
|
.SH DESCRIPTION
|
|
9
9
|
Unpack an archive or single\-payload compressed format into a directory.
|
|
10
10
|
.PP
|
|
@@ -51,9 +51,53 @@ Overwrite files already in the output directory (without this, extraction stops
|
|
|
51
51
|
.TP
|
|
52
52
|
\fB\-\-checksum\fR \fI<ALGO>\fR
|
|
53
53
|
Also hash every extracted file (repeatable, comma\-separable)
|
|
54
|
+
.br
|
|
55
|
+
|
|
56
|
+
.br
|
|
57
|
+
\fIPossible values:\fR
|
|
58
|
+
.RS 14
|
|
59
|
+
.IP \(bu 2
|
|
60
|
+
crc32
|
|
61
|
+
.IP \(bu 2
|
|
62
|
+
md5
|
|
63
|
+
.IP \(bu 2
|
|
64
|
+
sha1
|
|
65
|
+
.IP \(bu 2
|
|
66
|
+
sha256
|
|
67
|
+
.IP \(bu 2
|
|
68
|
+
blake3
|
|
69
|
+
.IP \(bu 2
|
|
70
|
+
crc32c
|
|
71
|
+
.IP \(bu 2
|
|
72
|
+
crc16
|
|
73
|
+
.IP \(bu 2
|
|
74
|
+
adler32
|
|
75
|
+
.RE
|
|
54
76
|
.TP
|
|
55
77
|
\fB\-\-checksum\-rom\fR \fI<ALGO>\fR
|
|
56
|
-
Like \-\-checksum, but hash only the ROMs and skip sidecar files.
|
|
78
|
+
Like \-\-checksum, but hash only the ROMs and skip sidecar files. Cannot be combined with \-\-checksum
|
|
79
|
+
.br
|
|
80
|
+
|
|
81
|
+
.br
|
|
82
|
+
\fIPossible values:\fR
|
|
83
|
+
.RS 14
|
|
84
|
+
.IP \(bu 2
|
|
85
|
+
crc32
|
|
86
|
+
.IP \(bu 2
|
|
87
|
+
md5
|
|
88
|
+
.IP \(bu 2
|
|
89
|
+
sha1
|
|
90
|
+
.IP \(bu 2
|
|
91
|
+
sha256
|
|
92
|
+
.IP \(bu 2
|
|
93
|
+
blake3
|
|
94
|
+
.IP \(bu 2
|
|
95
|
+
crc32c
|
|
96
|
+
.IP \(bu 2
|
|
97
|
+
crc16
|
|
98
|
+
.IP \(bu 2
|
|
99
|
+
adler32
|
|
100
|
+
.RE
|
|
57
101
|
.TP
|
|
58
102
|
\fB\-\-probe\fR
|
|
59
103
|
Also report the format and platform of what was extracted, and fail if a lone payload matches no known platform
|
|
@@ -109,3 +153,6 @@ Keep colors even when output is piped
|
|
|
109
153
|
.TP
|
|
110
154
|
\fB\-\-no\-color\fR
|
|
111
155
|
Turn colors off
|
|
156
|
+
.TP
|
|
157
|
+
\fB\-y\fR, \fB\-\-yes\fR
|
|
158
|
+
Answer yes to every confirmation instead of asking. Does not choose between candidates
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
.ie \n(.g .ds Aq \(aq
|
|
2
|
+
.el .ds Aq '
|
|
3
|
+
.TH rom-weaver-formats 1 "rom-weaver-formats "
|
|
4
|
+
.SH NAME
|
|
5
|
+
rom\-weaver\-formats \- List the formats, codecs, and checksum algorithms this build supports
|
|
6
|
+
.SH SYNOPSIS
|
|
7
|
+
\fBrom\-weaver formats\fR [\fB\-\-json\fR] [\fB\-\-progress\fR] [\fB\-\-no\-progress\fR] [\fB\-\-log\-level\fR] [\fB\-v\fR|\fB\-\-verbose\fR]... [\fB\-q\fR|\fB\-\-quiet\fR] [\fB\-\-dep\-trace\fR] [\fB\-\-color\fR] [\fB\-\-no\-color\fR] [\fB\-y\fR|\fB\-\-yes\fR] [\fB\-h\fR|\fB\-\-help\fR]
|
|
8
|
+
.SH DESCRIPTION
|
|
9
|
+
List what this build supports, read straight from its registries: container
|
|
10
|
+
formats (and whether each can be created, extracted, or both), patch formats,
|
|
11
|
+
the codecs each container format accepts, and the checksum algorithms.
|
|
12
|
+
.PP
|
|
13
|
+
Pass \-\-json for the machine\-readable form.
|
|
14
|
+
.SH OPTIONS
|
|
15
|
+
.TP
|
|
16
|
+
\fB\-h\fR, \fB\-\-help\fR
|
|
17
|
+
Print help (see a summary with \*(Aq\-h\*(Aq)
|
|
18
|
+
.SH "GLOBAL OPTIONS"
|
|
19
|
+
.TP
|
|
20
|
+
\fB\-\-json\fR
|
|
21
|
+
Print one JSON object per line instead of human\-readable output
|
|
22
|
+
.TP
|
|
23
|
+
\fB\-\-progress\fR
|
|
24
|
+
Show progress even when output is piped to a file or another program
|
|
25
|
+
.TP
|
|
26
|
+
\fB\-\-no\-progress\fR
|
|
27
|
+
Hide progress
|
|
28
|
+
.TP
|
|
29
|
+
\fB\-\-log\-level\fR \fI<LOG_LEVEL>\fR
|
|
30
|
+
How much rom\-weaver logs to stderr. Separate from the normal output [default: off]
|
|
31
|
+
.br
|
|
32
|
+
|
|
33
|
+
.br
|
|
34
|
+
\fIPossible values:\fR
|
|
35
|
+
.RS 14
|
|
36
|
+
.IP \(bu 2
|
|
37
|
+
off
|
|
38
|
+
.IP \(bu 2
|
|
39
|
+
error
|
|
40
|
+
.IP \(bu 2
|
|
41
|
+
warn
|
|
42
|
+
.IP \(bu 2
|
|
43
|
+
info
|
|
44
|
+
.IP \(bu 2
|
|
45
|
+
debug
|
|
46
|
+
.IP \(bu 2
|
|
47
|
+
trace
|
|
48
|
+
.RE
|
|
49
|
+
.TP
|
|
50
|
+
\fB\-v\fR, \fB\-\-verbose\fR
|
|
51
|
+
Log more: \-v for info, \-vv for debug, \-vvv for trace
|
|
52
|
+
.TP
|
|
53
|
+
\fB\-q\fR, \fB\-\-quiet\fR
|
|
54
|
+
Log errors only
|
|
55
|
+
.TP
|
|
56
|
+
\fB\-\-dep\-trace\fR
|
|
57
|
+
Also log trace output from bundled libraries (for bug reports)
|
|
58
|
+
.TP
|
|
59
|
+
\fB\-\-color\fR
|
|
60
|
+
Keep colors even when output is piped
|
|
61
|
+
.TP
|
|
62
|
+
\fB\-\-no\-color\fR
|
|
63
|
+
Turn colors off
|
|
64
|
+
.TP
|
|
65
|
+
\fB\-y\fR, \fB\-\-yes\fR
|
|
66
|
+
Answer yes to every confirmation instead of asking. Does not choose between candidates
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
.SH NAME
|
|
5
5
|
rom\-weaver\-patch\-apply \- Apply one or more patches to a ROM, in order
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBrom\-weaver patch apply\fR
|
|
7
|
+
\fBrom\-weaver patch apply\fR [\fB\-\-json\fR] [\fB\-\-progress\fR] [\fB\-s\fR|\fB\-\-select\fR] [\fB\-\-no\-progress\fR] [\fB\-\-target\fR] [\fB\-\-filter\fR] [\fB\-\-log\-level\fR] [\fB\-\-no\-extract\fR] [\fB\-v\fR|\fB\-\-verbose\fR]... [\fB\-\-no\-ignore\fR] [\fB\-q\fR|\fB\-\-quiet\fR] [\fB\-\-dep\-trace\fR] [\fB\-\-patch\fR] [\fB\-\-color\fR] [\fB\-o\fR|\fB\-\-output\fR] [\fB\-\-bundle\fR] [\fB\-\-no\-color\fR] [\fB\-\-with\fR] [\fB\-y\fR|\fB\-\-yes\fR] [\fB\-\-without\fR] [\fB\-\-no\-compress\fR] [\fB\-\-compress\-format\fR] [\fB\-\-compress\-codec\fR] [\fB\-\-compress\-level\fR] [\fB\-\-assume\-in\fR] [\fB\-\-expect\-in\fR] [\fB\-\-patch\-header\fR] [\fB\-\-patch\-basis\fR] [\fB\-\-output\-header\fR] [\fB\-\-repair\-checksum\fR] [\fB\-\-n64\-byte\-order\fR] [\fB\-\-ignore\-checksum\-validation\fR] [\fB\-\-expect\-out\fR] [\fB\-\-code\fR] [\fB\-\-code\-system\fR] [\fB\-\-code\-kind\fR] [\fB\-\-emit\-bundle\fR] [\fB\-\-tui\fR] [\fB\-j\fR|\fB\-\-threads\fR] [\fB\-\-force\fR] [\fB\-n\fR|\fB\-\-dry\-run\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fB\-i\fR|\fB\-\-input\fR>
|
|
8
8
|
.SH DESCRIPTION
|
|
9
9
|
Apply one or more patches to a ROM, in order.
|
|
10
10
|
.PP
|
|
@@ -17,8 +17,12 @@ compressed format (the ROM inside is found for you), or a
|
|
|
17
17
|
rom\-weaver\-bundle.json that already names the ROM, the patches, and the
|
|
18
18
|
output.
|
|
19
19
|
.PP
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
When \-\-output names the selected ROM leaf\*(Aqs extension, rom\-weaver writes a
|
|
21
|
+
plain ROM. A registered container extension such as .zip compresses the result.
|
|
22
|
+
Pass \-\-no\-compress (or \-\-raw) to force a plain ROM, or use \-\-compress\-format,
|
|
23
|
+
\-\-compress\-codec, and \-\-compress\-level (also accepted as \-\-format, \-\-codec,
|
|
24
|
+
and \-\-level) to force compression. Without \-\-output, an ordinary file apply
|
|
25
|
+
writes a collision\-safe sibling named <stem>\-patched.<ext>.
|
|
22
26
|
.PP
|
|
23
27
|
Patch formats: IPS, IPS32, SOLID, BPS, UPS, VCDIFF, xdelta, GDIFF,
|
|
24
28
|
HDiffPatch/HPatchZ, APS (N64), APSGBA, RUP, PPF, PAT/FFP, EBP, BDF/BSDIFF40,
|
|
@@ -31,33 +35,18 @@ DCP needs a Dreamcast .cue or .gdi input. It rebuilds the whole disc, so it
|
|
|
31
35
|
cannot be combined with other patches or with the header and checksum options.
|
|
32
36
|
.SH OPTIONS
|
|
33
37
|
.TP
|
|
34
|
-
\fB
|
|
35
|
-
|
|
36
|
-
.TP
|
|
37
|
-
\fB\-s\fR, \fB\-\-select\fR \fI<SELECT>\fR
|
|
38
|
-
Pick which file to use when the ROM or a patch is inside an archive, by exact name, prefix, or glob (repeatable)
|
|
38
|
+
\fB\-\-force\fR
|
|
39
|
+
Overwrite the output if it already exists (without this, the command stops instead)
|
|
39
40
|
.TP
|
|
40
|
-
\fB
|
|
41
|
-
|
|
41
|
+
\fB\-n\fR, \fB\-\-dry\-run\fR
|
|
42
|
+
Print the plan (inputs, patches, output, format, codec, level, threads) and stop without writing
|
|
42
43
|
.TP
|
|
43
|
-
\fB
|
|
44
|
-
|
|
45
|
-
.
|
|
46
|
-
|
|
47
|
-
.br
|
|
48
|
-
\fIPossible values:\fR
|
|
49
|
-
.RS 14
|
|
50
|
-
.IP \(bu 2
|
|
51
|
-
rom
|
|
52
|
-
.IP \(bu 2
|
|
53
|
-
patch
|
|
54
|
-
.RE
|
|
55
|
-
.TP
|
|
56
|
-
\fB\-\-no\-extract\fR
|
|
57
|
-
Do not look inside archives; treat the input and every patch as raw files
|
|
44
|
+
\fB\-h\fR, \fB\-\-help\fR
|
|
45
|
+
Print help (see a summary with \*(Aq\-h\*(Aq)
|
|
46
|
+
.SH BASIC
|
|
58
47
|
.TP
|
|
59
|
-
\fB
|
|
60
|
-
|
|
48
|
+
\fB\-i\fR, \fB\-\-input\fR \fI<PATH>\fR
|
|
49
|
+
ROM to patch. May be an archive, a disc sheet (.cue/.gdi), or a bundle
|
|
61
50
|
.TP
|
|
62
51
|
\fB\-\-patch\fR \fI<PATCHES>\fR
|
|
63
52
|
Patch to apply. Repeat once per patch; they run in the order given, each on the
|
|
@@ -69,20 +58,6 @@ the ROM inside the input archive.
|
|
|
69
58
|
\fB\-o\fR, \fB\-\-output\fR \fI<OUTPUT>\fR
|
|
70
59
|
Where to write the patched ROM. Optional when a bundle already names the output
|
|
71
60
|
.TP
|
|
72
|
-
\fB\-\-bundle\fR \fI<BUNDLE>\fR
|
|
73
|
-
Follow a rom\-weaver\-bundle.json recipe, which lists the patches, their order,
|
|
74
|
-
and the expected checksums. Takes a file path or an http(s) URL.
|
|
75
|
-
|
|
76
|
-
You can usually skip this flag. A bundle is picked up automatically when
|
|
77
|
-
\-\-input is a rom\-weaver\-bundle.json (optionally .gz, .bz2, .xz, or .zst), or an
|
|
78
|
-
archive with one at its root, and you passed no \-\-patch of your own.
|
|
79
|
-
.TP
|
|
80
|
-
\fB\-\-with\fR \fI<GLOB>\fR
|
|
81
|
-
Turn on a bundle patch the bundle leaves off by default, matched by name or file name (repeatable)
|
|
82
|
-
.TP
|
|
83
|
-
\fB\-\-without\fR \fI<GLOB>\fR
|
|
84
|
-
Turn off a bundle patch, matched by name or file name (repeatable)
|
|
85
|
-
.TP
|
|
86
61
|
\fB\-\-no\-compress\fR
|
|
87
62
|
Write a plain ROM instead of compressing the result
|
|
88
63
|
.TP
|
|
@@ -93,6 +68,22 @@ Normally you do not need this: the format comes from the \-\-output extension.
|
|
|
93
68
|
Pass it when the output name has no usable extension. If it disagrees with the
|
|
94
69
|
extension, this flag wins and a warning is printed. Use \-\-no\-compress to write
|
|
95
70
|
a plain ROM instead.
|
|
71
|
+
.br
|
|
72
|
+
|
|
73
|
+
.br
|
|
74
|
+
\fIPossible values:\fR
|
|
75
|
+
.RS 14
|
|
76
|
+
.IP \(bu 2
|
|
77
|
+
zip
|
|
78
|
+
.IP \(bu 2
|
|
79
|
+
7z
|
|
80
|
+
.IP \(bu 2
|
|
81
|
+
chd
|
|
82
|
+
.IP \(bu 2
|
|
83
|
+
rvz
|
|
84
|
+
.IP \(bu 2
|
|
85
|
+
z3ds
|
|
86
|
+
.RE
|
|
96
87
|
.TP
|
|
97
88
|
\fB\-\-compress\-codec\fR \fI<COMPRESS_CODEC>\fR
|
|
98
89
|
Compression method for the patched ROM, written as codec or codec:level.
|
|
@@ -103,6 +94,38 @@ this is only for overriding that choice. CHD takes a list, tried in order:
|
|
|
103
94
|
\-\-compress\-codec cdzs:19,cdzl,cdfl
|
|
104
95
|
|
|
105
96
|
Without :level, a codec follows the \-\-compress\-level profile.
|
|
97
|
+
.br
|
|
98
|
+
|
|
99
|
+
.br
|
|
100
|
+
\fIPossible values:\fR
|
|
101
|
+
.RS 14
|
|
102
|
+
.IP \(bu 2
|
|
103
|
+
store
|
|
104
|
+
.IP \(bu 2
|
|
105
|
+
deflate
|
|
106
|
+
.IP \(bu 2
|
|
107
|
+
zstd
|
|
108
|
+
.IP \(bu 2
|
|
109
|
+
lzma
|
|
110
|
+
.IP \(bu 2
|
|
111
|
+
lzma2
|
|
112
|
+
.IP \(bu 2
|
|
113
|
+
zlib
|
|
114
|
+
.IP \(bu 2
|
|
115
|
+
huff
|
|
116
|
+
.IP \(bu 2
|
|
117
|
+
flac
|
|
118
|
+
.IP \(bu 2
|
|
119
|
+
cdzs
|
|
120
|
+
.IP \(bu 2
|
|
121
|
+
cdlz
|
|
122
|
+
.IP \(bu 2
|
|
123
|
+
cdzl
|
|
124
|
+
.IP \(bu 2
|
|
125
|
+
cdfl
|
|
126
|
+
.IP \(bu 2
|
|
127
|
+
avhuff
|
|
128
|
+
.RE
|
|
106
129
|
.TP
|
|
107
130
|
\fB\-\-compress\-level\fR \fI<COMPRESS_LEVEL>\fR
|
|
108
131
|
How hard to compress: min, very\-low, low, medium, high, very\-high, or max [default: max]
|
|
@@ -126,6 +149,47 @@ very\-high
|
|
|
126
149
|
.IP \(bu 2
|
|
127
150
|
max
|
|
128
151
|
.RE
|
|
152
|
+
.SH ARCHIVE/BUNDLE
|
|
153
|
+
.TP
|
|
154
|
+
\fB\-s\fR, \fB\-\-select\fR \fI<SELECT>\fR
|
|
155
|
+
Pick which file to use when the ROM or a patch is inside an archive, by exact name, prefix, or glob (repeatable)
|
|
156
|
+
.TP
|
|
157
|
+
\fB\-\-target\fR \fI<TARGET>\fR
|
|
158
|
+
For a .cue or .gdi input, which track gets the patch. Matched like \-\-select and must hit exactly one track
|
|
159
|
+
.TP
|
|
160
|
+
\fB\-\-filter\fR \fI<FILTER>\fR
|
|
161
|
+
Consider only files that look like a rom or a patch, judged by extension (repeatable, comma\-separable)
|
|
162
|
+
.br
|
|
163
|
+
|
|
164
|
+
.br
|
|
165
|
+
\fIPossible values:\fR
|
|
166
|
+
.RS 14
|
|
167
|
+
.IP \(bu 2
|
|
168
|
+
rom
|
|
169
|
+
.IP \(bu 2
|
|
170
|
+
patch
|
|
171
|
+
.RE
|
|
172
|
+
.TP
|
|
173
|
+
\fB\-\-no\-extract\fR
|
|
174
|
+
Do not look inside archives; treat the input and every patch as raw files
|
|
175
|
+
.TP
|
|
176
|
+
\fB\-\-no\-ignore\fR
|
|
177
|
+
Also consider files normally skipped inside archives: readmes, images, checksum sidecars, and OS clutter such as .DS_Store
|
|
178
|
+
.TP
|
|
179
|
+
\fB\-\-bundle\fR \fI<BUNDLE>\fR
|
|
180
|
+
Follow a rom\-weaver\-bundle.json recipe, which lists the patches, their order,
|
|
181
|
+
and the expected checksums. Takes a file path or an http(s) URL.
|
|
182
|
+
|
|
183
|
+
You can usually skip this flag. A bundle is picked up automatically when
|
|
184
|
+
\-\-input is a rom\-weaver\-bundle.json (optionally .gz, .bz2, .xz, or .zst), or an
|
|
185
|
+
archive with one at its root, and you passed no \-\-patch of your own.
|
|
186
|
+
.TP
|
|
187
|
+
\fB\-\-with\fR \fI<GLOB>\fR
|
|
188
|
+
Turn on a bundle patch the bundle leaves off by default, matched by name or file name (repeatable)
|
|
189
|
+
.TP
|
|
190
|
+
\fB\-\-without\fR \fI<GLOB>\fR
|
|
191
|
+
Turn off a bundle patch, matched by name or file name (repeatable)
|
|
192
|
+
.SH COMPATIBILITY
|
|
129
193
|
.TP
|
|
130
194
|
\fB\-\-assume\-in\fR \fI<ALGO=HEX>\fR
|
|
131
195
|
Take this checksum on trust instead of reading the ROM to compute it, as in
|
|
@@ -150,9 +214,12 @@ Some ROMs carry a small header added by old copier hardware, and a patch may
|
|
|
150
214
|
have been made either with it or without it. Getting this wrong makes the patch
|
|
151
215
|
fail or produce a broken ROM.
|
|
152
216
|
|
|
153
|
-
auto Work it out per patch (the default).
|
|
154
|
-
|
|
155
|
-
|
|
217
|
+
auto Work it out per patch (the default). A patch carrying its own source
|
|
218
|
+
checksum (BPS, UPS, RUP) settles it outright. A patch without one
|
|
219
|
+
(IPS) is judged on where its records land, and if that is still
|
|
220
|
+
unclear by applying it both ways and keeping the result the console
|
|
221
|
+
still recognises as its own ROM. Any remaining doubt leaves the
|
|
222
|
+
bytes alone.
|
|
156
223
|
keep Apply to the bytes as they are.
|
|
157
224
|
strip Remove the header first.
|
|
158
225
|
|
|
@@ -189,8 +256,11 @@ checksums describe.
|
|
|
189
256
|
previous The output of the patch before it.
|
|
190
257
|
|
|
191
258
|
Reach for this when several patches in a chain were each written against the
|
|
192
|
-
unmodified ROM rather than against each other.
|
|
193
|
-
|
|
259
|
+
unmodified ROM rather than against each other.
|
|
260
|
+
|
|
261
|
+
This flag must follow the \-\-patch it describes; it binds to the most recent
|
|
262
|
+
\-\-patch and carries forward until the next occurrence. An occurrence before any
|
|
263
|
+
\-\-patch applies to every patch.
|
|
194
264
|
.br
|
|
195
265
|
|
|
196
266
|
.br
|
|
@@ -241,7 +311,9 @@ N64 dumps circulate in three interleavings (.z64 big\-endian, .v64 byte\-swapped
|
|
|
241
311
|
\&.n64 little\-endian) and a patch only matches one of them.
|
|
242
312
|
|
|
243
313
|
auto Match whichever order the patch\*(Aqs source CRC32 names. The
|
|
244
|
-
default, and almost always right.
|
|
314
|
+
default, and almost always right. For the first patch, one
|
|
315
|
+
that carries no checksum (IPS) falls back to the shape of its
|
|
316
|
+
changes; an order settled that way is named in the report.
|
|
245
317
|
keep Leave the ROM as it is.
|
|
246
318
|
big\-endian Rewrite to .z64 order.
|
|
247
319
|
little\-endian Rewrite to .n64 order.
|
|
@@ -268,6 +340,7 @@ byte\-swapped
|
|
|
268
340
|
.TP
|
|
269
341
|
\fB\-\-ignore\-checksum\-validation\fR
|
|
270
342
|
Apply the patch even when its own checksums do not match. Can produce a broken ROM
|
|
343
|
+
.SH DIAGNOSTICS/AUTHORING
|
|
271
344
|
.TP
|
|
272
345
|
\fB\-\-expect\-out\fR \fI<ALGO=HEX>\fR
|
|
273
346
|
Fail unless the patched ROM has this checksum, as in sha1=abc... (repeatable, comma\-separable)
|
|
@@ -286,12 +359,10 @@ Also write a rom\-weaver\-bundle.json recording this run, so someone else can re
|
|
|
286
359
|
.TP
|
|
287
360
|
\fB\-\-tui\fR
|
|
288
361
|
Ask for each patch\*(Aqs name, version, and author, then apply and write a bundle. Needs a terminal
|
|
362
|
+
.SH PERFORMANCE
|
|
289
363
|
.TP
|
|
290
364
|
\fB\-j\fR, \fB\-\-threads\fR \fI<auto|N>\fR [default: auto]
|
|
291
365
|
How many threads to use at most. auto uses every core; a format may still use fewer
|
|
292
|
-
.TP
|
|
293
|
-
\fB\-h\fR, \fB\-\-help\fR
|
|
294
|
-
Print help (see a summary with \*(Aq\-h\*(Aq)
|
|
295
366
|
.SH "GLOBAL OPTIONS"
|
|
296
367
|
.TP
|
|
297
368
|
\fB\-\-json\fR
|
|
@@ -338,20 +409,9 @@ Keep colors even when output is piped
|
|
|
338
409
|
.TP
|
|
339
410
|
\fB\-\-no\-color\fR
|
|
340
411
|
Turn colors off
|
|
412
|
+
.TP
|
|
413
|
+
\fB\-y\fR, \fB\-\-yes\fR
|
|
414
|
+
Answer yes to every confirmation instead of asking. Does not choose between candidates
|
|
341
415
|
.SH EXTRA
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
rom\-weaver patch apply \-\-input game.sfc \-\-patch hack.bps \\
|
|
345
|
-
\-\-output hacked.sfc \-\-no\-compress
|
|
346
|
-
|
|
347
|
-
# Two patches in order, straight out of and back into a zip
|
|
348
|
-
rom\-weaver patch apply \-\-input game.zip \\
|
|
349
|
-
\-\-patch translation.bps \-\-patch fixes.ips \-\-output hacked.zip
|
|
350
|
-
|
|
351
|
-
# Replay someone else\*(Aqs published recipe
|
|
352
|
-
rom\-weaver patch apply \-\-bundle rom\-weaver\-bundle.json \-\-input game.sfc
|
|
353
|
-
|
|
354
|
-
# Check the result against a checksum the patch author published
|
|
355
|
-
rom\-weaver patch apply \-\-input game.sfc \-\-patch hack.bps \\
|
|
356
|
-
\-\-output hacked.sfc \-\-no\-compress \\
|
|
357
|
-
\-\-expect\-out sha1=0123456789abcdef0123456789abcdef01234567
|
|
416
|
+
Example:
|
|
417
|
+
rom\-weaver patch apply \-i game.sfc \-\-patch hack.bps \-o hacked.sfc
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
.SH NAME
|
|
5
5
|
rom\-weaver\-patch\-create \- Build a patch from an original ROM and a changed one
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBrom\-weaver patch create\fR [\fB\-\-json\fR]
|
|
7
|
+
\fBrom\-weaver patch create\fR [\fB\-\-json\fR] [\fB\-\-modified\fR] [\fB\-\-progress\fR] [\fB\-f\fR|\fB\-\-format\fR] [\fB\-\-no\-progress\fR] [\fB\-\-log\-level\fR] [\fB\-o\fR|\fB\-\-output\fR] [\fB\-\-plan\fR] [\fB\-v\fR|\fB\-\-verbose\fR]... [\fB\-\-ignore\-checksum\-validation\fR] [\fB\-q\fR|\fB\-\-quiet\fR] [\fB\-\-checksum\-name\fR] [\fB\-\-dep\-trace\fR] [\fB\-\-assume\-in\fR] [\fB\-\-color\fR] [\fB\-\-code\fR] [\fB\-\-no\-color\fR] [\fB\-\-code\-system\fR] [\fB\-y\fR|\fB\-\-yes\fR] [\fB\-\-code\-kind\fR] [\fB\-j\fR|\fB\-\-threads\fR] [\fB\-\-solid\-system\fR] [\fB\-\-solid\-game\fR] [\fB\-\-solid\-hack\fR] [\fB\-\-solid\-version\fR] [\fB\-\-solid\-author\fR] [\fB\-\-solid\-contact\fR] [\fB\-\-solid\-comment\fR] [\fB\-\-solid\-extended\fR] [\fB\-\-xdelta\-secondary\fR] [\fB\-\-force\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fB\-\-original\fR>
|
|
8
8
|
.SH DESCRIPTION
|
|
9
9
|
Build a patch from an original ROM and a changed one, so you can share the
|
|
10
10
|
change without sharing the ROM.
|
|
@@ -116,6 +116,9 @@ fgk
|
|
|
116
116
|
none
|
|
117
117
|
.RE
|
|
118
118
|
.TP
|
|
119
|
+
\fB\-\-force\fR
|
|
120
|
+
Overwrite the output if it already exists (without this, the command stops instead)
|
|
121
|
+
.TP
|
|
119
122
|
\fB\-h\fR, \fB\-\-help\fR
|
|
120
123
|
Print help (see a summary with \*(Aq\-h\*(Aq)
|
|
121
124
|
.SH "GLOBAL OPTIONS"
|
|
@@ -164,3 +167,6 @@ Keep colors even when output is piped
|
|
|
164
167
|
.TP
|
|
165
168
|
\fB\-\-no\-color\fR
|
|
166
169
|
Turn colors off
|
|
170
|
+
.TP
|
|
171
|
+
\fB\-y\fR, \fB\-\-yes\fR
|
|
172
|
+
Answer yes to every confirmation instead of asking. Does not choose between candidates
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
.SH NAME
|
|
5
5
|
rom\-weaver\-patch\-validate \- Check that patches would apply cleanly, without writing anything
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBrom\-weaver patch validate\fR
|
|
7
|
+
\fBrom\-weaver patch validate\fR [\fB\-\-json\fR] [\fB\-\-progress\fR] [\fB\-s\fR|\fB\-\-select\fR] [\fB\-\-filter\fR] [\fB\-\-no\-progress\fR] [\fB\-\-log\-level\fR] [\fB\-\-no\-extract\fR] [\fB\-\-no\-ignore\fR] [\fB\-v\fR|\fB\-\-verbose\fR]... [\fB\-q\fR|\fB\-\-quiet\fR] [\fB\-\-assume\-in\fR] [\fB\-\-dep\-trace\fR] [\fB\-\-color\fR] [\fB\-\-expect\-in\fR] [\fB\-\-no\-color\fR] [\fB\-\-strip\-header\fR] [\fB\-\-n64\-byte\-order\fR] [\fB\-y\fR|\fB\-\-yes\fR] [\fB\-\-ignore\-checksum\-validation\fR] [\fB\-\-independent\fR] [\fB\-\-plan\fR] [\fB\-\-patch\-basis\fR] [\fB\-\-patch\-input\-check\fR] [\fB\-\-patch\-output\-check\fR] [\fB\-j\fR|\fB\-\-threads\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fB\-i\fR|\fB\-\-input\fR> <\fB\-\-patch\fR>
|
|
8
8
|
.SH DESCRIPTION
|
|
9
9
|
Check that patches would apply cleanly to a ROM, without writing anything.
|
|
10
10
|
.PP
|
|
@@ -159,3 +159,6 @@ Keep colors even when output is piped
|
|
|
159
159
|
.TP
|
|
160
160
|
\fB\-\-no\-color\fR
|
|
161
161
|
Turn colors off
|
|
162
|
+
.TP
|
|
163
|
+
\fB\-y\fR, \fB\-\-yes\fR
|
|
164
|
+
Answer yes to every confirmation instead of asking. Does not choose between candidates
|