Project

General

Profile

Actions

Emulator Issues #13275

open

Multiple JP games cannot be repacked without breaking

Added by RoundaboutSnake 11 months ago. Updated 11 months ago.

Status:
Questionable
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:

Description

Game Name?

Before testing, all games listed below were advertised as redumps and were CRC verified as redumps:

  1. Dragon Drive, 2. Generation of Chaos Exceed, 3. Kidou Senshi Gundam - Senshitachi no Kiseki, 4. Mutsu to Nohohon and 5. Gakuen Toshi Vara Noir Roses cannot be extracted and repacked into a new GCM. Regardless of whether files are unadulterated or not, the issue persists upon loading it in Dolphin. Trying to play the game or go into a new game will hardlock. The error is in the following format, but between games, the filestart and line numbers are different:

DVDPrepareStreamAsync(): Specified start address (filestart(0xabcdefg) + offset(0x0)) is not 32KB aligned in "dvdfs.c" on line xxxx

Because Japanese Gamecube games are not well documented, there is a high probability that other games not listed above also suffer from the same issue.

Game ID? (right click the game in the game list, Properties, Info tab)

  1. GD5JB2
  2. GIFJDQ
  3. GGAJB2
  4. GTMJDA
  5. GVWJDQ

MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)

[Put MD5 Hash here]

What's the problem? Describe what went wrong.

cannot be extracted and repacked into a new GCM. Regardless of whether files are unadulterated or not, the issue persists upon loading it in Dolphin. Trying to play the game or go into a new game will hardlock. The error is in the following format, but between games, the filestart and line numbers are different:

DVDPrepareStreamAsync(): Specified start address (filestart(0xabcdefg) + offset(0x0)) is not 32KB aligned in "dvdfs.c" on line xxxx

Because Japanese Gamecube games are not well documented, there is a high probability that other games not listed above also suffer from the same issue.

What steps will reproduce the problem?

[Reproduction steps here]

Unpack game with GC Tools 1.1.0 or GCRebuilder v1.1. Repack the titles, touching nothing. Within the first few screens, starting a new game or right away, the games will hardlock.

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-19587 and 5.0-19368

Is the issue present in the latest stable version?

Yes

[Yes/No and version number here]

All games have these problems on 5.0, 5.0-19368 and 5.0-19587

[First broken version number here (if applicable)]

5.0 Stable

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

[Attach any fifologs if possible, write a description of fifologs and screenshots here to assist people unfamiliar with the game.]

What are your PC specifications? (CPU, GPU, Operating System, more)

[PC specs here]

Device name DESKTOP-G3NUPC4
Processor Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz 3.40 GHz
Installed RAM 16.0 GB
System type 64-bit operating system, x64-based processor

Windows 10

GPU: RX 580

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

[Anything else here]

Actions #1

Updated by pokechu22 11 months ago

  • Status changed from New to Questionable
  • Regression changed from No to Yes

That sounds like an error the game itself is producing - probably the modified disc images would also fail to run on real hardware.

DVDPrepareStreamAsync refers to streaming audio (sometimes called DTK), where the disc drive directly sends audio data without the game needing to process it. It sounds like there are file alignment requirements that need to be preserved for things to behave properly, and GC Tools 1.1.0/GCRebuilder v1.1 do not do so.

GC-Forever has a wiki page that lists some games that use audio streaming (though it doesn't list any of those Japanese games it seems). The same issue probably affects those games (though I haven't tested it).

I did try using Dolphin's disc extraction functionality (right-click the disc, select properties, then go to the filesystem tab, then right-click it and select "extract entire disc"). The extracted disc image worked properly (you can run it by selecting its main.dol file in the sys folder; dolphin will recognize that this is an extracted disc image and not homebrew and will reconstruct the disc). I did this with Alien Hominid (which uses streaming audio) and everything seems fine. If Dolphin's disc extraction functionality behaves correctly, there's nothing we can do to fix this since it's an issue with 3rd-party tools.

Actions #2

Updated by pokechu22 11 months ago

  • Regression changed from Yes to No
Actions

Also available in: Atom PDF