LackeyCCG Plugin Creation Template for Magic (0.3.8)

Intended for game file edits or edits to existing basic templates, as well as templates that aren't game or styles, such as locales.

Moderators: artfreakwiu, Pichoro, SweetRein

LackeyCCG Plugin Creation Template for Magic (0.3.8)

Postby Pichoro on Wed Feb 25, 2009 6:38 pm

This is a template to simplify the creation of plugins for LackeyCCG from custom sets.

Things to Remember:
1.) You'll need to rearrange the files and rename the text set file to make your plugin.
2.) You'll need to add your set to your setlist.txt file.

This template was made by myself and Innuendo, based on code by Seeonee and Idle Muse.

Enjoy!

How to turn the files this creates into a plugin, by Picks-at-Flies: http://magicseteditor.sourceforge.net/node/2206/29524
Attachments
magic-lackeyccg.mse-installer
LackeyCCG Export Template
(17.56 KB) Downloaded 431 times
I don't want to have a signature... :(
User avatar
Pichoro
 
Posts: 438
Joined: Wed Oct 18, 2006 6:28 pm
Location: Ohio

Re: LackeyCCG Plugin Creation Template

Postby Trevor on Wed Feb 25, 2009 9:08 pm

That export seems to work well. One change I think that is needed is some more choice in file names. I think there should be an option now for generating names based on the card number. Maybe even an option to have the user input a string and have the number appended to it. (So you would have cards named like cfx001.jpg.) That would allow for multiple sets of card images to coexist in the same folder.

As it is, the punctuation of the card name can mess things up. Some card names contain colons, slashes and backslashes, and those can mess things up. Also, putting files with spaces in their name online can cause problems.

Also, can you have an option to spit out card data in tab-delimited text?

Already, that export is very handy in making plugins. Keep up the good work.
Trevor
 
Posts: 1
Joined: Tue Feb 24, 2009 6:39 am

Re: LackeyCCG Plugin Creation Template

Postby innuendo on Thu Feb 26, 2009 6:48 am

Pich i'm going to add the unique name thing since it doesn't hurt anything and it's as easy to add as adding the set code in front of image names. I wont post the installer, just the .txt here in about an ten minutes.
innuendo
 
Posts: 1
Joined: Fri Jun 20, 2008 11:26 am

Re: LackeyCCG Plugin Creation Template (0.3.8)

Postby Pichoro on Thu Mar 05, 2009 4:39 pm

Posted Innuendo's update, which adds the text that the user puts in for the set name to the beginning of the image names.

I also stripped a bunch of unneccessary scripts out of it to make it maybe a little quicker.
I don't want to have a signature... :(
User avatar
Pichoro
 
Posts: 438
Joined: Wed Oct 18, 2006 6:28 pm
Location: Ohio

Re: LackeyCCG Plugin Creation Template for Magic (0.3.8)

Postby Pichoro on Tue Apr 28, 2009 10:38 am

I've made an update to this template; now it exports basic lands with a rarity of "L", to match other LackeyCCG plugins.
I don't want to have a signature... :(
User avatar
Pichoro
 
Posts: 438
Joined: Wed Oct 18, 2006 6:28 pm
Location: Ohio

Re: LackeyCCG Plugin Creation Template for Magic (0.3.8)

Postby Picks-at-Flies on Sun Jan 03, 2010 8:35 am

For simplicity, I'm copying my instructions from the link above here:

To export your set to Lackey CCG, follow the following steps.

_Step 1: Export files_
# Click on the Export button (or File > Export) then HTML
# In the dialog box that appears, select Lackey CCG
# Make sure you put a single-word abbreviation for your set (e.g. cfx, 10e, lorwyn). You will also use this later. We will refer to this as {setname}.
# Choose the size of image you want.
# Press OK
# In the save dialog box, choose somewhere convenient to save it (you will move it later). Use {setname} as the filename.
# Wait. The process may take a short while.

_Step 2: Add to Lackey_
# In the location you exported to you will find a file called {setname}.txt and a folder called {setname}_files. Rename the latter {setname}. (This folder contains your images.)
# Find the LackeyCCG folder on your computer
# Move the exported txt file to LackeyCCG/plugins/{pluginname}/sets/
# Move the exported folder to LackeyCCG/plugins/{pluginname}/sets/setimages/
# Open the setlist.txt file in LackeyCCG/plugins/{pluginname}/
Increase the top number by 1, and below it add a new line:
{setname}.txt

_Step 3: Play_
The next time you start Lackey you will find your MSE cards in the deckbuilder.
NOTE: Whenever you update your plugin using Lackey, you will have to modify setlist.txt again.

_Bonus 1_
There is a simple method of defining formats (e.g. eligible sets for tournaments) in setlist.txt. To define a format for your set to be part of:
# Increase the second number by 1
# Below it, add:
{Name of format}
{Number of sets in format}
{
Each set name in format
}

_Bonus 2_
To be able to opened sealed boosters of your set:
# Open LackeyCCG/plugins/{pluginname}/packs/packdefinitions.txt
# Add the following to the bottom of the file:
PACKNAME: "{full set name} Booster"
IMAGENAME: "none"
3
1 IGNOREDOUBLES 2 Set IS "{setname}" Rarity CONTAINS "R"
3 IGNOREDOUBLES 2 Set IS "{setname}" Rarity CONTAINS "U"
11 IGNOREDOUBLES 2 Set IS "{setname}" Rarity CONTAINS "C"
Picks-at-Flies
 
Posts: 3
Joined: Fri Sep 12, 2008 11:18 am


Return to MSE Custom Add Ons

Who is online

Users browsing this forum: No registered users and 1 guest