How can I do it?

Started by CN_Kelvin,

CN_Kelvin

::)I want to making a plugins for xmplay, How can I do it? Please reply or Arbin@kinposh.com.cn!

Keltic Danor

If you are referring to the plugins used for format support, then you are after Source for winamp input (DSP, General etc are not supported) plugins. This is available here:

http://www.winamp.com/nsdn/winamp2x/dev/plugins/in.jhtml

And source is also available in Delphi. I can post this if necessary.

If, however, you mean the XMP-XXX type plugins that provide archive and wma support, then perhaps man in charge, Ian, can help you out there.

Ralesk

It would be indeed fun if we had a nice plugin interface on our own so some volunteers could program plugs...  For example a /working/ sid plug :D  Or something.

Or a broadcaster DSP ;D ;D ;D

Fraggie

That is probably the best idea I have ever seen on this forum.

(And about that archive plugin "API" - is it top secret? ::) )

CN_Kelvin

I think that this plugins is for lyric, not for in_row!

Zarggg

#5
QuoteFor example a /working/ sid plug :D  Or something.

Oh, come _on_.  SIDamp works just fine! :evil:

Ralesk

Sorry for being maximalistic, but I can't choose subsongs /still/

Zarggg

#7
Eh... Somehow I can manage to get the SIDamp window to work... of course, I have to fiddle around with the skins and sizes to do it... :laugh:

Actually, I've found that the BASRRB skin works best with the SIDamp subsong widget.  Go figure, a 30 minute ugly hack turns out to be just the right size... ::)

[afterthought]Would that make BASRRB a kluge?[/afterthought]

Don't mind me, I'm just in a weird mood. :P

Edit: Confound it all, Ian!  ;)

Ian @ un4seen

Quote(And about that archive plugin "API" - is it top secret? ::) )
I'll be happy to give the plugin details to anyone who wants to make an archive plugin.

Quote...the BASRB skin...
I think you missed a "Really" there ;D

Keltic Danor

#9
QuoteActually, I've found that the BASRRB skin works best with the SIDamp subsong widget.  Go figure, a 30 minute ugly hack turns out to be just the right size... ::)

I'm surprised anyone even uses it :laugh: the sad thing is it took me about 3 months to do it, since I did'nt have a clue what I was doing. :P

[Edit]
I almost forgot what I was gonna say. I thought the plugin system was only to handle archives. If this is true then a lyrics thing isn't likely as a plugin. *However* it is possible as shown by the XMLyrics thing I bodgy'd up in 3 days. Which apart from a glitch does what its supposed to do. So perhaps someone could do a better job.

But me thinks the sid plugin issue would be handled by the winamp plugins, perhaps littlesid 3.0 wil deliver the goods (With a bit of proding perhaps ;) ).

*Wonders what else he was gonna say*

Hmmm... nope that must be it.

Brightguy

QuoteActually, I've found that the BASRRB skin works best with the SIDamp subsong widget.
I still can't get the subsong changer to work with SidAmp, even when using the BASRRB skin.  I remember even making a special XMPlay skin for SidAmp, but then never got to use it. ::)

LittleSid works fine though, you change the subsongs by dragging the position slider - the number of seconds it displays is the number of subsongs.

Fraggie

QuoteI'll be happy to give the plugin details to anyone who wants to make an archive plugin.
And I'll be happy to recieve them!

(I am thinking about Amiga modpackers plugin, which would on the fly convert ProTracker clones (like TrackerPacker or ThePlayer) back to MOD. It would add support for about 30-40 new file formats... ;D )

And one question - is it possible for XMPlay to support archived files from within archives?

Ralesk

Littlesid chokes on Ghostbusters.sid, and it's rather hard to get to some subsongs as it misplaces a bit (not necessarily one second each subsong), see also 2nd Reality C64 demo sid.

Also, LS doesn't have filters and that irks me a little.

Sidamp, even if the GUI shows up, can't be made to work on this system.  No matter what button I press, slider I pull, it won't change subsong but restart from the beginning.

On plugins:  wouldn't it be better to have a list of extensions we support (read out from plugins too) and then one could select which plugin to pass which extension.  With some exceptions like those quirky S3Ms with the MIDI samples or what they were.  This way we could avoid having NEZ and NoseFart collide, etc.
Or even better, but that's sorta an 'expert option' one could set priorities between plugins... like .IT <native> in_MPP in_MikMod in_MOD

Ok, I'm dreaming and I'm also thinking up things that have serious problems with them (like, what to do with two sid plugins...)

Zarggg

While we're on the subject, how about a SAP plugin that gets ASMA to work right? :p

Keltic Danor


QuoteLittlesid chokes on Ghostbusters.sid, and it's rather hard to get to some subsongs as it misplaces a bit (not necessarily one second each subsong), see also 2nd Reality C64 demo sid.

Also, LS doesn't have filters and that irks me a little.

Or even better, but that's sorta an 'expert option' one could set priorities between plugins... like .IT <native> in_MPP in_MikMod in_MOD

Yep it is a bit gumby, which is why I said Littlesid v3 :P

And it would probably be simpler (for us anyway) to set priority rather than by individual extension, faster to change too I'd bet.

QuoteWhile we're on the subject, how about a SAP plugin that gets ASMA to work right? :p

Erm... supports how? Seems to work fine here... well, pretty much, the move between subsong is a little " :P " but other than that...

Ian @ un4seen

QuoteAnd I'll be happy to recieve them!

(I am thinking about Amiga modpackers plugin, which would on the fly convert ProTracker clones (like TrackerPacker or ThePlayer) back to MOD. It would add support for about 30-40 new file formats... ;D )
Sounds good. I should also mention that you must be using Visual C++ (or any other compiler that uses MSVCRT.DLL, eg. Mingw)... if that's not a problem, I'll send it over.

QuoteAnd one question - is it possible for XMPlay to support archived files from within archives?
To keep things simple, XMPlay does not decompress archives within other archives. Is that a problem for what you had in mind?

Fraggie

QuoteSounds good. I should also mention that you must be using Visual C++ (or any other compiler that uses MSVCRT.DLL, eg. Mingw)... if that's not a problem, I'll send it over.
No pro...

QuoteTo keep things simple, XMPlay does not decompress archives within other archives. Is that a problem for what you had in mind?
Well, it might be. A little. I keep these files archived, because often their packing ratio is very (VERY) poor...

pietjepuk75

QuoteIf you are referring to the plugins used for format support, then you are after Source for winamp input (DSP, General etc are not supported) plugins. This is available here:

http://www.winamp.com/nsdn/winamp2x/dev/plugins/in.jhtml

I would also like to create a plugin. But, as far as I know, the first thing you do is find the Winamp handle, with 'FindWindow("Winamp v1.x",NULL)' which it won't find if Winamp isn't running. So what am I missing to create a plugin to work with XMPlay?
Yes, I am a newbie ;-)