@rom-weaver/cli 0.12.3 → 0.14.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.
Files changed (38) hide show
  1. package/README.md +38 -270
  2. package/docs/completions/_rom-weaver +878 -23
  3. package/docs/completions/rom-weaver.bash +1052 -53
  4. package/docs/completions/rom-weaver.elv +442 -12
  5. package/docs/completions/rom-weaver.fish +258 -41
  6. package/docs/completions/rom-weaver.ps1 +489 -12
  7. package/docs/man/rom-weaver-bundle-create.1 +75 -3
  8. package/docs/man/rom-weaver-bundle-parse.1 +4 -1
  9. package/docs/man/rom-weaver-bundle-schema.1 +4 -1
  10. package/docs/man/rom-weaver-bundle.1 +4 -1
  11. package/docs/man/rom-weaver-checksum.1 +28 -3
  12. package/docs/man/rom-weaver-completions.1 +4 -1
  13. package/docs/man/rom-weaver-compress.1 +58 -1
  14. package/docs/man/rom-weaver-extract.1 +49 -2
  15. package/docs/man/rom-weaver-formats.1 +66 -0
  16. package/docs/man/rom-weaver-identify-database-import-redump.1 +68 -0
  17. package/docs/man/rom-weaver-identify-database-install-all.1 +65 -0
  18. package/docs/man/rom-weaver-identify-database-install-group.1 +71 -0
  19. package/docs/man/rom-weaver-identify-database-install.1 +74 -0
  20. package/docs/man/rom-weaver-identify-database-list.1 +65 -0
  21. package/docs/man/rom-weaver-identify-database-path.1 +65 -0
  22. package/docs/man/rom-weaver-identify-database-remove.1 +68 -0
  23. package/docs/man/rom-weaver-identify-database-status.1 +65 -0
  24. package/docs/man/rom-weaver-identify-database-update.1 +71 -0
  25. package/docs/man/rom-weaver-identify-database.1 +90 -0
  26. package/docs/man/rom-weaver-identify.1 +123 -0
  27. package/docs/man/rom-weaver-patch-apply.1 +128 -68
  28. package/docs/man/rom-weaver-patch-create.1 +9 -3
  29. package/docs/man/rom-weaver-patch-validate.1 +4 -1
  30. package/docs/man/rom-weaver-patch.1 +4 -1
  31. package/docs/man/rom-weaver-probe.1 +4 -1
  32. package/docs/man/rom-weaver-tools-ppf-undo.1 +4 -1
  33. package/docs/man/rom-weaver-tools.1 +4 -1
  34. package/docs/man/rom-weaver-trim.1 +20 -1
  35. package/docs/man/rom-weaver-weave.1 +128 -68
  36. package/docs/man/rom-weaver.1 +11 -5
  37. package/package.json +14 -13
  38. package/docs/man/rom-weaver-ingest.1 +0 -98
@@ -1,6 +1,6 @@
1
1
  # Print an optspec for argparse to handle cmd's options that are independent of any subcommand.
2
2
  function __fish_rom_weaver_global_optspecs
3
- string join \n json progress no-progress log-level= v/verbose q/quiet dep-trace color no-color h/help V/version
3
+ string join \n json progress no-progress log-level= v/verbose q/quiet dep-trace color no-color y/yes h/help V/version
4
4
  end
5
5
 
6
6
  function __fish_rom_weaver_needs_command
@@ -38,12 +38,14 @@ complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -s q -l quiet -d 'Lo
38
38
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
39
39
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -l color -d 'Keep colors even when output is piped'
40
40
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -l no-color -d 'Turn colors off'
41
+ complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
41
42
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -s h -l help -d 'Print help (see more with \'--help\')'
42
43
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -s V -l version -d 'Print version'
43
44
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -f -a "probe" -d 'Identify a file: its format, its platform, and any header it carries'
44
45
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -f -a "inspect" -d 'Identify a file: its format, its platform, and any header it carries'
45
46
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -f -a "extract" -d 'Unpack an archive or single-payload compressed format'
46
47
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -f -a "checksum" -d 'Compute checksums for a file, or for a ROM inside an archive'
48
+ complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -f -a "identify" -d 'Identify a ROM title from its checksums'
47
49
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -f -a "ingest" -d 'Sort a file into ROMs and patches, unpacking and hashing along the way'
48
50
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -f -a "compress" -d 'Pack files into an archive, disc image, or ROM-specific compressed format'
49
51
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -f -a "trim" -d 'Cut the padding off a ROM, or put it back'
@@ -53,6 +55,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -f -a "tools" -d 'On
53
55
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -f -a "plan-extract-batch" -d 'Plan a memory-/thread-aware concurrent extraction schedule from per-job source sizes (no I/O)'
54
56
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -f -a "weave" -d 'Apply one or more patches to a ROM, in order (same as `patch apply`)'
55
57
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -f -a "completions" -d 'Print a tab-completion script for your shell'
58
+ complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -f -a "formats" -d 'List the formats, codecs, and checksum algorithms this build supports'
56
59
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
57
60
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand probe" -s i -l input -d 'File to identify. Use - to read from stdin' -r -F
58
61
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand probe" -s s -l select -d 'Pick which file inside the archive to use, by exact name, prefix, or glob (repeatable)' -r
@@ -74,6 +77,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand probe" -s q -l qui
74
77
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand probe" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
75
78
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand probe" -l color -d 'Keep colors even when output is piped'
76
79
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand probe" -l no-color -d 'Turn colors off'
80
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand probe" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
77
81
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand probe" -s h -l help -d 'Print help (see more with \'--help\')'
78
82
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand inspect" -s i -l input -d 'File to identify. Use - to read from stdin' -r -F
79
83
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand inspect" -s s -l select -d 'Pick which file inside the archive to use, by exact name, prefix, or glob (repeatable)' -r
@@ -95,14 +99,29 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand inspect" -s q -l q
95
99
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand inspect" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
96
100
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand inspect" -l color -d 'Keep colors even when output is piped'
97
101
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand inspect" -l no-color -d 'Turn colors off'
102
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand inspect" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
98
103
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand inspect" -s h -l help -d 'Print help (see more with \'--help\')'
99
104
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -s i -l input -d 'Archive or single-payload compressed format to unpack' -r -F
100
105
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -s s -l select -d 'Extract only these files, by exact name, prefix, or glob (repeatable). For example: --select \'game.disc0?.bin\'' -r
101
106
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -l filter -d 'Extract only files that look like a rom or a patch, judged by extension (repeatable, comma-separable)' -r -f -a "rom\t''
102
107
  patch\t''"
