VolumeVerifier: increase problem severity for incorrectly signed TMDs #9753
+5
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
To avoid problems, Dolphin currently enforces a 512 MB size limit to the emulated Wii NAND. Since this can be rather small (especially if you have a lot of Virtual Console or WiiWare titles), the Wii System Menu 4.0+ ability to move channels to the SD Card is extremely helpful, especially when you can create virtual SD Cards as big as 32 GB and have them working without issues with Dolphin.
While moving titles to the virtual SD Card, I stumbled upon a few that would behave oddly: Dolphin could successfully launch them if booted directly from the WAD, as well as if booted from inside the Wii System Menu while they were stored on the NAND. From the data management screen, System Menu would also successfully copy or move those channels to the SD Card without errors. However, the transfer was one-way only: once stored on the SD Card, Wii System Menu would refuse to launch them ("This channel failed to load") as well as refuse to move or copy them back to the NAND ("The data may not have been copied/moved").
After a couple of tests and checks between the WADs that worked and the ones that didn't, I found the culprit: an incorrectly signed TMD. When a channel is stored on the SD Card, Wii System Menu will temporarily import it to the NAND before launching from there, checking the TMD in the process and refusing contents with incorrectly signed TMDs. The same happens when copying/moving content from the SD Card to the NAND, contents with incorrectly signed TMDs are refused. It doesn't seem to care about incorrectly signed tickets, however, those could be launched just fine from the SD Card.
Dolphin also doesn't seem to care about an incorrectly signed TMD when booting or installing WADs and the Wii System Menu apparently doesn't check the TMD signature either for contents already installed on the NAND, but it becomes an issue in the other scenarios (launching from the SD Card and copying/moving from the SD Card to the NAND).
So, TL;DR, this PR increases the problem severity on VolumeVerifier for WADs with incorrectly signed TMDs to medium and updates its description. Ccing @JosJuice and @leoetlino since this is related to areas you've extensively worked in the past...