It is currently 19 Jan 2017, 04:22
   
Text Size

Mtgdb.Gui - Windows app to search MTG cards and build decks

Discuss Card Scans and Other Artwork Here

Moderator: CCGHQ Admins

Mtgdb.Gui - Windows app to search MTG cards and build decks

Postby hidalgo » 18 Oct 2016, 19:12

Download current version v1.2.4.3 here
If you have any version earlier than current download only patch here

Hi all!
Using the pictures found in this site and data from mtgjson I made a nice application which I use to build my decks for Magic Duels online game.
It doesn't limit to Magic Duels cards only, all Magic The Gathering sets up to Kaladesh are available.

Mtgdb.Gui is free to use. You can download it by links at the top of this post. After downloading the program you will need to follow the instructions in readme.txt to get the card images.

Note that the Magic Duels online game does not provide any mechanism for importing decks, so in Mtgdb.Gui you build and analyze your deck, but to actually play it you will need to manually input the deck in Magic Duels' native deck editor.
If you are using some other MTG game that would allow importing decks - leave me a message, I will implement the export.

Major features

  • Contains all MTG sets up to Kaladesh and Kaladesh Inventions

  • One click to filter by keyword abilities (such as Flying) and other card properties.
    Supported are one-click filters by Keyword abilities, Rarity, Type, Mana cost, Converted mana cost. The filter selectors are organized in two rows. When you check the value in top row, it is included to the filter by AND operator. When you check the value in bottom row operator OR is used.

    Consider an example. You checked Flying in top row and Vigilance and First Strike in the bottom. The result is showing only the cards that meet the following criterion:
    has Flying AND (has Vigilance OR has First Strike)
    Filter_example.jpg


    Another example. You checked White and Blue mana in top row and Red mana in bottom row. Other mana colors were made unchecked. The resulting criterion is:
    has White AND has Blue AND (may have Red)
    Cards with colors other than White, Blue, Red are excluded from result.
    Filter_mana_example.jpg


    The above examples show both general approach and nuances. General approach is that top row means AND; and the bottom row means OR.
    Nuance is that Mana has a meaning of cost. So when you say "Red OR Blue" you really mean "Can be paid by Red OR Blue". In terms of applied criterion this means "has no other colors in cost than Red or Blue". So if the card doesn't require any specific color of mana it meets the criterion "Red or Blue".

  • Inplace filter and sort buttons.
    You can hover the mouse over a field and click a filter or sort button. This will invoke a filter editor specific to a field.
    inplace_filter.jpg


  • Card search by text.
    The search text can be an arbitrary string or an expression containing field names and values.
    The search supports intellisense by field names and values.
    The intellisense by value uses fuzzy text matching. So if you type in search string "Name Local":neveirfl disc and press Ctrl+SPACE the first suggested variant will be "Nevinyrral's Disk".

    Search_example.jpg

  • Filter expression editor to setup a complex filter. Supporting both graphical expression builder and textual user input.

    Custom_filter_example.jpg

  • A pivot table combined with graphical diagram to show statistics on a created deck. By default shows a breakdown of deck by Converted mana cost and card Type, but can be customized in many ways.

    To give you an example of possible customization, let us assume we have set up some criterion. We may have used one-click buttons or search text or filter editor in any combination. In the screenshot below I filtered by ablility to counter a spell.
    Now we want to see the distribution of search result by Converted mana cost and card Type among cards available im Magic Duels online game.
    To do this:
    - open the Pivot table
    - remove the summary filter "Count in Deck >= 1.00"
    - replace the summary field from "Count in Deck" to "Count in Duels"
    - add the summary filter "Count in Duels >= 1.00"
    - add filter "Is Filter match = true"

    You can see filtering example and the corresponding pivot report below:

    Report_example_p1.jpg

    Report_example_p2.jpg


    Note that the first picture tells there were 16 cards matching the filter ("Cards scroll position 0/16" in form's header text). Although the diagram is showing 47 cards. The explanation is that we are aggregating by 'Count in duels' which is 4 for common cards, 3 for uncommon and so on.

    Note that you are not bound to using Converted mana Cost and card Type as report axis.
    You can assign any field to report axis.
    You can assign multiple fields to one report axis.
  • Tabbed document interface - since v1.2
    Multitab.jpg

Minor features
  • Zoom in card image by left-clicking it. Zoom out by left-clicking zoomed image.
  • Showing card back for flipped cards or meld pair/melded card for meld cards. Can be done by mouse scroll on zoomed card image.
  • Undo/redo changes in deck, filters and so on. Works even after closing the program and starting it again.
  • Card texts localization to all languages supported by Gatherer (including russian, spanish, portugal and etc.)
  • Saving/loading deck
  • Printing proxies is supported by exporting deck to images printable on A4 paper
  • One-click mana color cost filter usability.
    1. By default all mana colors are allowed therefore they are checked in bottom row. If you click a color in bottom row then all other colors become unchecked. It lets you make only 1 color allowed by 1 click.
    2. The previous point would lead to difficulties trying to undo unchecking all colors except selected. Of cource you could undo using Ctrl+Z or use undo button in form's header, but there is even a faster solution. Click the same button again and all colors in the bottom row will become checked again.
    3. As phyrexian mana color requirement is weaker than normal mana color requirement, therefore checking a color in bottom row also checks phyrexian mana of the same color. Because if you agree to pay a white mana, then you would agree to pay white phyrexian mana too. Thus you will not be missing a card of desired color by accident.
    4. All the previous points make one-click filter's behaviour quite complex especially in case of mana color filters. To make things more predictable to you the one-click filter interface shows you a previw of what is going to happen if you click a value when you hover the mouse over it.
    5. Resetting one-click filter to it's default state is done by clicking it with mouse middle button. Usefult when you have checked a lot of things and want to start a new search from scratch
  • Highligting matched text in card. One-click filter values and search text values are highlighted when found in card's text.
  • Showing the last card added/removed to deck in card's list. Even if it doesn't matches card's filter. The people who used Magic Duel's online deck builder will understand me. It is such an annoying thing when you have a filter, then you remove a card, and you cannot quickly undo as the card is not shown in card's list due to filter crierion. This is not going to happen in Mtgdb.Gui!
Attachments
readme.txt
(3.65 KiB) Downloaded 31 times
Last edited by hidalgo on 18 Jan 2017, 12:28, edited 37 times in total.
hidalgo
 
Posts: 19
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 0 time
Been thanked: 0 time

Re: Mtgdb.Gui - Windows app to search MTG cards and build de

Postby skibulk » 18 Oct 2016, 19:14

This belongs in the DotP forum: viewforum.php?f=62
User avatar
skibulk
HQ Team Member
 
Posts: 974
Joined: 19 Jul 2010, 20:34
Location: Northeast USA
Has thanked: 368 times
Been thanked: 297 times

Re: Mtgdb.Gui - Windows app to search MTG cards and build de

Postby Huggybaby » 18 Oct 2016, 20:34

I don't think this app is specific to DotP is it?
User avatar
Huggybaby
Administrator
 
Posts: 3018
Joined: 15 Jan 2006, 19:44
Location: Finally out of Atlanta
Has thanked: 534 times
Been thanked: 556 times

Re: Mtgdb.Gui - Windows app to search MTG cards and build de

Postby hidalgo » 18 Oct 2016, 22:51

It is only Magic The Gathering specific :)
hidalgo
 