103
108
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -s o -l output -d 'Directory to write the extracted files into' -r -F
104
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -l checksum -d 'Also hash every extracted file (repeatable, comma-separable)' -r
105
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -l checksum-rom -d 'Like --checksum, but hash only the ROMs and skip sidecar files. Ignored when --checksum is also given' -r
109
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -l checksum -l algo -d 'Also hash every extracted file (repeatable, comma-separable)' -r -f -a "crc32\t''
110
+ md5\t''
111
+ sha1\t''
112
+ sha256\t''
113
+ blake3\t''
114
+ crc32c\t''
115
+ crc16\t''
116
+ adler32\t''"
117
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -l checksum-rom -d 'Like --checksum, but hash only the ROMs and skip sidecar files. Cannot be combined with --checksum' -r -f -a "crc32\t''
118
+ md5\t''
119
+ sha1\t''
120
+ sha256\t''
121
+ blake3\t''
122
+ crc32c\t''
123
+ crc16\t''
124
+ adler32\t''"
106
125
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -s j -l threads -d 'How many threads to use at most. auto uses every core; a format may still use fewer' -r
107
126
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -l log-level -d 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]' -r -f -a "off\t''
108
127
  error\t''
@@ -123,9 +142,17 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -s q -l q
123
142
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
124
143
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -l color -d 'Keep colors even when output is piped'
125
144
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -l no-color -d 'Turn colors off'
145
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
126
146
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -s h -l help -d 'Print help (see more with \'--help\')'
127
147
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand checksum" -s i -l input -d 'File to hash. Use - to read from stdin' -r -F
128
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand checksum" -s a -l algo -d 'Which checksum to compute: crc32, md5, sha1, sha256, blake3, crc32c, crc16, or adler32 (repeatable, comma-separable)' -r
148
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand checksum" -s a -l algo -l checksum -d 'Which checksum to compute (repeatable, comma-separable)' -r -f -a "crc32\t''
149
+ md5\t''
150
+ sha1\t''
151
+ sha256\t''
152
+ blake3\t''
153
+ crc32c\t''
154
+ crc16\t''
155
+ adler32\t''"
129
156
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand checksum" -s s -l select -d 'Pick which file inside the archive to use, by exact name, prefix, or glob (repeatable)' -r
130
157
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand checksum" -l filter -d 'Consider only files that look like a rom or a patch, judged by extension (repeatable, comma-separable)' -r -f -a "rom\t''
131
158
  patch\t''"
