char disc_id; char game_code; char region_code; char marker_code;These four members together are called
IDs contain only the upper case letters
Wii discs contain one one more partitions, at least the DATA partition.
Within a partition you can find an ID in the system files
For the DATA partition the
Here is an example for Wii Play created with »wit dump --show intro,part wii-play.wdf« (only relevant lines filtered):
Dump of file wii-play.wdf ID & file type: RHAP01, WDF/WII Partition table #0, partition #0, type 1 [UPDATE]: boot.bin, ID: RELSAB Ticket: Title ID: 00010000 00555050 = '.....UPP' TMD: Title ID: 00010000 00555050 = '.....UPP' Partition table #0, partition #1, type 0 [DATA]: boot.bin, ID: RHAP01 Ticket: Title ID: 00010000 52484150 = '....RHAP' TMD: Title ID: 00010000 52484150 = '....RHAP'
If an ID selector is entered it is converted to upper case. Then it is compared to the ID6 of the disc header to decide if the disc should be used for the operation.
Most (but not all yet) commands and options accept wildcards:
The option »--id id6« accepts also both types of wildcards and the parameter is expanded in the same way. Only non wildscard charcters are modified while creating the new ID.
To select only PAL games you can use either
|-x||--exclude||id||A comma separated list with ID4 and ID6 values is expected.
|-X||--exclude-path||file_or_dir||Scan the ID of the source and add it to the exclude list. If the source is a directory then scan all images of the directory. Images with the given ID are excluded from operation. Each use of this option expands the exclude list. See --include-first for precedence issues.|
|-n||--include||id||A comma separated list with ID values is expected.
|-N||--include-path||file_or_dir||Scan the ID of the source and add it to the include list. If the source is a directory then scan all images of the directory. Only images with the given ID are included into the operation. Each use of this option expands the include list. See --include-first for precedence issues.|
|--include-first||The options --include, --include-path, --exclude and --exclude-path decide which discs are included into the operation. If neither include nor exclude options are used, than all disc are included into the operation. If only include options are used, than only the specified discs are operated. If only exclude options are used, than all all discs but not the excluded are operated.
If include and exclude options are used together and
|--id||id||This patching option changes the ID of the disc to the given parameter. 1 to 6 characters are expected. Only defined characters not equal '.' are modified. The plus sign '+' is a wildcard for multiple '.' to fill the complete entered ID to 6 characters. The disc header, boot.bin, ticket.bin and tmd.bin are objects to modify. The option --modify selects the objects.|