Page 1 of 4

Mtgdb.Gui: search MTG cards, build decks, manage collection

PostPosted: 18 Oct 2016, 19:12
by hidalgo

Mtgdb.Gui is a free and opensource Windows application to help Magic the Gathering players build decks.
Card search features are well-thought, powerful and intutive. Users may limit the search to the cards
from their own collection. Search for similar cards shows you cards with similar text and / or generated mana.

Mtgdb.Gui supports several ways to input decks and collections. Some of them are blazingly fast like
drag-n-drop as well as copy and paste operations from other applications or websites. Decks can be saved
in various formats compatible with other MTG-related applications such as Magic the Gathering Online,
Forge or XMage.

Graphical diagrams give you a high-level understanding of what is your current workset like. The simplest
example of a diagram is mana curve. You can analyze your deck or collection from different angles by building
your own diagram
. It is conceptually the same as building pivot table or pivot diagram in Excel.

Supported platforms: Windows XP and higher

Download link


Cards database
contains all MTG sets up to
Guilds of Ravnica
Built-in update for images,
data and the program
Import collection from
Magic The Gathering Online
You can also load and save decks in MTGO-compatible format.
Drag-n-drop and copy-paste
to instantly import deck from websites and external applications.
Deck editordetails
Collection editordetails
Sample hand, draw and mulligan simulation
Supported deck formatsForge
Magic The Gathering Online
Decked builder

Cockatrice supports the deck format used by Magarena

Riiak's DotP 2014 Deck Builder v1.5.0.3 patched version supports Forge
deck format
One-click filter buttons to
instantly filter cards by
abilities like Flying or Haste,
type, manacost and so on.
Search by text
in Lucene query language.
Search string supports syntax
highlighting and intellisense.
Filter by legalityImage
Filter by cards
in your collection
Filter by cards
in your deck
Choose between AND / OR
operators to combine filters
Show or hide duplicates
in search result. Namesakes
can be confusing when
creating a deck or building
some statistics. But
sometimes you want to put
into your deck a specific
version of a beautiful

Check Show duplicates
button to show all variants
of a card.
Sort by multiple fields
Statistics charts
Showing card back for flipped
cards or meld pair / melded
card for meld cards.
Undo / redo
changes in deck, filters and
so on. Works even after
restarting the program.
Card text translations
to all languages supported by
Gatherer. Including russian,
spanish, portugal and etc.
Printing proxies
on A4 paper sheet
Tooltips on most user
interface elements
Search result highlightingImage
Customizable color schemeImage
Using images from Mtgdb.Gui
in Forge.
With High Quality images anything gets prettier :)
Using card images you
already have with Mtgdb.Gui.
Showing the last card
removed from deck in search
result even if it doesn't
matches 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 disappears from search result.
This is not going to happen in Mtgdb.Gui!
Illustrated help

SEO phrases | Open
The text below is to make this page more visible to search engines

Mtgdb.Gui is a free windows application software for Magic the Gathering (MTG) advanced card search in card database
Mtgdb.Gui is a free windows application software for Magic the Gathering (MTG) deck building and deck analisys
Mtgdb.Gui is a free windows application software for Magic the Gathering (MTG) inventory tracking collection management

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

PostPosted: 18 Oct 2016, 19:14
by skibulk
This belongs in the DotP forum: viewforum.php?f=62

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

PostPosted: 18 Oct 2016, 20:34
by Huggybaby
I don't think this app is specific to DotP is it?

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

PostPosted: 18 Oct 2016, 22:51
by hidalgo
It is only Magic The Gathering specific :)

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

PostPosted: 18 Oct 2016, 22:54
by skibulk
hidalgo wrote:Using the pictures found in this site and data from 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.

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

PostPosted: 02 Nov 2016, 17:30
by hidalgo
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":"死灵式渴求"

Mtgdb.Gui v1.2.1

PostPosted: 29 Dec 2016, 01:05
by hidalgo
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.
  • Improved printing - more precise card size, white guidelines between the cards to help cutting.
  • Minor improvment of mana buttons behavior

Mtgdb.Gui v1.2.2

PostPosted: 08 Jan 2017, 07:04
by hidalgo
Deck reordering - as suggested by aidscoi168 here deck reordering is now possible. Implemented via drag-n-drop.

Mtgdb.Gui v1.2.4.3

PostPosted: 08 Jan 2017, 13:36
by hidalgo
Deck reordering improved - now you can scroll the deck while dragging the card.

Mtgdb.Gui v1.2.5

PostPosted: 20 Jan 2017, 19:37
by hidalgo
Now supporting Forge deck format.
You can actually play the deck you've built with Mtgdb.Gui. To do this
  • Select Forge format when saving your deck in Mtgdb.Gui
  • In Forge deck editor load the deck from previously saved file.

To skip importing deck in Forge you may save the deck to C:\Users\<Username>\AppData\Roaming\Forge\decks\constructed
This is somewhat riskier than manually loading the deck from file in Forge and then saving it, because Forge makes some adjustments when saving the imported deck, like assigning particular card image variants to the cards in your deck.

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

PostPosted: 20 Jan 2017, 22:39
by Xitax
This is very interesting. I'll have to check it out.

Will this program have the ability to use my card images kept separately?

Mtgdb.Gui v1.2.6

PostPosted: 21 Jan 2017, 02:53
by hidalgo
Will this program have the ability to use my card images kept separately?
Configurable location of directories with card images. You may store images separately from Mtgdb.Gui directory. To tell the program where to find your images edit the configuration file \etc\Mtgdb.Gui.xml
To prevent your edit from accidental loss I recommend copying \etc directory to a location higher than Mtgdb.Gui directory in directories tree. Mtgdb.Gui will find and use the copied config.
Note that the entire \etc directory must be copied, not just the config file lying inside.

Particularely you may use images from Forge cache located at C:\Users\<Username>\AppData\Local\Forge\Cache\pics

Mtgdb.Gui v1.2.7

PostPosted: 22 Jan 2017, 01:47
by hidalgo
  • Aether Revolt set included.
  • Better support for manually updating data from
    Just replace \Resources\AllSets-x.json by current version from
  • Reduced download size from ~70MB to ~60MB

Mtgdb.Gui v1.2.8

PostPosted: 22 Jan 2017, 19:32
by hidalgo
  • Supporting Magarena deck format.
    To export deck to Magarena
    • Select Magarena format when saving your deck in Mtgdb.Gui
    • Save your deck to
      Code: Select all
      subdirectory of Magarena application.
    • In magarena threre are 3 groups of decks - "Prebuilt", "Player" and "Firemind top decks". As you may have guessed, your deck will be in "Player" group.
  • Translations to non-english languages for new sets Aether Revolt and Commander 2016

Re: Mtgdb.Gui v 1.2.9

PostPosted: 28 Jan 2017, 09:22
by hidalgo
  • Faster startup and scrolling.
    • The startup delay decreased from ~12 seconds to ~4 seconds.
    • Previously the scroll was fast only when scrolling up after scrolled down or vice-versa. Now to get the scroll slowdown you have to scroll fast during several seconds. When scrolling normally the speed is ok from the very beggining.
  • Possibility to replace pictures in Forge by those you use with Mtgdb.Gui. See \ets\Mtgdb.Gui.xml <ForgeIntegration/> tag for instruction.
  • Scroll on zoomed card to see other variants of card image.
  • Fixed compatibilty issue when importing some decks from Forge.
  • Fixed some minor usability issues of intellisense in search textbox.
  • Minor visual enhancements e.g
    • Prettier visualization of dragged card
    • Partially showing the word that doesn't fit the last line.