@@ -150,14 +177,84 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand checksum" -s q -l
150
177
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand checksum" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
151
178
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand checksum" -l color -d 'Keep colors even when output is piped'
152
179
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand checksum" -l no-color -d 'Turn colors off'
180
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand checksum" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
153
181
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand checksum" -s h -l help -d 'Print help (see more with \'--help\')'
182
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -s i -l input -d 'ROM to identify. Use - to read from stdin' -r -F
183
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -l hash -d 'Identify by a checksum instead of a file; accepts crc32/md5/sha1 hex (repeatable, one per algorithm)' -r
184
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -l size -d 'Exact byte size to pair with --hash, narrowing the lookup to records of that size' -r
185
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -s d -l database -d 'RWFP1 identify pack, raw or Brotli, to search instead of the built-in data (repeatable)' -r -F
186
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -l system -d 'Search only this system\'s pack. Takes a canonical platform name or a common alias (e.g. `snes`, `psx`)' -r
187
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -l database-dir -d 'Directory of installed identify packs (*.pack plus optional catalog.json). Defaults to the per-user data directory' -r -F
188
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -s s -l select -d 'Pick which file inside the archive to use, by exact name, prefix, or glob (repeatable)' -r
189
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -l filter -d 'Consider only files that look like a rom or a patch, judged by extension (repeatable, comma-separable)' -r -f -a "rom\t''
190
+ patch\t''"
191
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -s j -l threads -d 'How many threads to use at most. auto uses every core; a format may still use fewer' -r
192
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -l log-level -d 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]' -r -f -a "off\t''
193
+ error\t''
194
+ warn\t''
195
+ info\t''
196
+ debug\t''
197
+ trace\t''"
198
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -l offline -d 'Assert that identify performs no network access (it never does natively; this flag records the guarantee)'
199
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -l exhaustive-database-search -d 'Search every installed pack instead of only the packs the detected platform routes to'
200
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -l no-extract -d 'Do not look inside archives; identify the file itself'
201
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -l no-ignore -d 'Also consider files normally skipped inside archives: readmes, images, checksum sidecars, and OS clutter such as .DS_Store'
202
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -l no-trim-fix -d 'Skip extra checksums for trimmed and untrimmed ROM forms'
203
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -l json -d 'Print one JSON object per line instead of human-readable output'
204
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -l progress -d 'Show progress even when output is piped to a file or another program'
205
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -l no-progress -d 'Hide progress'
206
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -s v -l verbose -d 'Log more: -v for info, -vv for debug, -vvv for trace'
207
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -s q -l quiet -d 'Log errors only'
208
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
209
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -l color -d 'Keep colors even when output is piped'
210
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -l no-color -d 'Turn colors off'
211
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
212
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -s h -l help -d 'Print help (see more with \'--help\')'
213
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -f -a "database" -d 'Manage the installed identify database packs'
214
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and not __fish_seen_subcommand_from database help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
215
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and __fish_seen_subcommand_from database" -l log-level -d 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]' -r -f -a "off\t''
216
+ error\t''
217
+ warn\t''
218
+ info\t''
219
+ debug\t''
220
+ trace\t''"
221
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and __fish_seen_subcommand_from database" -l json -d 'Print one JSON object per line instead of human-readable output'
222
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and __fish_seen_subcommand_from database" -l progress -d 'Show progress even when output is piped to a file or another program'
223
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and __fish_seen_subcommand_from database" -l no-progress -d 'Hide progress'
224
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and __fish_seen_subcommand_from database" -s v -l verbose -d 'Log more: -v for info, -vv for debug, -vvv for trace'
225
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and __fish_seen_subcommand_from database" -s q -l quiet -d 'Log errors only'
226
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and __fish_seen_subcommand_from database" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
227
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and __fish_seen_subcommand_from database" -l color -d 'Keep colors even when output is piped'
228
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and __fish_seen_subcommand_from database" -l no-color -d 'Turn colors off'
229
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and __fish_seen_subcommand_from database" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
230
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and __fish_seen_subcommand_from database" -s h -l help -d 'Print help'
231
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and __fish_seen_subcommand_from database" -f -a "list" -d 'List every catalog platform, its source, and whether its pack is installed'
232
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and __fish_seen_subcommand_from database" -f -a "status" -d 'List the installed pack files: slug, format, size, and sha256'
233
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and __fish_seen_subcommand_from database" -f -a "path" -d 'Print the identify database directory'
234
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and __fish_seen_subcommand_from database" -f -a "remove" -d 'Remove one system\'s installed pack'
235
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and __fish_seen_subcommand_from database" -f -a "import-redump" -d 'Build identify packs from local Redump DAT ZIP files'
236
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and __fish_seen_subcommand_from database" -f -a "install-all" -d 'Install the full identify database for this rom-weaver version'
237
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and __fish_seen_subcommand_from database" -f -a "install-group" -d 'Download and install one optional identify pack group'
238
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and __fish_seen_subcommand_from database" -f -a "install" -d 'Download and install one Redump system pack (or --all)'
239
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and __fish_seen_subcommand_from database" -f -a "update" -d 'Download and update installed Redump system packs'
240
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and __fish_seen_subcommand_from database" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
241
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and __fish_seen_subcommand_from help" -f -a "database" -d 'Manage the installed identify database packs'
242
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand identify; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
154
243
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -s i -l input -d 'File to sort into ROMs and patches' -r -F
155
244
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -s o -l output -d 'Directory to write anything unpacked along the way into' -r -F
245
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -s d -l database -d 'RWFP1 identify pack, raw or Brotli, for ROM titles (repeatable; native defaults to built-in data)' -r -F
156
246
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -s s -l select -d 'Pick which ROM to use when the archive holds more than one, by exact name, prefix, or glob (repeatable)' -r
157
247
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -l sidecar-name -d 'Optional loose patch names to match against `source` without ingesting it. This keeps the browser\'s sibling-sidecar lookup on the ingest command surface while reusing Rust\'s matcher' -r
158
248
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -l split-bin -d 'For a multi-track CD-format CHD, write one BIN per track (--split-bin) or one merged BIN (--split-bin false). Omit to be asked' -r -f -a "true\t''
159
249
  false\t''"
160
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -l checksum -d 'Which checksums to compute for each ROM found (repeatable, comma-separable) [default: crc32,md5,sha1]' -r
250
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -l checksum -l algo -d 'Which checksums to compute for each ROM found (repeatable, comma-separable) [default: crc32,md5,sha1]' -r -f -a "crc32\t''
251
+ md5\t''
252
+ sha1\t''
253
+ sha256\t''
254
+ blake3\t''
255
+ crc32c\t''
256
+ crc16\t''
257
+ adler32\t''"
161
258
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -s j -l threads -d 'How many threads to use at most. auto uses every core; a format may still use fewer' -r
162
259
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -l log-level -d 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]' -r -f -a "off\t''
163
260
  error\t''
@@ -176,11 +273,28 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -s q -l qu
176
273
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
177
274
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -l color -d 'Keep colors even when output is piped'
178
275
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -l no-color -d 'Turn colors off'
276
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
179
277
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -s h -l help -d 'Print help (see more with \'--help\')'
180
278
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -s i -l input -d 'File to put in the archive; repeat for each one. For a disc image, pass the .cue or .gdi alone and its tracks come along' -r -F
181
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -s f -l format -d 'Output format, such as zip, 7z, chd, rvz, or z3ds [default: from the --output extension]' -r
279
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -s f -l format -d 'Output format, such as zip, 7z, chd, rvz, or z3ds [default: from the --output extension]' -r -f -a "zip\t''
280
+ 7z\t''
281
+ chd\t''
282
+ rvz\t''
283
+ z3ds\t''"
182
284
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -s o -l output -d 'Where to write the archive' -r -F
183
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -l codec -d 'Compression method to use, as codec or codec:level (repeatable, comma-separable)' -r
285
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -l codec -d 'Compression method to use, as codec or codec:level (repeatable, comma-separable)' -r -f -a "store\t''
286
+ deflate\t''
287
+ zstd\t''
288
+ lzma\t''
289
+ lzma2\t''
290
+ zlib\t''
291
+ huff\t''
292
+ flac\t''
293
+ cdzs\t''
294
+ cdlz\t''
295
+ cdzl\t''
296
+ cdfl\t''
297
+ avhuff\t''"
184
298
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -l level -d 'How hard to compress: min, very-low, low, medium, high, very-high, or max' -r -f -a "min\t''
185
299
  very-low\t''
186
300
  low\t''
@@ -195,6 +309,8 @@ warn\t''
195
309
  info\t''
196
310
  debug\t''
197
311
  trace\t''"
