emukidid / swiss-gc

Swiss - The swiss army knife of GameCube homebrew
GNU General Public License v2.0
1.23k stars 93 forks source link

[Issue]: DVD drive not initializing after loading from game save exploit #843

Closed TwilightSlick closed 8 months ago

TwilightSlick commented 8 months ago

Describe the bug

I am using Swiss version r1548 (latest as of the time of writing), via a Super Smash Bros. Melee save exploit. That is the only game I currently have that has an exploit available. I am on a DOL-001 system, IPL rev 1.0, using the original disc drive to boot a Swiss DOL installed by GCI from the Melee exploit save. Both the DOL GCI and the save exploit are on an official Memory Card 251, my settings are on an SD2SP2. When booting Swiss after the name entry screen, it comes up "Initializing DVD drive," sits there for about 5 seconds, then says "No DVD drive detected." Even though I used the original drive to boot Melee to load the exploit into Swiss. I don't have any other games with save exploits to test but it might occur with those other games too. I do not have any hardware modifications installed (Picoboot, drivechip, GC Loader, etc.) However, if I launch a game or application like GCMM or GBI via my SD2SP2, and have IGR turned on via igr.dol on the SD2SP2, then reset back to Swiss via R+Z+B+Down (or B+X+START in GBI's case) then the DVD drive will become available to select in Swiss.

Steps to reproduce

  1. Load the original exploitable game disc and turn on the GameCube, with the memory card containing the exploit save and Swiss DOL GCI inserted.
  2. Run the exploit (in Melee's case, going to the "Name Entry" screen)
  3. It should wait on "Initializing DVD drive" for about 5 seconds and then say "No DVD Drive Detected." The DVD drive will not show as a valid option in Swiss, so I would not be able to boot original discs with Swiss patches or cheats.
  4. To get the DVD drive to show requires booting any application or game from an SD2SP2/SD Gecko/FSP/etc. with IGR turned on, then using the IGR command (R+Z+B+Down).

Expected behavior

The DVD drive should initialize and be available in Swiss upon loading the save exploit, without needing to launch another application and use IGR.

Relevant log output

No response

Add screenshots

No response

Extrems commented 8 months ago

I think this is a bug in the exploit itself as it never waited for the stop motor command to complete.