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
- Host: GitHub
- URL: https://github.com/shaneriley/mtgjson_decks_to_cockatrice
- Owner: shaneriley
- Created: 2021-03-29T09:29:46.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-31T09:44:28.000Z (over 3 years ago)
- Last Synced: 2025-01-18T17:24:19.333Z (5 months ago)
- Topics: hacktoberfest, hactoberfest2021
- Language: JavaScript
- Homepage:
- Size: 342 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).