View Issue Details

IDProjectCategoryView StatusLast Update
0001707OpenMPTGeneralpublic2023-05-27 18:15
Reportergyorokpeter Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Platformarm64OSWindowsOS Version11
Product VersionOpenMPT 1.31.02.00 / libopenmpt 0.7.1 (upgrade first) 
Summary0001707: "loop song" feature displayed as not supported for .it
Description

I have some .it music files that have an intro and then loop. In OpenMPT the "Loop Song" box is checked but the restart pattern is greyed out and shows zero. Hovering over it shows that "feature is not available in IT format". Yet when playing the song it actually loops correctly, including skipping the intro.

Steps To Reproduce

Example file: Haunted.it (from Jazz Jackrabbit 2: The Secret Files)

The song loops from pattern 2, which is the 4th one from the beginning. However this is not reflected in the UI.

TagsNo tags attached.
Attached Files
openmpt.png (68,170 bytes)   
openmpt.png (68,170 bytes)   
Has the bug occurred in previous versions?
Tested code revision (in case you know it)

Activities

Saga Musix

Saga Musix

2023-05-27 17:10

administrator   ~0005732

The two things are unrelated.

  • The restart position feature is not available in IT files.
  • "Loop song" on the other hand is a playback feature, not a file format feature, and never saved with any files, no matter which format. Module files may or may not loop infinitely, it entirely depends on the player that is used to play them. This setting simply toggles the preference of how OpenMPT should play files, and it is carried across to any other file you open as well.
Saga Musix

Saga Musix

2023-05-27 17:11

administrator   ~0005733

And if you want to loop a song from a specific position (like in Haunted.it), you need to put a Bxx effect in the pattern to jump to that position when reaching the end of the song.

gyorokpeter

gyorokpeter

2023-05-27 18:12

reporter   ~0005734

In that case where does the info that the loop should not start from the beginning but some pattern down the line come from?

Saga Musix

Saga Musix

2023-05-27 18:15

administrator   ~0005735

As I said, you need to put a Bxx effect in the pattern data. Have a look at the last row of pattern 14 in Haunted.it.

Issue History

Date Modified Username Field Change
2023-05-27 17:07 gyorokpeter New Issue
2023-05-27 17:07 gyorokpeter File Added: openmpt.png
2023-05-27 17:10 Saga Musix Note Added: 0005732
2023-05-27 17:10 Saga Musix Status new => closed
2023-05-27 17:10 Saga Musix Resolution open => no change required
2023-05-27 17:11 Saga Musix Note Added: 0005733
2023-05-27 18:12 gyorokpeter Status closed => feedback
2023-05-27 18:12 gyorokpeter Resolution no change required => reopened
2023-05-27 18:12 gyorokpeter Note Added: 0005734
2023-05-27 18:15 Saga Musix Note Added: 0005735
2023-05-27 18:15 Saga Musix Status feedback => closed
2023-05-27 18:15 Saga Musix Resolution reopened => no change required