Emulator Issues #10654
TGC filesystem exporting is buggy
Nintendo GameCube Soft e-Catalog 2003 Enjoy Plus-ban (Japan)
Game ID? (right click the game in the game list, properties, info tab)
MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)
What's the problem? Describe what went wrong.
The TGC image wario_trial.tgc (in local) produces different files when extracted in comparison to the same file, but converted first into a normal disc image using tgctogcm. In particular AAZWJ01_mod.SRL and fst.bin seem to be corrupted in the file extracted from the unconverted TGC.
What steps will reproduce the problem?
Extract wario_trial.tgc from Nintendo GameCube Soft e-Catalog 2003 Enjoy Plus-ban (Japan). From the extracted wario_trial.tgc, extract the whole image. For comparison with a proper (?) extraction, use tgctogcm to create a GCM version of the TGC, then extract the whole image f
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
Is the issue present in the latest stable version?
Yes - 5.0-5892.
If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)
If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer
What are your PC specifications? (CPU, GPU, Operating System, more)
CPU: Intel Core i5-3330 @ 3.00Ghz
GPU: GeForce GT 620
OS: Windows 8.1 64bit
Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)
#1 Updated by JosJuice over 1 year ago
That the FSTs don't match is expected. The FSTs of TGC files contain "incorrect" offsets, and Dolphin fixes this by moving the files to the offsets listed in the FST, whereas tgctogcm uses the alternate method of patching the offsets in the FST. (That tgctogcm does it this way makes sense, since they otherwise would need to write hundreds of megabytes of padding that just wastes disk space. I chose to not implement it in that way in Dolphin since we never write out the whole file to disk.)
That any of the actual files differ does sound like a problem, though.