It is currently 16 Apr 2024, 12:20
   
Text Size

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

Discuss Card Scans and Other Artwork Here

Moderator: CCGHQ Admins

Mtgdb.Gui v 2.0.9

Postby hidalgo » 20 Sep 2017, 16:17

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.
User avatar
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

Postby hidalgo » 20 Sep 2017, 23:02

When you hover a mouse over card text you can see a Search icon. It is in most cases
followed by Sort icon.
search_icon_1.jpg

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 {5} {R}
search_icon_2.jpg

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
search_icon_3.jpg
Last edited by hidalgo on 25 Sep 2017, 16:18, edited 1 time in total.
User avatar
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

Postby 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
      1. cards from mtgjson.com
      2. prices
    The overall download size increased from ~40MB to ~70MB. I find it a reasonable
    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.
User avatar
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

Postby hidalgo » 25 Sep 2017, 16:18

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 {W} instead of cards like {3} {W}, {W} {B} and etc.

To control the precision of the query use * or ?. The query
ManaCost: *\{W\}* will return all cards that contain {W} in their
mana cost.

Consider a query ManaCost: \{B\}???
It returns cards with mana cost beginning with {B} and containing 1 more
mana symbol after: {B} {B}, {B} {R}, and etc.
User avatar
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

Postby hidalgo » 27 Sep 2017, 11:07

Ixalan.jpg
Cards from Ixalan

  • 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.
User avatar
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

Postby hidalgo » 28 Sep 2017, 10:42

* Update release notifications in update window
* Dropping deck file from exlorer opens a deck
* Fixed some Forge picture replacement algorithm flaws
User avatar
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

Postby hidalgo » 08 Oct 2017, 02:42

local_help_website.jpg
new to old help comparison

Replaced plain-text help with locally stored help website which you can explore in your
web-browser. Help website is generated from `.txt` files using Markdown syntax.

In case you need them you can find `.txt` help files in `\help` directory.
User avatar
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

Postby hidalgo » 15 Oct 2017, 00:10

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
mtgo_export_collection.jpg
Exporting collection from MTGO

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.
User avatar
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

Postby hidalgo » 16 Oct 2017, 15:36

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

paste_deckbox.jpg
dragging deck from deckbox.org

paste_deckbox_result.jpg
dragging result


For more illustrated examples check wiki page on the subject.
User avatar
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

Postby hidalgo » 21 Oct 2017, 19:14

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

Code: Select all
Control Panel\All Control Panel Items\Display
With high DPI you should not use small LQ images, instead use zoomed MQ. To accomplish this
  • 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 keyboard shortcuts

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`
Added
  • `Layout` to search for `meld`, `flip`, `aftermath` and etc.
  • `Hand` modifier in Vanguard cards
  • `Life` modifier in Vanguard cards
User avatar
hidalgo
 
Posts: 354
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 58 times
Been thanked: 80 times

Mtgdb.Gui v2.3.1

Postby hidalgo » 23 Oct 2017, 16:32

Fixed missing translations to other languages
User avatar
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

Postby hidalgo » 28 Oct 2017, 21:51

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.
User avatar
hidalgo
 
Posts: 354
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 58 times
Been thanked: 80 times

Mtgdb.Gui v2.3.5

Postby hidalgo » 29 Oct 2017, 20:29

More clipboard and Drag-n-drop commands.

Helps build deck for Sealed Deck match format in Forge, detais

Statistics

Added Color field to Statistics charts and Search text

Added new Statistics charts, screenshot

  • deck mana curve / color
  • deck color / type
  • collection color / type
User avatar
hidalgo
 
Posts: 354
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 58 times
Been thanked: 80 times

Mtgdb.Gui v2.3.6

Postby hidalgo » 01 Nov 2017, 01:27

Random hand and mulligan simulation

Sample hand tab was added to the right of Sideboard zone selector. details

Prohibit mode in Filter manager

For example if Filter buttons are in prohibited mode the search result will only
show cards that do not match filter buttons.

Fixed replacing aftermath card images in Forge

In Forge these card images have » separating names.
User avatar
hidalgo
 
Posts: 354
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 58 times
Been thanked: 80 times

Mtgdb.Gui v3.1.0.0 alignment in Search result and Deck

Postby hidalgo » 14 Jan 2018, 04:16

That was bothering me since the very beginning. The problem of laying out cards depending on available horizontal or vertical space.
The solution had to serve two conflicting purposes:

  • reduce large empty horizontal or vertical space when it's just not enough to show one more row or column
  • text or image truncated when the space is considered enough to display almost-entirely-fitting row or column of cards

I was never able to come up with a solution good enough so I would say "that's the right way to do this!".
Eventually I did what I did because I've come to believe ther will be no such silver bullet.

align_before.jpg
the top right card is truncated

align_after.jpg
after hitting align button if is fully displayed

align_center.jpg
When there is excessive space to display the cards, they are aligned by center
center
User avatar
hidalgo
 
Posts: 354
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 58 times
Been thanked: 80 times

PreviousNext

Return to Pictures

Who is online

Users browsing this forum: No registered users and 40 guests


Who is online

In total there are 40 users online :: 0 registered, 0 hidden and 40 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 40 guests

Login Form