-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DiscoHawk Freeze #2952
Comments
When debugging, it seems like it gets through about 8 tracks before hitting an exception here: int trackLength = track.NextTrack.LBA - track.LBA;
Not sure why it freezes in release, but debug makes it almost all the way through. But I'm guessing the last track on the disk is an invalid music file, and for some reason DiscoHawk is trying to process it incorrectly? |
I found this problem too... but it's not what made it hang for me... it's like, a separate problem. I just added a random check to avoid it. but uhhhh ... I'm not sure how this code ever worked. Well, it got all the tracks in this case, and the only dysfunction I can imagine from the change I made is that a final track might fail to get dumped, so since that isnt happening.... we'll just leave it at that for now |
In the game "5 Star Racing" I noticed the final 2 tracks are silent. The second to last one is 8 minutes, and the last one is 3. Is that the issue you're talking about, with failing to export the final track(s)? I've seen a number of games seemingly not export the final track. I just assumed a lot of games include a data track as the last track, but maybe it's export failures. I'll start keeping my eyes out for more examples. |
That one is a bad example. The last 2 tracks are actually silence. |
Ok, thanks for checking zeromus. If I notice other strange behavior I'll take a note of it. |
You know, I find it a little suspicious that so many games have a blank track at the end. Are we sure this isn't a bug? |
So many which games? |
Nevermind, I noticed a lot of PSX games have a blank track at the end (like maybe 1 out of every 4 I checked). But it seems that those tracks are actually just filled with \0 bytes, so it's not a bug unless the files I'm using were improperly created. |
Summary
DiscoHawk freezes when extracting music from Gunship (USA)
I don't know why it freezes, as it works fine for other games.
Repro
Output
4. DiscoHawk hangs for a long time (forever).
5. Force quit DiscoHawk
6. Check the output folder, and you will see Track 02 successfully extracted.
7. No other files extracted successfully.
Host env.
BizHawk 2.6.2 - win64
The text was updated successfully, but these errors were encountered: