I'm running Allan Border's Cricket with dosbox-staging (git master) on Gentoo Linux. When the game starts the intro/menu music is played for ~65 seconds. After the music has ended the game attempts to play it again after ~10 seconds, but fails with the following error flooding the terminal:
CDROM: Track 2 failed to seek to byte 9878400, so cancelling playback
I used cdrdao to create an image of the disc and toc2cue to convert the TOC file to the following CUE file:
FILE "Allan Border's Cricket.bin" BINARY
TRACK 01 MODE1/2352
INDEX 01 00:00:00
TRACK 02 AUDIO
PREGAP 00:02:00
INDEX 01 00:56:00
The same BIN/CUE works with Dosbox 0.74-3 without any issues.
Which version of dosbox-staging exactly are you testing? (if you compiled it yourself, you can obtain info using git describe)
It's always the most recent commit which currently is 2fc67710462037522bd22a3d1730d1da9a569420.
Thanks for the submission and confirming version of staging @amak79 ; I will check it out.
Reproduced with binary + cue file and using the game's '_full HD install option_'.
If '_install config to HD_' option is used, then the game only plays the file once, and cannot be reproduced.
If file-based tracks are used (wav/flac/opus), then the seek error also does not occur.
Thank for finding this corner case @amak79 !
I've tested your PR and I can confirm it's working now. Thanks for taking the time to investigate this issue.
Most helpful comment
I've tested your PR and I can confirm it's working now. Thanks for taking the time to investigate this issue.