Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: [POINTLESS] adplug plugin 1.51 can't play certain IMF files (Read 1212 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[POINTLESS] adplug plugin 1.51 can't play certain IMF files

Hi

I discovered a bug or problem in adplug plugin 1.51.

Please download this zip file:

http://www.shikadi.net/wiki/files/keenmusic-r3.zip

It's the music extracted from the commander keen games in IMF format. So the format of the files is correct (and playable in other AdPlug players)
Please try to play the files in the "Extracted IMFs" folder.

Foobar2000 using adplug plugin 1.51 gives the following error for all of the files:

"Unable to open item for playback (Unsupported format or corrupted file)"

I compared using the Audacious player, which also used AdPlug and the files play correctly using that player!

https://audacious-media-player.org/

Thanks in advance!
Jessica
Foobar2000 - It Really Whips ALL Llamas' Ass!

Re: adplug plugin 1.51 can't play certain IMF files

Reply #1
Either those players are using an obsolete version of AdPlug, or they're using a version that is past the "release" version I picked up from the AdPlug Github.io site. I have fixed the bug.

(It was a mistake in the file truncation check, comparing using "greater than or equal" rather than "greater", when the Keen files matched the "equal" condition, while still being valid. Look here if you're curious.)

Re: adplug plugin 1.51 can't play certain IMF files

Reply #2
Thanks for the fast fix!

I'm playing a lot of Adplug files so I report any bugs I find.

thx
Foobar2000 - It Really Whips ALL Llamas' Ass!

Re: adplug plugin 1.51 can't play certain IMF files

Reply #3
Either those players are using an obsolete version of AdPlug, or they're using a version that is past the "release" version I picked up from the AdPlug Github.io site. I have fixed the bug.

So this is really a bug in Adplug, it has nothing to do with the plugin code for foobar2000?

So I can report this on Adplug github, correct?
Foobar2000 - It Really Whips ALL Llamas' Ass!

Re: adplug plugin 1.51 can't play certain IMF files

Reply #4
It may already be fixed in Git master. I'm not using Git master, I'm using the last stable release that was just pushed a few months ago.