LackeyCCG

LackeyCCG Forum => Plugins & Plugin Creation Forum => Topic started by: blinovitch on February 11, 2014, 09:11:15 PM

Title: Hosting a Plugin on Dropbox
Post by: blinovitch on February 11, 2014, 09:11:15 PM
I've been tinkering with building a new 7th Sea plugin this week. I'd like to host it on Dropbox, as I've seen other plugin developers do.

However, in building updatelist.txt, I'm finding that Dropbox isn't making generating lots of links for images easy. Does anyone have tips on how to do this efficiently -- or can confirm it really is a lot of tedious clicking, copying and pasting?
Title: Re: Hosting a Plugin on Dropbox
Post by: Trevor on February 12, 2014, 09:10:32 AM
Can't you just put all the images files in one place and use a GeneralURL path so you don't need to specific every specific URL?
Title: Re: Hosting a Plugin on Dropbox
Post by: blinovitch on February 12, 2014, 12:01:58 PM
As in, generate a link to a shared folder in Dropbox, and tell Lackey to use that as a general URL?

I haven't tried that approach yet. So far, I've only experimented with concatenating a root URL from Dropbox with individual image filenames. I'll give the general URL a go tonight.
Title: Re: Hosting a Plugin on Dropbox
Post by: Jynks on February 12, 2014, 04:45:10 PM
I use dropbox for my plugin....

Put all your CARD images in a single directory with no sub dirs.. you "may" be able to use multibuil directories but I do not. then just add a line like this to the base of your plugin.txt. You will still need direct urls to move tokens, skin stuff and sounds or anything else, as far as I know this is ONLY for card images.

CardGeneralURLs:
http://dropboxlink.com/Directory/Cards/


The plugin will download the cards with out the need to put their exact urls in for each one, also on the local drive it will use the SET column of your set.txt file as sub dir names.. so locally all the cards will still be sorted into subdirs.

One more thing... the dropbox files need to be in the "public" folder and when you use drop box links make sure the url is "http://" NOT "https://" of they will fail.

plugins/LoTRlcg/sounds/Phase4.wav http://dl.dropbox.com/u/9169569/LackeyCCG/LoTR-LCG/sounds/Phase4.wav -27277

This for example is a line from my plugin that copies an audio file.. remember it is tab delimited just like the cardset.txt.

location to save it in relation to the lackeyccg.exe (tab) url to download from (tab) # for auto updating