ID:100768
 
Resolved
Module music files were ignoring pattern jump commands used to loop, and instead repeated from the beginning. These files will now loop correctly when the sound is loaded with repeat=1, but please note that it will not be possible to turn the repeat setting off; the sound must be cleared by sending a null sound to its channel, or stopping all channels.
BYOND Version:474
Operating System:Windows 7 Home Basic
Web Browser:Firefox 3.6.8
Applies to:Dream Seeker
Status: Resolved (475)

This issue has been resolved.
Descriptive Problem Summary: During playback, when you have a B-flag (position jump) set to jump to a pattern before the said B-flag (such as from Pattern 5 to Pattern 3), Dream Seeker will jump to the beginning of the song instead of jumping to the specified pattern of the B-flag. Everything after this B-flag is essentially dropped.

Numbered Steps to Reproduce Problem:
1. Open up any .IT file in a tracker.
2. Set a B-flag to jump to any pattern before the B-flag.
3. Play the file in Dream Seeker.

Code Snippet (if applicable) to Reproduce Problem:
sound('file.it',repeat=1)


Expected Results: Dream Seeker jumps to the specified position of the B-flag during playback.

Actual Results: Dream Seeker starts the song over upon reaching the B-flag during playback.

Does the problem occur:
Every time? Or how often? Every time.
In other games? All games that use .IT files with B-flags.

When does the problem NOT occur? This problem does not occur when you're jumping further into the song (such as from Pattern 5 to Pattern 10).
This is a known issue (although I can't seem to find where it's been reported before)--unfortunately the issue is with FMod. If there's a way to get FMod to respect pattern jumps I'm not aware of it; Google is a wasteland when it comes to information on this subject.
This may be resolved in a newer update of FMod, so we can look into testing & integrating that.