Author Topic: Extended Module Player Library (libXMP) plugin for XMPlay  (Read 63947 times)

bauxite69

  • Posts: 73
v1.0.25, 2018-06-29
 · added configuration setting to toggle support for libXMP built-in depackers
  • Arc (.arc): old file archiver and compressor
    ArcFS: Acorn file archiver and compressor
    Bzip2 (.bz2): popular Unix/Linux file compressor
    Compress (.Z): old Unix file compressor
    Gzip (.gz): popular Unix/Linux file compressor
    LHA (.lha): Amiga/DOS file archiver and compressor
    LZX (.lzx): Amiga file archiver and compressor
    MMCMP: Music Module Compressor by Emmanuel Giasson
    MUSE (.j2b): GALAXY Music System compressor by Carlo Vogelsang
    OGGMod (.oxm): OGG-encoded XM modules
    PowerPacker (.pp): Amiga file compressor by Nico Francois
    !Spark: Acorn file archiver and compressor
    S404: Amiga StoneCracker file compressor
    SQSH: Amiga file compressor
    Zip (.zip): popular DOS/Windows file compressor
    xz (.xz): Unix/Linux file compressor

v1.0.24, 2018-04-28
 · added samples info to XMPlay's samples info screen
« Last Edit: 30 Jun '18 - 15:30 by bauxite69 »

Patrick

  • Guest
Thnx for update. Great plugin to play OctaMED music with synth (not supported in libopenmpt)

bauxite69

  • Posts: 73

v1.0.26, 2019-01-09
   THE FOLLOWING CHANGES ARE EXPERIMENTAL AND MAY CAUSE PLAYBACK ERRORS.
   The only goal is to allow .S3M (with Adlib instruments) and Adlib formats (.AMD, .HSC and .RAD) files to be tested.
    · re-enabled broken synth chip and Adlib emulation (Removed by Claudio Matsuoka from libXMP since version 4.4.0)
    · added configuration setting to toggle support for .S3M files with Adlib instruments
    · re-enabled (again) Adlib formats .AMD, .HSC and .RAD


deus-ex

  • Posts: 288
Thank you for a new release. No more updates provided for libxmp (required for in_xmp) and xmp.exe?

bauxite69

  • Posts: 73
Thank you for a new release. No more updates provided for libxmp (required for in_xmp) and xmp.exe?

If i update libxmp with these experimental changes, there will be no option in in_xmp and xmp.exe to toggle support for Adlib format and S3M (with Adlib instruments) files. They will playback by default.

What do you think ?

deus-ex

  • Posts: 288
XMP.exe was updated last in July 2016, so it missed out all further updates from v1.0.23 onwards. And LibXMP was updated last in October 2016, missing all further updates from v1.0.24 onwards.

Perhaps you can provide two sets of XMP.exe and LibXMP? One set of XMP.exe and LibXMP updated to the previous v1.0.25, and the other set updated to current v1.0.26. This way we have the freedom to choose, without maneuvering into a dead end due to the experimental nature of the current update.

Btw, I overhauled the file Formats.txt a little to improve the readability. I send you a PM, please feel free to use it or not as you see fit.

saga

  • Posts: 2748
For xmp.exe it doesn't really make a lot of sense to have this option, anyway? As it's not a plugin to anything else, the user chooses which files the want to play with it anyway.

bauxite69

  • Posts: 73
XMP.exe was updated last in July 2016, so it missed out all further updates from v1.0.23 onwards. And LibXMP was updated last in October 2016, missing all further updates from v1.0.24 onwards.

Perhaps you can provide two sets of XMP.exe and LibXMP? One set of XMP.exe and LibXMP updated to the previous v1.0.25, and the other set updated to current v1.0.26. This way we have the freedom to choose, without maneuvering into a dead end due to the experimental nature of the current update.

Btw, I overhauled the file Formats.txt a little to improve the readability. I send you a PM, please feel free to use it or not as you see fit.

Thanks ! I'll include the new formats.txt in the next release.

libxmp.dll 4.4.1 is the latest version.
Since version 1.0.23 of xmp-libxmp, updates are only related to plugin features.

Instead of updating in_xmp.dll with the same features of xmp-libxmp (too much work :D), i'll provide a new libxmp.dll 4.4.1 Adlib.
No need to update xmp.exe

Is it good enough for everyone ?


deus-ex

  • Posts: 288
Yes, that sounds reasonable. Thank you.

rolloLG

  • Posts: 8
Thank you!
With your libXMP + Delix plugin I'm finally able to play ALL Amiga's Octamed 8ch!! :)

bauxite69

  • Posts: 73
v1.0.29, 2021-06-10
 · updated to libXMP v4.5.0
 · plugin settings will now take full effect without restarting playback
 · last version supporting Windows XP

Download (OneDrive)

« Last Edit: 27 Feb '24 - 04:44 by bauxite69 »

Sebby75

  • Guest
Hi.. gave it a quick 5 minute test.

Local files (on harddrive) play through the plugin... while web links to .mod files seem to play using XMPlay's built in decoder...
I listen to mods that way quite often... basically dragging web link, let's say for example http://artscene.textfiles.com/music/mods/MODS/MODLAND/Dreamer/ into XMPlay

http://artscene.textfiles.com/music/mods/MODS/MODLAND/Dreamer/black%20queen.mod
isn't playing correctly... (it plays fine using built in decoder and xmp-openmpt plugin)
It's a good tune to test players due to being *weird* with pattern jumps etc... tune to WATCH patterns and listen...
https://www.youtube.com/watch?v=mkhHEXDSwyQ

