Project

General

Profile

Actions

Emulator Issues #10654

closed

TGC filesystem exporting is buggy

Added by Hiccup over 6 years ago. Updated over 3 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-12536

Description

Game Name?

Nintendo GameCube Soft e-Catalog 2003 Enjoy Plus-ban (Japan)

Game ID? (right click the game in the game list, properties, info tab)

D55J01

MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)

b63728cbc34bcfed902d52db33ce7c0a

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.

5.0-5892.

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.)

N/A

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

N/A

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
RAM: 6GB

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

No

Actions #1

Updated by JosJuice over 6 years 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.

Actions #2

Updated by JMC4789 almost 6 years ago

  • Assignee set to JosJuice

Are we going to accept this?

Actions #3

Updated by JosJuice almost 6 years ago

  • Assignee deleted (JosJuice)

I guess we can... But I don't think there's anything I can do about it for now, since I don't even have this TGC file.

Actions #4

Updated by JMC4789 almost 6 years ago

  • Status changed from New to Accepted

Confirmed. I actually got this demo a few days ago and complained about it on IRC for not having a banner >.>

Actions #5

Updated by JosJuice almost 6 years ago

  • Assignee set to JosJuice

I've been taking a look at this now with JMC's help, and I don't think we can support this TGC file correctly without changing our approach to the one that tgctogcm uses. So maybe we'll have to do that...

Actions #6

Updated by JosJuice almost 6 years ago

Or, hmm, maybe I could place the FST at a completely new virtual address... I'll have to think about this some more.

Actions #7

Updated by JosJuice about 4 years ago

  • Status changed from Accepted to Fix pending
Actions #8

Updated by JosJuice over 3 years ago

  • Status changed from Fix pending to Fixed
  • Fixed in set to 5.0-12536
Actions

Also available in: Atom PDF