Posts: 19
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 0 time
Been thanked: 0 time

Re: Mtgdb.Gui - Windows app to search MTG cards and build de

Postby skibulk » 18 Oct 2016, 22:54

hidalgo wrote:Using the pictures found in this site and data from mtgjson.com I was able to build a nice application which I use to build my decks for Magic Duels online game.
Okay I read this and I thought it was only for Magic Duels. My mistake.
User avatar
skibulk
HQ Team Member
 
Posts: 974
Joined: 19 Jul 2010, 20:34
Location: Northeast USA
Has thanked: 368 times
Been thanked: 297 times

Re: Mtgdb.Gui - Windows app to search MTG cards and build de

Postby hidalgo » 02 Nov 2016, 17:30

I made some minor improvements/fixes

  • Changing cards language is undo/redo -able
  • Search result / keywords highlighting was slightly mispositioned in some rare cases
  • Renamed fields to use in filter and search: Name -> NameEn, NameLocal -> Name.
    E.g. now to search by name you type just Name:死灵式渴求 instead of "Name local":"死灵式渴求"
Last edited by hidalgo on 09 Jan 2017, 05:38, edited 1 time in total.
hidalgo
 
Posts: 19
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 0 time
Been thanked: 0 time

Mtgdb.Gui v1.2.1

Postby hidalgo » 29 Dec 2016, 01:05

List of changes:
  • TDI - tabbed document interface. Before I had this tabs feature I had to keep several open instances of Mtgdb.Gui.exe, which was undesirable for several reasons:
    -Slow program startup - around 15 seconds in my PC to load all sets.
    -High memory consumption - multiplied by N where N is the number of opened instances.
    -File access concurrency for undo/redo history files.
    Now you can open some tabs, work with them in parallel - no problem.
    Multitab.jpg
  • Improved printing - more precise card size, white guidelines between the cards to help cutting.
    proxy.jpg
  • Minor improvment of mana buttons behavior
Last edited by hidalgo on 09 Jan 2017, 05:38, edited 2 times in total.
hidalgo
 
Posts: 19
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 0 time
Been thanked: 0 time

Mtgdb.Gui v1.2.2

Postby hidalgo » 08 Jan 2017, 07:04

Deck reordering - as suggested by aidscoi168 here deck reordering is now possible. Implemented via drag-n-drop.
Last edited by hidalgo on 09 Jan 2017, 05:39, edited 1 time in total.
hidalgo
 
Posts: 19
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 0 time
Been thanked: 0 time

Mtgdb.Gui v1.2.4.3

Postby hidalgo » 08 Jan 2017, 13:36

Deck reordering improved - now you can scroll the deck while dragging the card.
hidalgo
 
Posts: 19
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 0 time
Been thanked: 0 time


Return to Pictures

Who is online

Users browsing this forum: tkz196 and 4 guests

cron

Who is online

In total there are 5 users online :: 1 registered, 0 hidden and 4 guests (based on users active over the past 10 minutes)
Most users ever online was 279 on 11 Jul 2013, 22:03

Users browsing this forum: tkz196 and 4 guests

Login Form