View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001475 | OpenMPT | Player input plugins (xmp-openmpt, in_openmpt) | public | 2021-06-20 08:59 | 2021-06-20 09:24 |
Reporter | Jo Li KMC | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Platform | x64 | OS | Windows | OS Version | 10 |
Product Version | OpenMPT 1.29.10.00 / libopenmpt 0.5.9 (upgrade first) | ||||
Summary | 0001475: libopenmpt can't find the sample data of certain MPTM files under XMPlay | ||||
Description | The following ModPlug Tracker Module (MPTM) files refuse to play any audio in XMPlay (v3.8.5.22) using the OpenMPT (v0.5.9.15018) plugin: OpenMPT v1.25:
OpenMPT v1.26:
OpenMPT v1.27:
| ||||
Steps To Reproduce |
Expected result: Beautiful music plays. Actual result: Nothing but silence plays. | ||||
Additional Information | XMPlay (with the libopenmpt plugin) loads the files fine. It registers the correct play time, song title and information, and all that. For some reason I can't seem to pin down, though… it absolutely refuses to see the sample data for these specific eight songs. All of the other Example MPTM Songs that come with various versions of OpenMPT work just fine under this environment. These eight are the only ones that seem unable to find the Sample data. File location doesn't seem to matter, either. The above Example Songs work fine under OpenMPT, itself. Just not the external player plugin. | ||||
Tags | No tags attached. | ||||
Has the bug occurred in previous versions? | Unknown | ||||
Tested code revision (in case you know it) | |||||
Thank you very much for the very detailed bug report. Files with external samples are not yet supported by libopenmpt. libopenmpt does issue a warning to client code, and in particular the xmp-openmpt plugin will display these warnings in the Track Info tab of XMPlay. The reason for not supporting externals samples in libopenmpt yet is mainly due to the security implications of loading data referenced by other files, and the (up until basically about now) inconsistent availability of C++'s std::filesystem feature that would simplify implementing a security-conscious loading of such data. This is a known issue, and other design considerations have already been discussed in 0000925. I will close this issue as a duplicate. Feel free to monitor 0000925 ("Monitor" button under the issue description) in order to get notified about progress of that issue. |
|
You can re-save those files and have the samples all included so that libopenmpt can play them properly by loading them in OpenMPT, Shift-clicking the "Keep Sample Data On Disk" option in the Samples tab (see https://wiki.openmpt.org/Manual:_Samples#External_Samples), and then saving. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2021-06-20 08:59 | Jo Li KMC | New Issue | |
2021-06-20 09:13 | manx | Note Added: 0004807 | |
2021-06-20 09:13 | manx | Relationship added | duplicate of 0000925 |
2021-06-20 09:14 | manx | Status | new => closed |
2021-06-20 09:14 | manx | Resolution | open => duplicate |
2021-06-20 09:24 | manx | Note Added: 0004808 |