312
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -l force -d 'Overwrite the output if it already exists (without this, the command stops instead)'
313
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -s n -l dry-run -d 'Print the plan (inputs, output, format, codec, level, threads) and stop without writing'
198
314
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -l json -d 'Print one JSON object per line instead of human-readable output'
199
315
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -l progress -d 'Show progress even when output is piped to a file or another program'
200
316
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -l no-progress -d 'Hide progress'
@@ -203,10 +319,13 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -s q -l
203
319
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
204
320
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -l color -d 'Keep colors even when output is piped'
205
321
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -l no-color -d 'Turn colors off'
322
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
206
323
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -s h -l help -d 'Print help (see more with \'--help\')'
207
324
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -s i -l input -d 'File or folder to trim. Repeat for each one' -r -F
208
325
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -s o -l output -d 'Where to write the trimmed file. Only valid with a single trimmable input' -r -F
209
326
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -s e -l extension -d 'Save next to each original under this extension. {ext} stands for the original one, as in trim.{ext}' -r
327
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l filter -d 'Consider only files that look like a rom or a patch, judged by extension (repeatable, comma-separable)' -r -f -a "rom\t''
328
+ patch\t''"
210
329
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -s j -l threads -d 'How many threads to use at most. auto uses every core; a format may still use fewer' -r
211
330
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l log-level -d 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]' -r -f -a "off\t''
212
331
  error\t''
@@ -221,6 +340,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l no-recurs
221
340
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l no-filter -d 'Consider every file inside an archive, not just the ones that look like ROMs'
222
341
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l no-extract -d 'Do not look inside archives; trim only the files named directly'
223
342
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l revert-marker -l reversible -d 'Add a small footer recording what was cut, so --revert can restore the original exactly'
343
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l force -d 'Overwrite the output if it already exists (without this, the command stops instead)'
224
344
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l json -d 'Print one JSON object per line instead of human-readable output'
225
345
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l progress -d 'Show progress even when output is piped to a file or another program'
226
346
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l no-progress -d 'Hide progress'
@@ -229,6 +349,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -s q -l quie
229
349
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
230
350
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l color -d 'Keep colors even when output is piped'
231
351
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l no-color -d 'Turn colors off'
352
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
232
353
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -s h -l help -d 'Print help (see more with \'--help\')'
233
354
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and not __fish_seen_subcommand_from apply weave validate create help" -l log-level -d 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]' -r -f -a "off\t''
234
355
  error\t''
@@ -244,6 +365,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and not __f
244
365
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and not __fish_seen_subcommand_from apply weave validate create help" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
245
366
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and not __fish_seen_subcommand_from apply weave validate create help" -l color -d 'Keep colors even when output is piped'
246
367
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and not __fish_seen_subcommand_from apply weave validate create help" -l no-color -d 'Turn colors off'
368
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and not __fish_seen_subcommand_from apply weave validate create help" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
247
369
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and not __fish_seen_subcommand_from apply weave validate create help" -s h -l help -d 'Print help'
248
370
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and not __fish_seen_subcommand_from apply weave validate create help" -f -a "apply" -d 'Apply one or more patches to a ROM, in order'
249
371
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and not __fish_seen_subcommand_from apply weave validate create help" -f -a "weave" -d 'Apply one or more patches to a ROM, in order'
@@ -260,9 +382,25 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_
260
382
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l bundle -d 'Follow a rom-weaver-bundle.json recipe: a file path, or an http(s) URL' -r -F
261
383
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l with -d 'Turn on a bundle patch the bundle leaves off by default, matched by name or file name (repeatable)' -r
262
384
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l without -d 'Turn off a bundle patch, matched by name or file name (repeatable)' -r
263
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l compress-format -d 'Format to compress the patched ROM into [default: from the --output extension]' -r
264
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l compress-codec -d 'Compression method to use, as codec or codec:level (repeatable, comma-separable)' -r
265
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l compress-level -d 'How hard to compress: min, very-low, low, medium, high, very-high, or max [default: max]' -r -f -a "min\t''
385
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l compress-format -l format -d 'Format to compress the patched ROM into [default: from the --output extension]' -r -f -a "zip\t''
386
+ 7z\t''
387
+ chd\t''
388
+ rvz\t''
389
+ z3ds\t''"
390
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l compress-codec -l codec -d 'Compression method to use, as codec or codec:level (repeatable, comma-separable)' -r -f -a "store\t''
391
+ deflate\t''
392
+ zstd\t''
393
+ lzma\t''
394
+ lzma2\t''
395
+ zlib\t''
396
+ huff\t''
397
+ flac\t''
398
+ cdzs\t''
399
+ cdlz\t''
400
+ cdzl\t''
401
+ cdfl\t''
402
+ avhuff\t''"
403
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l compress-level -l level -d 'How hard to compress: min, very-low, low, medium, high, very-high, or max [default: max]' -r -f -a "min\t''
266
404
  very-low\t''
267
405
  low\t''
268
406
  medium\t''
@@ -287,8 +425,8 @@ little-endian\t''
287
425
  byte-swapped\t''"
288
426
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l expect-out -d 'Fail unless the patched ROM has this checksum, as in sha1=abc... (repeatable, comma-separable)' -r
289
427
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l code -d 'Game Genie or GameShark/Pro Action Replay code to bake into the ROM. Repeat for each code' -r
290
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l code-system -d 'Console the --code values are for (nes, snes, genesis, gameboy), when the ROM header does not say' -r
291
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l code-kind -d 'Which cheat scheme the --code values use: auto, game-genie, or gameshark/par' -r
428
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l code-system -d 'Console the --code values are for (nes, snes, genesis, gameboy, gba, psx), when the ROM header does not say' -r
429
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l code-kind -d 'Which cheat scheme the --code values use: auto, game-genie, gameshark/par, or xploder' -r
292
430
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l emit-bundle -d 'Also write a rom-weaver-bundle.json recording this run, so someone else can repeat it' -r -F
293
431
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -s j -l threads -d 'How many threads to use at most. auto uses every core; a format may still use fewer' -r
294
432
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l log-level -d 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]' -r -f -a "off\t''
@@ -299,10 +437,12 @@ debug\t''
299
437
  trace\t''"
