A collection of scripts I use for managing the Art and IDs from Master Duel.
Thanks very much to @ioncodes for dumping the cards in his repo!
The mapped_cards.json
contains all the cards with their Konami ID. (Most of the Not Found
cards are Tokens)
elixir <script>.exs
- Dump art from Master Duel using AssetStudio
- put art in
art/
folder - Run
elixir id_mapper2.exs
to updatemapped_cards.json
- Run
elixir renamer.exs
to rename the cards - Delete not found cards from
art/
folder - Run
elixir pendulum_resizer.exs
to resize the pendulum images - Run
./upscale.sh
to upscale the images - Run
fish compressor.fish
to compress the images to webp - Run
mc cp cart/* s3/ygo/
to upload the images to S3