sezero / mikmod

Mikmod Sound System (mirror of git repo at https://sf.net/projects/mikmod/)
http://mikmod.sourceforge.net/
69 stars 21 forks source link

Some small fixes for ScreamTracker 2 #38

Closed neumatho closed 2 years ago

neumatho commented 3 years ago
  1. One extra position was always added, which made the player to play the first pattern at the end.
  2. Fixed sample loop and detection for invalid values, e.g. N.S. Beat.stm and Batman.stm.

stm_mods.zip

sezero commented 3 years ago

@AliceLR: can you please review?

AliceLR commented 2 years ago

My initial impressions:

edit: the affected sample in N.S. Beat.stm seems to play correctly in both MikMod and libxmp despite a loop being loaded when it shouldn't be. The patch here is still OK. Interestingly, Scream Tracker 2.3 does play the affected sample with a loop (for both PC speaker and SoundBlaster) and it sounds horrible.

AliceLR commented 2 years ago

I'm going to go ahead and merge this.