magefree / magefree/mage

Images: add feature to download cards for used deck or game only

Open
#12,268 0 comments 0 reactions 1 assignee Claimed by @JayDi85 View on GitHub
download enhancement GUI
Dominant language
Java
Stars
2.4k
Forks
940
Avg merge
2d 12h
Merged PRs (30d)
160

Description

Use cases:
* user opened or imported own deck file and want images for it, but don’t want to download 10 Gb images;
* user finish a draft and want to download miss images (for own deck or for used draft’s sets);
* user see miss images while playing with other;

Main TODO:
* [ ] add fast download button in deck editor - it will open download dialog with predefined settings (scryfall source, cards + tokens, filter by deck);
* [ ] add fast download button in battlefield menu - same as deck button above;
* [ ] add filter by deck option in download dialog:
* [ ] choose deck file button to load all used cards for filter (if it started from deck editor then use hidden deck data);
* [ ] choose deck file to load all used sets instead cards;
* [ ] clear deck file button (disable filter by cards);
* [ ] filter must download cards as cards, but download tokens as all possible tokens (from used sets + inner xmage tokens + all variations - cause xmage uses random token image);

Additional TODO:
* [ ] improve clear images cashes (must re-render existing card panels). Current code use updated images for new card panels only - it’s possible to reload deck editor, but hard to reload existing battlefield. See `refreshGUIAndCards`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.