Regards
Seb

bauxite69

  • Posts: 73
v1.0.30, 2021-06-11
 · fixed: xmp-libXMP could not open/play files from URL


Download (OneDrive)

« Last Edit: 27 Feb '24 - 04:44 by bauxite69 »

bauxite69

  • Posts: 73
Local files (on harddrive) play through the plugin... while web links to .mod files seem to play using XMPlay's built in decoder...
I listen to mods that way quite often... basically dragging web link, let's say for example http://artscene.textfiles.com/music/mods/MODS/MODLAND/Dreamer/ into XMPlay
Fixed. You can try v1.0.30

http://artscene.textfiles.com/music/mods/MODS/MODLAND/Dreamer/black%20queen.mod
isn't playing correctly... (it plays fine using built in decoder and xmp-openmpt plugin)
I'm not the author of LIBXMP library. I only wrote the plugin  :)
I'll open an issue on https://github.com/libxmp/libxmp/issues

saga

  • Posts: 2748
Black Queen not playing correctly is a known issue: https://github.com/libxmp/libxmp/issues/124
I think that's more or less an architectural issue of how XMP detects backwards jumps so it cannot be fixed easily.

Sebby75

  • Posts: 37
Just noticed one oddity... For tunes with more than 16 subsongs.. it only detects first 16 and no more, tested number of different mods and other formats... 16 subsongs seems to be the limit..


http://ftp.modland.com/pub/modules/Protracker/Blaizer/pinball%20fantasies%20-%20party%20land.mod

xmplay built in player (41 subsongs)
via xmp-openmpt (41 subsongs)
via xmp-libxmp (16 subsongs)

http://ftp.modland.com/pub/modules/Protracker/Blaizer/pinball%20illusions%20-%20extreme%20sports.mod

xmplay built in player (22 subsongs)
via xmp-openmpt (22 subsongs)
via xmp-libxmp (16 subsongs)



saga

  • Posts: 2748
This is a limitation of libxmp and not a problem of the plugin itself. It will be lifted in the next libxmp update: https://github.com/libxmp/libxmp/pull/382

Sigma Seven

  • Posts: 14
I'm having problems with .med file playback regarding priority filetypes.

I've also got the Delix plugin installed and it insists on playing .med files.

In xmp-libxmp's settings I've got all 'med' types selected in the 'formats' tab, and in its 'priority filetypes' field I entered 'med'.

Sadly to no avail my friends as Delix insist on playling them no matter what.

And that one sucks as it gives me no songlength and I can't skip.

If I remove Delix and restart, xmp-libxmp plays all my .med files beautifully no problem.

So based on that it's not the plugin's fault I guess? ...who knows...

Perhaps XMPlay is not 'vicious' enough with whatever data we enter in the 'priority filetypes' field?

I tried to be creative and looked in the .med files' header and all of them start with 'mmd0' or 'mmd1'.

So in a last deperate attempt I went ahead and as a scientific experiment I entered those also in the 'priority filetypes' option, just to see what happens.

Results were the same unfortunately. Delix takes over no matter what.

I'm on XMP 3.8.5 of course.

bauxite69

  • Posts: 73
v1.0.31, 2023-06-18
 · updated to libXMP v4.6.0
 · Windows XP is no longer supported


Download (OneDrive)
« Last Edit: 27 Feb '24 - 04:44 by bauxite69 »

andy2004

  • Posts: 18
everytime i run Xmplay with the xmp-libxmp.dll installed in xmplay folder.. Eset deletes xmp-libxmp.dll
i have to go to the Quarantine to restore it.. shows in Eset as SUSPICOUS.
uploaded the file to virustotal..

24/70 classing as Trojan.Lazy.D3F615,  Win32:MalwareX-gen [Trj],

ironically eset on that site says undetected?
when compiled did you compress any section of it?

https://www.virustotal.com/gui/file/a13c13bee6bc9a4977ed5e50e26b06e44637e78e8b073e93e4d7a7c26dc4b1a3

bauxite69

  • Posts: 73
everytime i run Xmplay with the xmp-libxmp.dll installed in xmplay folder.. Eset deletes xmp-libxmp.dll
i have to go to the Quarantine to restore it.. shows in Eset as SUSPICOUS.
uploaded the file to virustotal..

24/70 classing as Trojan.Lazy.D3F615,  Win32:MalwareX-gen [Trj],

ironically eset on that site says undetected?
when compiled did you compress any section of it?

https://www.virustotal.com/gui/file/a13c13bee6bc9a4977ed5e50e26b06e44637e78e8b073e93e4d7a7c26dc4b1a3



No compression, compiled in Visual Studio 2022 using option : Runtime Library Multi-threaded (/MT)

Where did you get the plugin ?

andy2004

  • Posts: 18
from the above link.. ONEDRIVE above..
redownloaded again.. and same thing.. only v1.0.31 aka 4.6.0 gets binned by eset..
downloaded the previous version V1.0.30 aka 4.5.0 and nothing..

sorry for the delay in posting i dont come here daily..

erm i managed to fix the file..
i used an old app called filescanner..
and i modified the .dll by using the following command. fs -spl -rn
-rn optimized the header..
-spl removed spaces. reduced from 36 to 4..
then i used the command
fs -c to give it a new checksum.

and now it loads into xmplay without being removed by eset.

« Last Edit: 26 Jul '24 - 18:21 by andy2004 »