An open API service indexing awesome lists of open source software.

https://github.com/shaneriley/mtgjson_decks_to_cockatrice

MTGJSON Preconstructed Deck Files Converter for Cockatrice
https://github.com/shaneriley/mtgjson_decks_to_cockatrice

hacktoberfest hactoberfest2021

Last synced: 5 days ago
JSON representation

MTGJSON Preconstructed Deck Files Converter for Cockatrice

Awesome Lists containing this project

README

        

# MTGJSON Preconstructed Deck Files Converter for Cockatrice

## Prerequisites

* Install Node
*
Download deck list JSON files from MTGJSON.
* Full set is at [https://mtgjson.com/api/v5/AllDeckFiles.zip](https://mtgjson.com/api/v5/AllDeckFiles.zip)
* Individual decks are at [https://mtgjson.com/downloads/all-decks/](https://mtgjson.com/downloads/all-decks/)

## Usage

* Download the deck files from MTGJSON and place them in the [AllDeckFiles](./AllDeckFiles) directory
* Run `node convert.js`

The converted Cockatrice deck files will be output in the COD directory.
These can then be moved to the decks directory, specified in Cockatrice's
settings. It is recommended you copy the decks to a subdirectory, to
differentiate between the preconstructed and your custom decks. The current
number of preconstructed decks is 840, which would make it difficult to
browse your own deck creations if copied directly to the directory.

If you simply want to download all of the COD decks, [go here](https://github.com/shaneriley/mtgjson_decks_to_cockatrice/latest/download/Preconstructed.zip).