Emulator Issues #11906
Dolphin's built-in GCZ compressor generate broken files when applied to unencrypted Wii ISOs
Probably any Wii game (tested only Super Smash Bros Brawl)
Source ISO, untouched: 52ce7160ced2505ad5e397477d0ea4fe
Source ISO converted to nkit.iso: a3957f79521cc9d8bb576f2b33852f8a
nkit.iso compressed to GCZ via Dolphin: 56e8fb25c3f924e2a61ea4130325f700
What's the problem? Describe what went wrong.
If you use Dolphin to compress a Wii ISO in nkit.iso format to GCZ, the resulting file will be a very small (but still valid) GCZ file with just empty partitions.
What steps will reproduce the problem?
1) Use Dolphin to compress a Wii ISO in nkit.iso format to GCZ
2) Check the resulting file:
Input ISO in nkit.iso format: 6.89 GiB
Output ISO in GCZ format: 22.4 MiB
Is the issue present in the latest development version?
Yes. Tested on 5.0-11288
Is the issue present in the latest stable version?
Not tested. As far as I know, 5.0 stable doesn't support NKIT processed ISOs
What are your PC specifications?
CPU: Intel Pentium G3258 @ 4.2GHz (OC)
GPU: NVIDIA GeForce GT 440 @ 1GB DDR3
RAM: 16GB @ DDR3-1600 (4x4GB)
OS: Windows 10 (version 1909)
Is there anything else that can help developers narrow down the issue?
Since NKIT can convert plain ISOs to nkit.gcz format directly, I think we can just make Dolphin refuse to compress the ISO to GCZ if it detects the input ISO is in nkit.iso format and call it a day. We just need a fool-proof check in Dolphin to stop users from messing their NKIT procesed ISOs...
- Assignee set to JosJuice
- Subject changed from Dolphin's built-in GCZ compressor generate broken files when applied to NKIT processed Wii ISOs to Dolphin's built-in GCZ compressor generate broken files when applied to unencrypted Wii ISOs
Most likely, the compression/DiscScrubber support for unencrypted Wii discs in general is broken. I was unable to do any testing on my own when implementing the read support for unencrypted Wii discs, since there was no easy way to get an unencrypted disc image as far as I knew (before NKit existed, that is), and the only testing done by people other than me was only to play games, not compress them. I'm entirely unsurprised this would be broken.
- Fixed in set to 5.0-11366
- Status changed from Fix pending to Fixed