300
438
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l no-extract -d 'Do not look inside archives; treat the input and every patch as raw files'
301
439
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l no-ignore -d 'Also consider files normally skipped inside archives: readmes, images, checksum sidecars, and OS clutter such as .DS_Store'
302
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l no-compress -d 'Write a plain ROM instead of compressing the result'
440
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l no-compress -l raw -d 'Write a plain ROM instead of compressing the result'
303
441
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l repair-checksum -d 'Recompute the ROM\'s internal header checksum afterwards, so the console does not reject it (SNES, NES, GB, GBA, Mega Drive, SMS, N64, NDS)'
304
442
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l ignore-checksum-validation -d 'Apply the patch even when its own checksums do not match. Can produce a broken ROM'
305
443
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l tui -d 'Ask for each patch\'s name, version, and author, then apply and write a bundle. Needs a terminal'
444
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l force -d 'Overwrite the output if it already exists (without this, the command stops instead)'
445
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -s n -l dry-run -d 'Print the plan (inputs, patches, output, format, codec, level, threads) and stop without writing'
306
446
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l json -d 'Print one JSON object per line instead of human-readable output'
307
447
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l progress -d 'Show progress even when output is piped to a file or another program'
308
448
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l no-progress -d 'Hide progress'
@@ -311,6 +451,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_
311
451
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
312
452
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l color -d 'Keep colors even when output is piped'
313
453
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l no-color -d 'Turn colors off'
454
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
314
455
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -s h -l help -d 'Print help (see more with \'--help\')'
315
456
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -s i -l input -d 'ROM to patch. May be an archive, a disc sheet (.cue/.gdi), or a bundle' -r -F
316
457
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -s s -l select -d 'Pick which file to use when the ROM or a patch is inside an archive, by exact name, prefix, or glob (repeatable)' -r
@@ -322,9 +463,25 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_
322
463
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l bundle -d 'Follow a rom-weaver-bundle.json recipe: a file path, or an http(s) URL' -r -F
323
464
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l with -d 'Turn on a bundle patch the bundle leaves off by default, matched by name or file name (repeatable)' -r
324
465
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l without -d 'Turn off a bundle patch, matched by name or file name (repeatable)' -r
325
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l compress-format -d 'Format to compress the patched ROM into [default: from the --output extension]' -r
326
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l compress-codec -d 'Compression method to use, as codec or codec:level (repeatable, comma-separable)' -r
327
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l compress-level -d 'How hard to compress: min, very-low, low, medium, high, very-high, or max [default: max]' -r -f -a "min\t''
466
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l compress-format -l format -d 'Format to compress the patched ROM into [default: from the --output extension]' -r -f -a "zip\t''
467
+ 7z\t''
468
+ chd\t''
469
+ rvz\t''
470
+ z3ds\t''"
471
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l compress-codec -l codec -d 'Compression method to use, as codec or codec:level (repeatable, comma-separable)' -r -f -a "store\t''
472
+ deflate\t''
473
+ zstd\t''
474
+ lzma\t''
475
+ lzma2\t''
476
+ zlib\t''
477
+ huff\t''
478
+ flac\t''
479
+ cdzs\t''
480
+ cdlz\t''
481
+ cdzl\t''
482
+ cdfl\t''
483
+ avhuff\t''"
484
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l compress-level -l level -d 'How hard to compress: min, very-low, low, medium, high, very-high, or max [default: max]' -r -f -a "min\t''
328
485
  very-low\t''
329
486
  low\t''
330
487
  medium\t''
@@ -349,8 +506,8 @@ little-endian\t''
349
506
  byte-swapped\t''"
350
507
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l expect-out -d 'Fail unless the patched ROM has this checksum, as in sha1=abc... (repeatable, comma-separable)' -r
351
508
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l code -d 'Game Genie or GameShark/Pro Action Replay code to bake into the ROM. Repeat for each code' -r
352
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l code-system -d 'Console the --code values are for (nes, snes, genesis, gameboy), when the ROM header does not say' -r
353
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l code-kind -d 'Which cheat scheme the --code values use: auto, game-genie, or gameshark/par' -r
509
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l code-system -d 'Console the --code values are for (nes, snes, genesis, gameboy, gba, psx), when the ROM header does not say' -r
510
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l code-kind -d 'Which cheat scheme the --code values use: auto, game-genie, gameshark/par, or xploder' -r
354
511
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l emit-bundle -d 'Also write a rom-weaver-bundle.json recording this run, so someone else can repeat it' -r -F
355
512
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -s j -l threads -d 'How many threads to use at most. auto uses every core; a format may still use fewer' -r
356
513
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l log-level -d 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]' -r -f -a "off\t''
@@ -361,10 +518,12 @@ debug\t''
361
518
  trace\t''"
