Author Topic: XMPZXTUNE - chiptune plugin for XMPlay  (Read 45654 times)

ZXED

  • Posts: 61
XMPZXTUNE - chiptune plugin for XMPlay
« on: 19 Apr '15 - 08:29 »
This plugin adds a support for several chiptune/tracker module formats (ZX Spectrum AY/YM modules, Amiga/Atari/PC Engine tracker modules, SID, SAA1099, POKEY modules, TurboGrafX, Sega, Nintendo music formats and some more). For a full list of supported formats look here: https://zxtune.bitbucket.io/info/features/

The project is located at:
https://sourceforge.net/projects/xmpzxtune/

The add-on is based on ZXTune project (https://zxtune.bitbucket.io/). All the hard work (decoding functionality) is done by the author of ZXTune and the authors of numerous 3rd party libraries. XMPZXTUNE is basically just an interface to ZXTune core.

The plugin supports the following extensions: $b, $m, 2sf, ahx, as0, asc, ay, ayc, bin, cc3, chi, cop, d, dmm, dsf, dsq, dst, esv, fdi, ftc, gam, gamplus, gbs, gsf, gtr, gym, hes, hrm, hrp, hvl, kss, lzs, m, mod, msp, mtc, nsf, nsfe, p, pcd, psc, psf, psf2, psg, psm, pt1, pt2, pt3, rmt, rsn, s, s98, sap, scl, sid, spc, sqd, sqt, ssf, st1, st3, stc, stp, str, szx, td0, tf0, tfc, tfd, tfe, tlz, tlzp, trd, trs, ts, usf, v2m, vgm, vgz, vtx, ym.

Limitations:
    - Internet streaming is not supported.
    - No support for looping of any kind.
    - The plugin supports only single-file formats. To play multi-file formats (e.g. *.minipsf + *.psflib) you may archive all files into any supported archive (zip, 7z, tar, gz, rar) and change the extension of the archive to a supported extension (e.g. *.psf).

The plugin supports XMPlay v3.8.

The latest version of XMPZXTUNE and the corresponding changelog are available here:
https://sourceforge.net/projects/xmpzxtune/files/xmpzxtune/

The source code:
https://bitbucket.org/z80maniac/zxtune

Build instructions:
https://bitbucket.org/z80maniac/zxtune/src/master/apps/plugins/BUILD.TXT

You may also be interested in a similar add-on for BASS audio library:
https://www.un4seen.com/forum/?topic=15694.0
« Last Edit: 23 Aug '20 - 18:57 by ZXED »


ZXED

  • Posts: 61
Re: XMPZXTUNE - chiptune plugin for XMPlay
« Reply #2 on: 19 Apr '15 - 11:48 »
ZXTune can't play them too, so there's nothing I can do. You may want to report this problem at ZXTune issue tracker:
https://bitbucket.org/zxtune/zxtune/issues?status=new&status=open

jbb666

  • Posts: 7
Re: XMPZXTUNE - chiptune plugin for XMPlay
« Reply #3 on: 20 Apr '15 - 08:00 »
Thank you!
« Last Edit: 20 Apr '15 - 08:04 by jbb666 »

bauxite69

  • Posts: 73
Re: XMPZXTUNE - chiptune plugin for XMPlay
« Reply #4 on: 20 Apr '15 - 09:35 »

Thanks !!!

ZXED

  • Posts: 61
Re: XMPZXTUNE - chiptune plugin for XMPlay
« Reply #5 on: 2 May '15 - 08:00 »
The new version (v1.1) of XMPZXTUNE is out!

This version only contains changes from ZXTune project.

Downloads, details & full changelog:
https://sourceforge.net/projects/xmpzxtune/files/xmpzxtune/v1.1/

Plugin doesn't play:
http://wos.meulie.net/pub/sinclair/music/ay/demos/v/VooDooTest.ay.zip
http://wos.meulie.net/pub/sinclair/music/ay/demos/u/Unknowns00.ay.zip
http://wos.meulie.net/pub/sinclair/music/ay/cpc-demos/AfcReportVI_1.ay.zip
Now it at least plays the first two. Thanks for propagating this bug to ZXTune!

guest

  • Guest
Re: XMPZXTUNE - chiptune plugin for XMPlay
« Reply #6 on: 2 May '15 - 10:23 »
Current subsong number in title isn't updated after end of previous subsong.

ZXED

  • Posts: 61
Re: XMPZXTUNE - chiptune plugin for XMPlay
« Reply #7 on: 2 May '15 - 11:00 »
I'm not sure I understand. Can you explain me how to reproduce this problem?

guest

  • Guest
Re: XMPZXTUNE - chiptune plugin for XMPlay
« Reply #8 on: 2 May '15 - 11:05 »
When second subsong is played should be displayed "2/2" but still is "1/2"


ZXED

  • Posts: 61
Re: XMPZXTUNE - chiptune plugin for XMPlay
« Reply #9 on: 2 May '15 - 11:18 »
Ah, now I see it, it only appears when subsongs are not separated. Ok, I'll look into it.

ZXED

  • Posts: 61
Re: XMPZXTUNE - chiptune plugin for XMPlay
« Reply #10 on: 10 May '15 - 08:03 »
The new version (v1.2) of XMPZXTUNE is out!

This version contains fixes regarding subsongs handling.

Downloads, details & full changelog:
https://sourceforge.net/projects/xmpzxtune/files/xmpzxtune/v1.2/

When second subsong is played should be displayed "2/2" but still is "1/2"
Fixed.

Dhry

  • Posts: 130
Re: XMPZXTUNE - chiptune plugin for XMPlay
« Reply #11 on: 21 May '15 - 21:49 »
This is awesome. Thank you!

DRS

ZXED

  • Posts: 61
Re: XMPZXTUNE - chiptune plugin for XMPlay
« Reply #12 on: 15 Nov '15 - 10:10 »
The new version (v1.3) of XMPZXTUNE is out!

Major improvements:
    - new formats: NSF, NSFE, GBS, SAP, HES, VGM, GYM, AHX
    - seek speed was increased dramatically for some formats

Downloads, details & full changelog:
https://sourceforge.net/projects/xmpzxtune/files/xmpzxtune/v1.3/

rst

  • Posts: 317
Re: XMPZXTUNE - chiptune plugin for XMPlay
« Reply #13 on: 27 Dec '15 - 12:10 »
it is a stupid question but, why the plugin name without the script '-' ?
it didnt match the xmplay plugins designation and seems ugly.
I know that exist other one with the 'xmp-zxtune' name that is the proper name, but 'xmpzxtune' seems horrible to the eyes....

Dhry

  • Posts: 130
Re: XMPZXTUNE - chiptune plugin for XMPlay
« Reply #14 on: 14 Jun '17 - 21:25 »
Hi there. Wondering when the next version of xmpzxtune will be made available? I thought maybe I could just update the libzxtune library file, but I can't seem to locate that file separately (it's not contained in the main project's zips, such as zxtune_r3890_windows_x86.zip).

Edit: Huh. I just noticed that this file isn't separate in the release, I suppose it's bundled into xmp-zxtune.dll.

Thanks in advance
DRS

ZXED

  • Posts: 61
Re: XMPZXTUNE - chiptune plugin for XMPlay
« Reply #15 on: 15 Jun '17 - 08:02 »
Yes, XMPZXTUNE is based on ZXTune's source code, but it's not a part of ZXTune project.

I'm not sure when I'll have the time to build a new version and there are some technical difficulties too. But I think it's gonna be this or next month probably.

Dhry

  • Posts: 130
Re: XMPZXTUNE - chiptune plugin for XMPlay
« Reply #16 on: 15 Jun '17 - 17:45 »
Great, thank you! I've just downloaded several thousand misc format modules from Modland and am shoring up my players and plugins right now.
Any time you can put into it would be greatly appreciated!

Regards,
DRS

ZXED

  • Posts: 61
Re: XMPZXTUNE - chiptune plugin for XMPlay
« Reply #17 on: 15 Jul '17 - 20:15 »
The new version (v3.8.1) of XMPZXTUNE is out!

Version numbers are now tied to XMPlay version numbers (just like BASSZXTUNE version numbers are tied to BASS versions).

New supported formats:
    - PlayStation 1&2 Sound Format (PSF, PSF2)
    - Nintendo Ultra64 Sound Format (USF)
    - GameBoy Advance Sound Format (GSF)
    - HivelyTracker (HVL)

This release added support to PSF-like formats. These formats are usually multi-file, i.e. they need several files at once for a single tune (e.g. *.minipsf + *.psflib). XMPZXTUNE supports only single-file formats, but it supports archived modules. So, to play multi-file formats you may archive all needed files into any supported archive (zip, 7z, tar, gz, rar) and change the extension of the archive to a supported extension (e.g. *.psf). Subtune separation in XMPlay will work as usual.

Downloads & details:
https://sourceforge.net/projects/xmpzxtune/files/xmpzxtune/v3.8.1/

The project source code has undergone a huge rewrite and has been moved to:
https://bitbucket.org/z80maniac/zxtune

Previously the source code was split between SourceForge and Bitbucket. Now all the source code is on Bitbucket. Also, now you can find clear instructions on how to build the plugin yourself:
https://bitbucket.org/z80maniac/zxtune/src/master/apps/plugins/BUILD.TXT
https://bitbucket.org/z80maniac/zxtune/src/master/apps/plugins/xmplay/BUILD.TXT
« Last Edit: 15 Jul '17 - 20:25 by ZXED »

Dhry

  • Posts: 130
Re: XMPZXTUNE - chiptune plugin for XMPlay
« Reply #18 on: 16 Jul '17 - 03:04 »
Outstanding! Thank you!

Regards
DRS

tails__

  • Posts: 16
Re: XMPZXTUNE - chiptune plugin for XMPlay
« Reply #19 on: 26 Aug '17 - 08:47 »
ZXED, while this is a great plugin which finally brings zx spectrum tracker music to XMPlay, I'd wish to see stripped down version which supports only zx spectrum specific formats, as there plugins for all other, and it's quite a hassle to put down priority formats in XMPlay settings so they won't play with xmpzxtune. If you can provide instructions on how to disable specific formats in build I'd be more than happy.

ZXED

  • Posts: 61
Re: XMPZXTUNE - chiptune plugin for XMPlay
« Reply #20 on: 27 Aug '17 - 07:31 »
I don't think it's easily possible to disable particular formats, but it's possible to disable some of the supported extensions. If that's what you meant then you can just comment out unneeded extensions in this file:
https://bitbucket.org/z80maniac/zxtune/src/master/apps/plugins/common/pluginbase.h

Then also change the EXTENSIONS_COUNT constant to reflect the new extensions count.

You can find an example of a complete build process here:
https://bitbucket.org/z80maniac/zxtune/src/master/apps/plugins/xmplay/BUILD.TXT

Note, that it will not be a truly "stripped down" version. That extension list is not used anywhere internally in ZXTune, so the filesize and the performance of the plug-in will remain the same.

On a side note, I think that it would be much nicer if XMPlay had the built-in ability to disable selected plug-in extensions right from the GUI...

cooli

  • Posts: 12
Re: XMPZXTUNE - chiptune plugin for XMPlay
« Reply #21 on: 14 Sep '17 - 13:45 »
Happy to finally discover that there's an alternative to XMPlay GME plugin,
thanks for your work, is it possible to add support for vgz and rsn?

ZXED

  • Posts: 61
Re: XMPZXTUNE - chiptune plugin for XMPlay
« Reply #22 on: 16 Sep '17 - 08:24 »
is it possible to add support for vgz and rsn?

I think these formats are already supported, but not currently listed in the supported extensions list. Can you try the following?
1) Rename *.vgz file to *.vgm and see if you can open it with the plugin.
2) Rename *.rsn file to *.spc and see if you can open it with the plugin.
(I can't test it myself  because I won't have an access to a Windows machine till the end of the next week)

If the plugin will be able to open these files then I will add VGZ and RSN to the supported extensions list in the next release.

tails__

  • Posts: 16
Re: XMPZXTUNE - chiptune plugin for XMPlay
« Reply #23 on: 15 Oct '17 - 16:07 »
For those who might need it:

http://dump.bitcheese.net/files/fohowec/xmp-zxtune.dll.zip

This is plugin with only ZX Spectrum/Turbo FM (+AY/VTX/YM) extentions defined + it uses 192KHz output sample rate with no interpolation.

cooli

  • Posts: 12
Re: XMPZXTUNE - chiptune plugin for XMPlay
« Reply #24 on: 24 Nov '17 - 00:21 »
is it possible to add support for vgz and rsn?

I think these formats are already supported, but not currently listed in the supported extensions list. Can you try the following?
1) Rename *.vgz file to *.vgm and see if you can open it with the plugin.
2) Rename *.rsn file to *.spc and see if you can open it with the plugin.
(I can't test it myself  because I won't have an access to a Windows machine till the end of the next week)

If the plugin will be able to open these files then I will add VGZ and RSN to the supported extensions list in the next release.

Yes the two are working!  :)