How to make your own CCG Set for use with Draft Trainer. A CCG Set is simply a SQLite database, that has been zipped and renamed to "your_set.ccgzip". Anyone with Draft Trainer installed on their iOS device will be able to open these files, and your set will automatically be added to the list of sets.

Just follow these steps:

  1. Download this skeleton of the SQLite database here, or use the following schema: CREATE TABLE cards (title text, 'set' text, color text, type text, pt text, rarity text, cost text, rules text, ranking int, picURL text);
    CREATE TABLE packCriteria (min int, max int, chance float, criteria text);
    1. Note: both tables are needed. The card table will work with only the following columns: title, color, picURL, ranking (or faction instead of color). The cards table is used to list the cards in your set. The packCriteria is used to tell the Draft Trainer engine how to construct a booster pack. The skeleton SQLite database has this table pre-populated with a familiar set of pack criteria.
  2. Insert your cards. Using your favorite SQLite editor, such as Lita
    1. Example: INSERT INTO "cards" VALUES('Draft Wurm','D11','G','Creature — Wurm','6\4','C','{4}{G}{G}','Trample #(If this creature would assign enough damage to its blockers to destroy them, you may have it assign the rest of its damage to defending player or planeswalker.)#',115,'http://example.org/example.jpg');
  3. Optionally: set the packCriteria. The skeleton SQLite database has this pre-populated, but you might want to set your own criteria.
    1. Example: INSERT INTO "packCriteria" VALUES(0,1,0.125,'rarity:M');
    2. The criteria text is a comma delimited list of expressions. An expression is a column name from the cards table and a value. For example: "rarity:C" means that the card's rarity value must be "C" for it to meet that criteria.
    3. You can also specify criteria that must not be met. For example: "-type:Basic Land" means that the card's type column must not contain "Basic Land".
  4. Zip (using the PC Zip file format) up your SQLite database. Be sure to zip it at the root, not in any folders.  A good tool for Macs to perform PC zip is: YemuZip
  5. Rename the file to end in .ccgzip
  6. Put your new Draft Trainer card set file up on your favorite website, or email it yourself or your friends. As long as your friend's iOS device can see the file, they can load it into Draft Trainer.