362
519
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l no-extract -d 'Do not look inside archives; treat the input and every patch as raw files'
363
520
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l no-ignore -d 'Also consider files normally skipped inside archives: readmes, images, checksum sidecars, and OS clutter such as .DS_Store'
364
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l no-compress -d 'Write a plain ROM instead of compressing the result'
521
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l no-compress -l raw -d 'Write a plain ROM instead of compressing the result'
365
522
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l repair-checksum -d 'Recompute the ROM\'s internal header checksum afterwards, so the console does not reject it (SNES, NES, GB, GBA, Mega Drive, SMS, N64, NDS)'
366
523
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l ignore-checksum-validation -d 'Apply the patch even when its own checksums do not match. Can produce a broken ROM'
367
524
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l tui -d 'Ask for each patch\'s name, version, and author, then apply and write a bundle. Needs a terminal'
525
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l force -d 'Overwrite the output if it already exists (without this, the command stops instead)'
526
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -s n -l dry-run -d 'Print the plan (inputs, patches, output, format, codec, level, threads) and stop without writing'
368
527
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l json -d 'Print one JSON object per line instead of human-readable output'
369
528
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l progress -d 'Show progress even when output is piped to a file or another program'
370
529
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l no-progress -d 'Hide progress'
@@ -373,6 +532,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_
373
532
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
374
533
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l color -d 'Keep colors even when output is piped'
375
534
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l no-color -d 'Turn colors off'
535
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
376
536
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -s h -l help -d 'Print help (see more with \'--help\')'
377
537
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from validate" -s i -l input -d 'ROM to check the patches against. May be an archive' -r -F
378
538
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from validate" -s s -l select -d 'Pick which file to use when the ROM or a patch is inside an archive, by exact name, prefix, or glob (repeatable)' -r
@@ -412,6 +572,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_
412
572
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from validate" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
413
573
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from validate" -l color -d 'Keep colors even when output is piped'
414
574
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from validate" -l no-color -d 'Turn colors off'
575
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from validate" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
415
576
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from validate" -s h -l help -d 'Print help (see more with \'--help\')'
416
577
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l original -d 'The unmodified ROM' -r -F
417
578
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l modified -d 'The changed ROM. Leave out when using --code, which produces the changed ROM for you' -r -F
@@ -419,8 +580,8 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_
419
580
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -s o -l output -d 'Where to write the patch. Required unless --plan is used' -r -F
420
581
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l assume-in -d 'Take the original ROM\'s checksum on trust rather than reading the file, as in crc32=1234abcd (repeatable, comma-separable)' -r
421
582
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l code -d 'Build the patch from a Game Genie or GameShark/Pro Action Replay code instead of a second ROM. Repeat for each code; cannot be used with --modified' -r
422
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l code-system -d 'Console the --code values are for (nes, snes, genesis, gameboy), when the ROM header does not say' -r
423
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l code-kind -d 'Which cheat scheme the --code values use: auto, game-genie, or gameshark/par' -r
583
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l code-system -d 'Console the --code values are for (nes, snes, genesis, gameboy, gba, psx), when the ROM header does not say' -r
584
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l code-kind -d 'Which cheat scheme the --code values use: auto, game-genie, gameshark/par, or xploder' -r
424
585
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -s j -l threads -d 'How many threads to use at most. auto uses every core; a format may still use fewer' -r
425
586
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l solid-system -d 'SOLID patches only: console the ROM is for' -r
426
587
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l solid-game -d 'SOLID patches only: name of the game' -r
@@ -444,6 +605,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_
444
605
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l ignore-checksum-validation -d 'Write the patch even when the format\'s own consistency checks fail, and leave its checksums out'
445
606
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l checksum-name -d 'Put the original ROM\'s crc32 in the patch file name, as [crc32:HEX]'
446
607
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l solid-extended -d 'SOLID patches only: use the extended header even with none of the extended fields filled in'
608
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l force -d 'Overwrite the output if it already exists (without this, the command stops instead)'
447
609
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l json -d 'Print one JSON object per line instead of human-readable output'
448
610
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l progress -d 'Show progress even when output is piped to a file or another program'
449
611
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l no-progress -d 'Hide progress'
@@ -452,6 +614,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_
452
614
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
453
615
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l color -d 'Keep colors even when output is piped'
454
616
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l no-color -d 'Turn colors off'
617
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
455
618
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -s h -l help -d 'Print help (see more with \'--help\')'
456
619
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from help" -f -a "apply" -d 'Apply one or more patches to a ROM, in order'
457
620
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from help" -f -a "validate" -d 'Check that patches would apply cleanly, without writing anything'
@@ -471,6 +634,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and not __
471
634
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and not __fish_seen_subcommand_from create parse schema help" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
472
635
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and not __fish_seen_subcommand_from create parse schema help" -l color -d 'Keep colors even when output is piped'
473
636
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and not __fish_seen_subcommand_from create parse schema help" -l no-color -d 'Turn colors off'
637
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and not __fish_seen_subcommand_from create parse schema help" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
474
638
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and not __fish_seen_subcommand_from create parse schema help" -s h -l help -d 'Print help'
475
639
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and not __fish_seen_subcommand_from create parse schema help" -f -a "create" -d 'Write a rom-weaver-bundle.json recipe from local ROM and patch files'
476
640
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and not __fish_seen_subcommand_from create parse schema help" -f -a "parse" -d 'Read a rom-weaver-bundle.json recipe and report what it points at'
@@ -506,7 +670,14 @@ auto\t''"
506
670
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -s o -l output -d 'Where to write the bundle. Name it rom-weaver-bundle.json, or add .gz or .zst to compress it' -r -F
507
671
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l bundle -d 'Also pack the bundle and its ROM and patches into one shareable archive, such as release.zip' -r -F
508
672
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l bundle-rom -d 'Pack this file into --bundle as the ROM, while --input supplies the checksums and metadata' -r -F
509
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l checksum -d 'Which checksums to record for the ROM (repeatable) [default: crc32,md5,sha1]' -r
673
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l checksum -l algo -d 'Which checksums to record for the ROM (repeatable, comma-separable) [default: crc32,md5,sha1]' -r -f -a "crc32\t''
674
+ md5\t''
675
+ sha1\t''
676
+ sha256\t''
677
+ blake3\t''
678
+ crc32c\t''
679
+ crc16\t''
680
+ adler32\t''"
510
681
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l from -d 'Build the bundle from a hand-written rom-weaver-bundle.json instead of flags. Use - to read it from stdin' -r -F
511
682
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l schema-ref -d 'Record this $schema URL in the bundle so editors can validate it. Left out unless asked for' -r
512
683
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -s j -l threads -d 'How many threads to use at most. auto uses every core; a format may still use fewer' -r
@@ -517,6 +688,7 @@ info\t''
517
688
  debug\t''
518
689
  trace\t''"
