News:

A forum for users of LackeyCCG

Main Menu

Magic Plugin Update

Started by dragostea, June 01, 2015, 03:41:24 PM

Previous topic - Next topic

dragostea

Hi,

Are there plans to update and include the new modern masters 2015 set?

Thanks

Bort

If someone could help with the card data file id love to add mm2015. I havent been able to find it.

AuraDragon


dragostea

How do I help, Bort? PM me

AuraDragon

Filling in a card data file requires someone to do either:

Manual Labour - generally accepted as a form of lite suicide.
or
Automatic Processing - what I generally do.

The latter requires a Program to obtain and format the card data, as well as a Source of data.  There are both already.  Gatherer contains the data for mm2015 on their website and Gatherer Extractor is the program that can obtain the data from Gatherer.  You'll also need to format the data, probably with Microsoft Excel and some know-how.

Also we can't forget the card images, they can be obtained from Magiccards.info - which also happens to be the usual place Bort gets his images.

Burst

I wasn't sure what the abbreviation was, so I used mm15.  A simple search and replace should be sufficient to fix it if that's not what is needed

https://dl.dropboxusercontent.com/u/75336811/mm15.txt

I hope that helps

AuraDragon

Looks good.

The only things "wrong" - so to speak - with the data file is that it's missing one column and it doesn't start with the column definition row.

Aside from those two things, it also needs CardImageURLs entries, which I'm attaching, which look like:

CardImageURLs:
mm15/1.jpg   http://magiccards.info/scans/en/mm2/1.jpg
mm15/2.jpg   http://magiccards.info/scans/en/mm2/2.jpg
mm15/3.jpg   http://magiccards.info/scans/en/mm2/3.jpg

In excel they were written like:

CardImageURLs:
=CONCATENATE("mm15/",G2,".jpg")   =CONCATENATE("http://magiccards.info/scans/en/mm2/",G2,".jpg")
=CONCATENATE("mm15/",G3,".jpg")   =CONCATENATE("http://magiccards.info/scans/en/mm2/",G3,".jpg")
=CONCATENATE("mm15/",G4,".jpg")   =CONCATENATE("http://magiccards.info/scans/en/mm2/",G4,".jpg")

Burst

what column is it missing?

and, I didn't think the images were supposed to be full urls, just the base file name (no path, no extension), basically, it's the same format I gave Bort for DTK.

If it's not sufficient I can adjust, what is needed?


Burst

The format I used is so it could be appended to the allcards.txt or allcards2.txt files  "as is"



Bort

thanks for the help guys. I fixed those issues and decided on the name mm2 since that is what magiccards.info uses. the autoupdate links should be working now. the high scans arent out yet so those dont look as good as they will. I havent done all the scripts yet, so some of the automation isnt working yet for mm2, like planeswalkers adding loyalty counters etc.

the dtk card images are also updated to be the high res scans with this update.

the autoupdate url for high is http://www.normalitycomics.com/magicplugin/high/updatelist.txt

Burst

it's easy for me to adjust the output.  I thought I was giving you what you needed without requiring more work on your part.

If that's not the case, what would be the ideal file for you?

There aren't new pictures for Tempest Remastered yet, but when there are, I can generate a file for that for you too as a test of my generation scripts

AuraDragon

(The apparent fact that Bort doesn't use automated generation pains me deeply)

The Scripts column, goes right before the Text column.

I guess the column definition row isn't necessary in this case since Bort combines all the set data files into one or two files.

AuraDragon

The FRF set is still using names for the CardImage column even though the CardImageURLs was updated for that set to use numbers.  Because of this, the FRF set refuses to display images.

CrazyChucky

Same thing for Commander 2014, looks like.

CrazyChucky

A friend of mine fixed the image references for Fate Reforged and Commander 2014 in allcards2.txt, if you replace yours with this version it should work for now.

http://www.normalitycomics.com/stuff/allcards2.txt

(Note: yes, this is on the same server as the plugin itself. I host it, but Bort maintains it, so I don't want to go mucking about with the official package myself. Not sure how versioning and updating plugins works, anyway.)