Mtgdb.Gui: search MTG cards, build decks, manage collection
New decks and cards for Stainless Games' release
Moderator: CCGHQ Admins
Re: Mtgdb.Gui - Windows app to search MTG cards and build de
by hidalgo » 20 Sep 2017, 14:23
Hi aidscoi! Thanks for the report and specifically the screenshot.
I'll be fixing that.
I'll be fixing that.
Last edited by hidalgo on 20 Sep 2017, 17:29, edited 1 time in total.
-
hidalgo - Posts: 354
- Joined: 17 Oct 2016, 21:51
- Location: Russia, Moscow
- Has thanked: 58 times
- Been thanked: 80 times
Mtgdb.Gui v 2.0.9
by hidalgo » 20 Sep 2017, 16:15
Fixed collection report (and any other report) unreadility when it cannot be well fit into one screen.
In this case report is zoomed to fit 40 items per screen and a scrollbar is shown.
In this case report is zoomed to fit 40 items per screen and a scrollbar is shown.
-
hidalgo - Posts: 354
- Joined: 17 Oct 2016, 21:51
- Location: Russia, Moscow
- Has thanked: 58 times
- Been thanked: 80 times
Mtgdb.Gui v2.1.0 - added Search icon over card text
by hidalgo » 20 Sep 2017, 23:03
When you hover a mouse over card text you can see a Search icon. It is in most cases
followed by Sort icon.
By clicking Search icon you modify the search text.
For example, if you click Search icon over card's mana cost you will see
something like ManaCost: \{5\}\{R\} added to your search
string. As a result the search result will only show cards where mana cost contains
When you add more than one search terms you are ADDING more cards to search result.
This is because when no logical operator such as AND, OR is used it is interpreted
as OR in Lucene query language used in Search text.
By Shift+Clicking Search button you can instead NARROW DOWN search result.
It is achieved by adding terms with '+' operator which is almost equivalent to AND
followed by Sort icon.
By clicking Search icon you modify the search text.
For example, if you click Search icon over card's mana cost you will see
something like ManaCost: \{5\}\{R\} added to your search
string. As a result the search result will only show cards where mana cost contains
When you add more than one search terms you are ADDING more cards to search result.
This is because when no logical operator such as AND, OR is used it is interpreted
as OR in Lucene query language used in Search text.
By Shift+Clicking Search button you can instead NARROW DOWN search result.
It is achieved by adding terms with '+' operator which is almost equivalent to AND
Last edited by hidalgo on 25 Sep 2017, 16:16, edited 1 time in total.
-
hidalgo - Posts: 354
- Joined: 17 Oct 2016, 21:51
- Location: Russia, Moscow
- Has thanked: 58 times
- Been thanked: 80 times
Mtgdb.Gui v2.1.1
by hidalgo » 24 Sep 2017, 02:15
- Tooltips on Sort and Search buttons
- Eliminated the need to rebuild searcg indexes after
- installing the program first time
- installing new version with changed data like
- cards from mtgjson.com
- prices
- cards from mtgjson.com
cost to cutting ~6 minutes of waiting for the program to become fully functional.
The indexes will still be rebuilt when you download new data yourself using
update window.
-
hidalgo - Posts: 354
- Joined: 17 Oct 2016, 21:51
- Location: Russia, Moscow
- Has thanked: 58 times
- Been thanked: 80 times
Mtgdb.Gui v2.1.2 - 2.1.3
by hidalgo » 25 Sep 2017, 16:15
2.1.3
Fixed the bug in hiding card duplicates algorithm.
Previously the card was considered duplicate when there were more recently released
namesake.
This worked ok except when you search by set. In this case many cards from the set are
not shown at all because there is a more recent version in another set.
The fix is to check existence of a more recent version only among other cards that
comply to the search criterion.
2.1.2
In search string curly braces {,} are considered normal word characters
As a result a query ManaCost: \{W\} yields only the cards with ManaCost
exactly equal to instead of cards like , and etc.
To control the precision of the query use * or ?. The query
ManaCost: *\{W\}* will return all cards that contain in their
mana cost.
Consider a query ManaCost: \{B\}???
It returns cards with mana cost beginning with and containing 1 more
mana symbol after: , , and etc.
Fixed the bug in hiding card duplicates algorithm.
Previously the card was considered duplicate when there were more recently released
namesake.
This worked ok except when you search by set. In this case many cards from the set are
not shown at all because there is a more recent version in another set.
The fix is to check existence of a more recent version only among other cards that
comply to the search criterion.
2.1.2
In search string curly braces {,} are considered normal word characters
As a result a query ManaCost: \{W\} yields only the cards with ManaCost
exactly equal to instead of cards like , and etc.
To control the precision of the query use * or ?. The query
ManaCost: *\{W\}* will return all cards that contain in their
mana cost.
Consider a query ManaCost: \{B\}???
It returns cards with mana cost beginning with and containing 1 more
mana symbol after: , , and etc.
-
hidalgo - Posts: 354
- Joined: 17 Oct 2016, 21:51
- Location: Russia, Moscow
- Has thanked: 58 times
- Been thanked: 80 times
Mtgdb.Gui v2.1.5 Ixalan, Commander 2017
by hidalgo » 27 Sep 2017, 11:05
- Updated data
- Added Commander 2017, Ixalan sets
- Updated translations to non-english languages
- Updated images
- Added images for Commander 2017, Ixalan sets
- Improved relevance for many old promo-sets images by manually mapping directories
from XLHQ Promos Torrent and XLHQ Mega directory promo sets
NOTE: If you use XLHQ images (instead of images downloaded from Update window)
you should update etc\Mtgdb.Gui.xml to enjoy more relevant mapping images to cards
from promo-sets. Use etc\Mtgdb.Gui.xml from Mtgdb.Gui.2.1.4.zip as a reference
You can find .zip in update\ directory or download from https://goo.gl/LuC6ce - Slihtly increased image size in search result and deck to avoid quality loss on
resizing original wizards.gatherer.com images for new sets.
NOTE: if you have changed image size in etc\Mtgdb.Gui.Display.xml you will have
to do this again. Use etc\Mtgdb.Gui.Display.xml from Mtgdb.Gui.2.1.4.zip as a reference
You can find .zip in update\ directory or download from https://goo.gl/LuC6ce
- Search text
- Ctrl+F to focus Search input
- Fixed incorrect Ctrl+X behavior
- underscore _ is considered normal word character
- Fixed an issue with replacing Forge images. Old sets in Forge have codes different from
regular codes from Mtgjson.com. Now when replacing images these custom set codes are taken
into account.
-
hidalgo - Posts: 354
- Joined: 17 Oct 2016, 21:51
- Location: Russia, Moscow
- Has thanked: 58 times
- Been thanked: 80 times
Re: Mtgdb.Gui - Windows app to search MTG cards and build de
by aidscoi168 » 27 Sep 2017, 17:06
Hi, did the link to file list and folder of new version is changed ?
This setting from default xml
<AppSource
TargetDirectory="update"
FileListUrl="https://mega.nz/#F!NgVTUCJa!IRIERTle5sMt33zgz9c2Og"
ZipUrl="https://mega.nz/#F!90cWlJKK!dxjVmKagUok1WBgr6irTeg" />
And this in my old setting ( still can check and update to 2.1.5 version )
<AppSource
TargetDirectory="update"
FileListUrl="https://mega.nz/#F!I99nQCYZ!9U9o76XLIusZ1_C12YJD6g"
ZipUrl="https://mega.nz/#F!hgcCgThb!bbLL4ZRMjepY8aGohKythA" />
also new default lost this line, can i remove it as well ?
<DatafilesPostprocessing HumanReadableSetsFile="False" />
What is the different between
<Directory Zoom="Any"
and
<Directory Path="path" Zoom="True" />
I already change the XLHQ folder structure from start so i may need to understand if i can reconfig my setting.
This setting from default xml
<AppSource
TargetDirectory="update"
FileListUrl="https://mega.nz/#F!NgVTUCJa!IRIERTle5sMt33zgz9c2Og"
ZipUrl="https://mega.nz/#F!90cWlJKK!dxjVmKagUok1WBgr6irTeg" />
And this in my old setting ( still can check and update to 2.1.5 version )
<AppSource
TargetDirectory="update"
FileListUrl="https://mega.nz/#F!I99nQCYZ!9U9o76XLIusZ1_C12YJD6g"
ZipUrl="https://mega.nz/#F!hgcCgThb!bbLL4ZRMjepY8aGohKythA" />
also new default lost this line, can i remove it as well ?
<DatafilesPostprocessing HumanReadableSetsFile="False" />
What is the different between
<Directory Zoom="Any"
and
<Directory Path="path" Zoom="True" />
I already change the XLHQ folder structure from start so i may need to understand if i can reconfig my setting.
- aidscoi168
- Posts: 210
- Joined: 31 Dec 2016, 17:49
- Has thanked: 58 times
- Been thanked: 28 times
Re: Mtgdb.Gui - Windows app to search MTG cards and build de
by hidalgo » 27 Sep 2017, 21:13
Hello
delete all the old files. Because of that I had a mix of old and new files in every set directory.
I tried to clean them one by one but it was too slow. Eventually I had to remove old links and create new ones.
Actually lq-list, mq-list directories links did not change. All others did change.
1. Find non-zoom images that is Zoom=False, Zoom=Any or Zoom not set.
1a. If found select best non-zoom image by set and image variant number and show this 1 image.
1b. If non-zoom not found then find image that is Zoom=true.
1b1. From zoom images select best image by set and image variant number and show this 1 image.
For zoomed images it is reverse:
1. Find images that are Zoom=True or Zoom=Any
1a. If zoomed found show matching set and variant first. Sort other images by Set and image variant number.
You will see other images when scrolling.
1b. If zoom not found then find non-zoom image that is Zoom=False or Zoom not set.
1b1. From non-zoomed images show matching set and variant first. Sort other images by Set and image variant number.
What it means in terms of deciding between True, False or Any:
If you have 2 directories like MQ, LQ where every image has 2 copies 1 small and 1 zoomed you set
Zoom=True for zoomed dir
Zoom=False (or omitted) for small images dir
If you have a XLHQ-Sets-Torrent directory or similar where NOT each image has 2 versions 1 small and 1 zoomed, you want it to be used both for zoom and non-zoom no matter if other images were found. Then you set Zoom=Any
Yes it did. After I removed old pictures and copied new pictures MegaSync did notHi, did the link to file list and folder of new version is changed
delete all the old files. Because of that I had a mix of old and new files in every set directory.
I tried to clean them one by one but it was too slow. Eventually I had to remove old links and create new ones.
Actually lq-list, mq-list directories links did not change. All others did change.
Yes you can.also new default lost this line, can i remove it as well ?
<DatafilesPostprocessing HumanReadableSetsFile="False" />
When showing small pictures the algorithm is:What is the different between <Directory Zoom="Any" and <Directory Path="path" Zoom="True" />
1. Find non-zoom images that is Zoom=False, Zoom=Any or Zoom not set.
1a. If found select best non-zoom image by set and image variant number and show this 1 image.
1b. If non-zoom not found then find image that is Zoom=true.
1b1. From zoom images select best image by set and image variant number and show this 1 image.
For zoomed images it is reverse:
1. Find images that are Zoom=True or Zoom=Any
1a. If zoomed found show matching set and variant first. Sort other images by Set and image variant number.
You will see other images when scrolling.
1b. If zoom not found then find non-zoom image that is Zoom=False or Zoom not set.
1b1. From non-zoomed images show matching set and variant first. Sort other images by Set and image variant number.
What it means in terms of deciding between True, False or Any:
If you have 2 directories like MQ, LQ where every image has 2 copies 1 small and 1 zoomed you set
Zoom=True for zoomed dir
Zoom=False (or omitted) for small images dir
If you have a XLHQ-Sets-Torrent directory or similar where NOT each image has 2 versions 1 small and 1 zoomed, you want it to be used both for zoom and non-zoom no matter if other images were found. Then you set Zoom=Any
-
hidalgo - Posts: 354
- Joined: 17 Oct 2016, 21:51
- Location: Russia, Moscow
- Has thanked: 58 times
- Been thanked: 80 times
Mtgdb.Gui v2.1.8
by hidalgo » 28 Sep 2017, 10:41
* Update release notifications in update window
* Dropping deck file from exlorer opens a deck
* Fixed some Forge picture replacement algorithm flaws
* Dropping deck file from exlorer opens a deck
* Fixed some Forge picture replacement algorithm flaws
-
hidalgo - Posts: 354
- Joined: 17 Oct 2016, 21:51
- Location: Russia, Moscow
- Has thanked: 58 times
- Been thanked: 80 times
Mtgdb.Gui v2.2.5
by hidalgo » 08 Oct 2017, 02:44
-
hidalgo - Posts: 354
- Joined: 17 Oct 2016, 21:51
- Location: Russia, Moscow
- Has thanked: 58 times
- Been thanked: 80 times
Mtgdb.Gui v2.2.6
by hidalgo » 15 Oct 2017, 00:00
Compatibility with MTGO (Magic The Gathering Online)
You can save and load decks and collection in plain-text format created by MTGO.
For details see Mtgdb.Gui help or online wiki
Possibility to save/load collection As you can now import collection from file, as
well as save it, you can in fact switch between several collections e.g. your physical
collection and MTGO collection. You can also easily manipulate your collection outside
Mtgd.Gui because `*.txt` collection format is very simple.
Filter button uncheck behavior was slighlty changed filter to avoid accidentally creating
a filter that excludes all cards by prohibiting all values of a certain property. Previously I
abandoned this approach as it did not work well with filtering by Mana Cost. Now I think I got
the right way to do it.
You can save and load decks and collection in plain-text format created by MTGO.
For details see Mtgdb.Gui help or online wiki
Possibility to save/load collection As you can now import collection from file, as
well as save it, you can in fact switch between several collections e.g. your physical
collection and MTGO collection. You can also easily manipulate your collection outside
Mtgd.Gui because `*.txt` collection format is very simple.
Filter button uncheck behavior was slighlty changed filter to avoid accidentally creating
a filter that excludes all cards by prohibiting all values of a certain property. Previously I
abandoned this approach as it did not work well with filtering by Mana Cost. Now I think I got
the right way to do it.
-
hidalgo - Posts: 354
- Joined: 17 Oct 2016, 21:51
- Location: Russia, Moscow
- Has thanked: 58 times
- Been thanked: 80 times
Mtgdb.Gui v 2.2.9
by hidalgo » 16 Oct 2017, 15:38
Pasting deck from Clipboard text
Added `Paste` menu to window header and corresponding keyboard shortcuts
* `Ctrl`+`V` to create a new deck from Clipboard text
* `Ctrl`+`Shift`+`V` to add cards to an existing deck instead of creating new one
Drag-n-dropping deck text from websites and other applications
Works the same way as pasting.
* Normal `drag-n-drop` to create new deck from dragged text
* `Shift`+`drag-n-drop` to add cards from dragged text to an existing deck
I tested copy-pasting and drag-n-dropping in following websites:
- sales.starcitygames.com
- http://www.mtggoldfish.com
- magic.wizards.com
- deckbox.org
For more illustrated examples check wiki page on the subject.
Added `Paste` menu to window header and corresponding keyboard shortcuts
* `Ctrl`+`V` to create a new deck from Clipboard text
* `Ctrl`+`Shift`+`V` to add cards to an existing deck instead of creating new one
Drag-n-dropping deck text from websites and other applications
Works the same way as pasting.
* Normal `drag-n-drop` to create new deck from dragged text
* `Shift`+`drag-n-drop` to add cards from dragged text to an existing deck
I tested copy-pasting and drag-n-dropping in following websites:
- sales.starcitygames.com
- http://www.mtggoldfish.com
- magic.wizards.com
- deckbox.org
For more illustrated examples check wiki page on the subject.
-
hidalgo - Posts: 354
- Joined: 17 Oct 2016, 21:51
- Location: Russia, Moscow
- Has thanked: 58 times
- Been thanked: 80 times
Mtgdb.Gui v 2.3.0 Supported high DPI
by hidalgo » 21 Oct 2017, 19:12
High DPI
Increasing screen DPI from default `96dpi` you can make Windows applications display larger fonts
and scale up most user interface elements. Now Mtgdb.Gui will scale itself correctly proportional
to DPI and the text will not become blurry as before.
High DPI can be enabled in
Fixed `Ctrl`+`V` not pasting into search input
Fixed `Enter` not selecting search text intellisense
Search text fields
Renamed
Increasing screen DPI from default `96dpi` you can make Windows applications display larger fonts
and scale up most user interface elements. Now Mtgdb.Gui will scale itself correctly proportional
to DPI and the text will not become blurry as before.
High DPI can be enabled in
- Code: Select all
Control Panel\All Control Panel Items\Display
- do not download small images from `Update` window. Zoomed will be automatically used instead of
small ones. - in case you already downloaded LQ images you may
- either remove or rename LQ images directory `\images\Mtgdb.Pictures\LQ`
- or disable using LQ images in `etc\Mtgdb.Gui.xml`:
- Code: Select all
<ImageLocations> <Directory Path="images\Mtgdb.Pictures\MQ" Zoom="Any" > </ImageLocations>
Fixed `Ctrl`+`V` not pasting into search input
Fixed `Enter` not selecting search text intellisense
Search text fields
Renamed
- `SubtypesArr` -> `Subtypes`
- `TypesArr` -> `Types`
- `SupertypesArr` -> `Supertypes`
- `Layout` to search for `meld`, `flip`, `aftermath` and etc.
- `Hand` modifier in Vanguard cards
- `Life` modifier in Vanguard cards
-
hidalgo - Posts: 354
- Joined: 17 Oct 2016, 21:51
- Location: Russia, Moscow
- Has thanked: 58 times
- Been thanked: 80 times
-
hidalgo - Posts: 354
- Joined: 17 Oct 2016, 21:51
- Location: Russia, Moscow
- Has thanked: 58 times
- Been thanked: 80 times
Mtgdb.Gui v2.3.4
by hidalgo » 28 Oct 2017, 21:50
Updated Ixalan and Commander 2017 images.
Poor images from gatherer.wizards.com were replaced from XLHQ Mega directory.
Fixed a crash on updating images.
I higly recommend updating to 2.3.4 prior to downloading new images.
Poor images from gatherer.wizards.com were replaced from XLHQ Mega directory.
Fixed a crash on updating images.
I higly recommend updating to 2.3.4 prior to downloading new images.
-
hidalgo - Posts: 354
- Joined: 17 Oct 2016, 21:51
- Location: Russia, Moscow
- Has thanked: 58 times
- Been thanked: 80 times
Return to Magic: The Gathering - Duels of the Planeswalkers
Who is online
Users browsing this forum: No registered users and 5 guests