519
690
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l no-bundle-rom -d 'Keep the ROM out of --bundle and record only its checksums, so whoever applies the bundle brings their own copy'
691
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l force -d 'Overwrite the output if it already exists (without this, the command stops instead)'
520
692
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l json -d 'Print one JSON object per line instead of human-readable output'
521
693
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l progress -d 'Show progress even when output is piped to a file or another program'
522
694
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l no-progress -d 'Hide progress'
@@ -525,6 +697,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish
525
697
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
526
698
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l color -d 'Keep colors even when output is piped'
527
699
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l no-color -d 'Turn colors off'
700
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
528
701
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -s h -l help -d 'Print help (see more with \'--help\')'
529
702
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from parse" -s i -l input -d 'Bundle file, or an archive with a bundle at its root' -r -F
530
703
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from parse" -s s -l select -d 'Handle only the bundle entries whose file name matches this exact name, prefix, or glob (repeatable)' -r
@@ -547,6 +720,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish
547
720
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from parse" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
548
721
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from parse" -l color -d 'Keep colors even when output is piped'
549
722
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from parse" -l no-color -d 'Turn colors off'
723
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from parse" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
550
724
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from parse" -s h -l help -d 'Print help (see more with \'--help\')'
551
725
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from schema" -l log-level -d 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]' -r -f -a "off\t''
552
726
  error\t''
@@ -562,6 +736,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish
562
736
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from schema" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
563
737
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from schema" -l color -d 'Keep colors even when output is piped'
564
738
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from schema" -l no-color -d 'Turn colors off'
739
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from schema" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
565
740
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from schema" -s h -l help -d 'Print help (see more with \'--help\')'
566
741
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from help" -f -a "create" -d 'Write a rom-weaver-bundle.json recipe from local ROM and patch files'
567
742
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from help" -f -a "parse" -d 'Read a rom-weaver-bundle.json recipe and report what it points at'
@@ -581,6 +756,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and not __f
581
756
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and not __fish_seen_subcommand_from ppf-undo help" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
582
757
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and not __fish_seen_subcommand_from ppf-undo help" -l color -d 'Keep colors even when output is piped'
583
758
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and not __fish_seen_subcommand_from ppf-undo help" -l no-color -d 'Turn colors off'
759
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and not __fish_seen_subcommand_from ppf-undo help" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
584
760
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and not __fish_seen_subcommand_from ppf-undo help" -s h -l help -d 'Print help'
585
761
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and not __fish_seen_subcommand_from ppf-undo help" -f -a "ppf-undo" -d 'Undo a PPF3 patch, using the undo data stored inside it'
586
762
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and not __fish_seen_subcommand_from ppf-undo help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
@@ -601,6 +777,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and __fish_
601
777
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and __fish_seen_subcommand_from ppf-undo" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
602
778
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and __fish_seen_subcommand_from ppf-undo" -l color -d 'Keep colors even when output is piped'
603
779
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and __fish_seen_subcommand_from ppf-undo" -l no-color -d 'Turn colors off'
780
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and __fish_seen_subcommand_from ppf-undo" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
604
781
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and __fish_seen_subcommand_from ppf-undo" -s h -l help -d 'Print help (see more with \'--help\')'
605
782
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and __fish_seen_subcommand_from help" -f -a "ppf-undo" -d 'Undo a PPF3 patch, using the undo data stored inside it'
606
783
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
@@ -623,6 +800,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand plan-extract-batch
623
800
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand plan-extract-batch" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
624
801
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand plan-extract-batch" -l color -d 'Keep colors even when output is piped'
625
802
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand plan-extract-batch" -l no-color -d 'Turn colors off'
803
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand plan-extract-batch" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
626
804
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand plan-extract-batch" -s h -l help -d 'Print help'
627
805
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -s i -l input -d 'ROM to patch. May be an archive, a disc sheet (.cue/.gdi), or a bundle' -r -F
628
806
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -s s -l select -d 'Pick which file to use when the ROM or a patch is inside an archive, by exact name, prefix, or glob (repeatable)' -r
@@ -634,9 +812,25 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -s o -l out
634
812
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l bundle -d 'Follow a rom-weaver-bundle.json recipe: a file path, or an http(s) URL' -r -F
635
813
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l with -d 'Turn on a bundle patch the bundle leaves off by default, matched by name or file name (repeatable)' -r
636
814
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l without -d 'Turn off a bundle patch, matched by name or file name (repeatable)' -r
637
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l compress-format -d 'Format to compress the patched ROM into [default: from the --output extension]' -r
638
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l compress-codec -d 'Compression method to use, as codec or codec:level (repeatable, comma-separable)' -r
639
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l compress-level -d 'How hard to compress: min, very-low, low, medium, high, very-high, or max [default: max]' -r -f -a "min\t''
815
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l compress-format -l format -d 'Format to compress the patched ROM into [default: from the --output extension]' -r -f -a "zip\t''
816
+ 7z\t''
817
+ chd\t''
818
+ rvz\t''
819
+ z3ds\t''"
820
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l compress-codec -l codec -d 'Compression method to use, as codec or codec:level (repeatable, comma-separable)' -r -f -a "store\t''
821
+ deflate\t''
822
+ zstd\t''
823
+ lzma\t''
824
+ lzma2\t''
825
+ zlib\t''
826
+ huff\t''
827
+ flac\t''
828
+ cdzs\t''
829
+ cdlz\t''
830
+ cdzl\t''
831
+ cdfl\t''
832
+ avhuff\t''"
833
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l compress-level -l level -d 'How hard to compress: min, very-low, low, medium, high, very-high, or max [default: max]' -r -f -a "min\t''
640
834
  very-low\t''
641
835
  low\t''
642
836
  medium\t''
@@ -661,8 +855,8 @@ little-endian\t''
661
855
  byte-swapped\t''"
662
856
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l expect-out -d 'Fail unless the patched ROM has this checksum, as in sha1=abc... (repeatable, comma-separable)' -r
663
857
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l code -d 'Game Genie or GameShark/Pro Action Replay code to bake into the ROM. Repeat for each code' -r
664
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l code-system -d 'Console the --code values are for (nes, snes, genesis, gameboy), when the ROM header does not say' -r
665
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l code-kind -d 'Which cheat scheme the --code values use: auto, game-genie, or gameshark/par' -r
858
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l code-system -d 'Console the --code values are for (nes, snes, genesis, gameboy, gba, psx), when the ROM header does not say' -r
859
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l code-kind -d 'Which cheat scheme the --code values use: auto, game-genie, gameshark/par, or xploder' -r
666
860
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l emit-bundle -d 'Also write a rom-weaver-bundle.json recording this run, so someone else can repeat it' -r -F
667
861
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -s j -l threads -d 'How many threads to use at most. auto uses every core; a format may still use fewer' -r
668
862
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l log-level -d 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]' -r -f -a "off\t''
@@ -673,10 +867,12 @@ debug\t''
673
867
  trace\t''"
674
868
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l no-extract -d 'Do not look inside archives; treat the input and every patch as raw files'
675
869
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l no-ignore -d 'Also consider files normally skipped inside archives: readmes, images, checksum sidecars, and OS clutter such as .DS_Store'
676
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l no-compress -d 'Write a plain ROM instead of compressing the result'
870
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l no-compress -l raw -d 'Write a plain ROM instead of compressing the result'
677
871
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l repair-checksum -d 'Recompute the ROM\'s internal header checksum afterwards, so the console does not reject it (SNES, NES, GB, GBA, Mega Drive, SMS, N64, NDS)'
678
872
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l ignore-checksum-validation -d 'Apply the patch even when its own checksums do not match. Can produce a broken ROM'
679
873
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l tui -d 'Ask for each patch\'s name, version, and author, then apply and write a bundle. Needs a terminal'
874
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l force -d 'Overwrite the output if it already exists (without this, the command stops instead)'
875
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -s n -l dry-run -d 'Print the plan (inputs, patches, output, format, codec, level, threads) and stop without writing'
680
876
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l json -d 'Print one JSON object per line instead of human-readable output'
681
877
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l progress -d 'Show progress even when output is piped to a file or another program'
682
878
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l no-progress -d 'Hide progress'
@@ -685,6 +881,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -s q -l qui
685
881
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
686
882
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l color -d 'Keep colors even when output is piped'
687
883
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l no-color -d 'Turn colors off'
884
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
688
885
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -s h -l help -d 'Print help (see more with \'--help\')'
689
886
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand completions" -l log-level -d 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]' -r -f -a "off\t''
690
887
  error\t''
@@ -700,20 +897,40 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand completions" -s q
700
897
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand completions" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
701
898
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand completions" -l color -d 'Keep colors even when output is piped'
702
899
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand completions" -l no-color -d 'Turn colors off'
900
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand completions" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
703
901
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand completions" -s h -l help -d 'Print help (see more with \'--help\')'
704
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "probe" -d 'Identify a file: its format, its platform, and any header it carries'
705
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "extract" -d 'Unpack an archive or single-payload compressed format'
706
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "checksum" -d 'Compute checksums for a file, or for a ROM inside an archive'
707
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "ingest" -d 'Sort a file into ROMs and patches, unpacking and hashing along the way'
708
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "compress" -d 'Pack files into an archive, disc image, or ROM-specific compressed format'
709
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "trim" -d 'Cut the padding off a ROM, or put it back'
710
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "patch" -d 'Apply, create, or check ROM patches'
711
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "bundle" -d 'Build and read rom-weaver-bundle.json patch recipes'
712
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "tools" -d 'One-off recovery tools'
713
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "plan-extract-batch" -d 'Plan a memory-/thread-aware concurrent extraction schedule from per-job source sizes (no I/O)'
714
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "weave" -d 'Apply one or more patches to a ROM, in order (same as `patch apply`)'
715
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "completions" -d 'Print a tab-completion script for your shell'
716
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
902
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand formats" -l log-level -d 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]' -r -f -a "off\t''
903
+ error\t''
904
+ warn\t''
905
+ info\t''
906
+ debug\t''
907
+ trace\t''"
908
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand formats" -l json -d 'Print one JSON object per line instead of human-readable output'
909
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand formats" -l progress -d 'Show progress even when output is piped to a file or another program'
910
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand formats" -l no-progress -d 'Hide progress'
911
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand formats" -s v -l verbose -d 'Log more: -v for info, -vv for debug, -vvv for trace'
912
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand formats" -s q -l quiet -d 'Log errors only'
913
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand formats" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
914
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand formats" -l color -d 'Keep colors even when output is piped'
915
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand formats" -l no-color -d 'Turn colors off'
916
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand formats" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
917
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand formats" -s h -l help -d 'Print help (see more with \'--help\')'
918
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum identify ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "probe" -d 'Identify a file: its format, its platform, and any header it carries'
919
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum identify ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "extract" -d 'Unpack an archive or single-payload compressed format'
920
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum identify ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "checksum" -d 'Compute checksums for a file, or for a ROM inside an archive'
921
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum identify ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "identify" -d 'Identify a ROM title from its checksums'
922
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum identify ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "ingest" -d 'Sort a file into ROMs and patches, unpacking and hashing along the way'
923
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum identify ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "compress" -d 'Pack files into an archive, disc image, or ROM-specific compressed format'
924
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum identify ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "trim" -d 'Cut the padding off a ROM, or put it back'
925
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum identify ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "patch" -d 'Apply, create, or check ROM patches'
926
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum identify ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "bundle" -d 'Build and read rom-weaver-bundle.json patch recipes'
927
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum identify ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "tools" -d 'One-off recovery tools'
928
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum identify ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "plan-extract-batch" -d 'Plan a memory-/thread-aware concurrent extraction schedule from per-job source sizes (no I/O)'
929
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum identify ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "weave" -d 'Apply one or more patches to a ROM, in order (same as `patch apply`)'
930
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum identify ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "completions" -d 'Print a tab-completion script for your shell'
931
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum identify ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "formats" -d 'List the formats, codecs, and checksum algorithms this build supports'
932
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum identify ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
933
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and __fish_seen_subcommand_from identify" -f -a "database" -d 'Manage the installed identify database packs'
717
934
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and __fish_seen_subcommand_from patch" -f -a "apply" -d 'Apply one or more patches to a ROM, in order'
718
935
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and __fish_seen_subcommand_from patch" -f -a "validate" -d 'Check that patches would apply cleanly, without writing anything'
719
936
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and __fish_seen_subcommand_from patch" -f -a "create" -d 'Build a patch from an original ROM and a changed one'