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 » 01 Jun 2017, 13:44
Thanks!
-
hidalgo - Posts: 354
- Joined: 17 Oct 2016, 21:51
- Location: Russia, Moscow
- Has thanked: 58 times
- Been thanked: 80 times
Mtgdb.Gui v1.3.6.4
by hidalgo » 03 Jun 2017, 21:08
- Help button replaced by help menu.
- Multi-field sort (For more details see help menu -> Help on Sort)
Shift+Click sort button to sort by a field while preserving existing sort by other fields.
Ctrl+Click sort button to stop sorting by a field.
NOTE: Sorting by multiple fields is actually available in previous versions.
But there were bugs I introduced by tweaking sort functionality not knowing
about availability of multi-field sorting. - Added keyboard shortcuts
Ctrl+T Open new tab
Ctrl+Tab Move to next tab
Ctrl+F4 close current tab
Ctrl+O open deck
Ctrl+S save deck
Ctrl+P print deck - Added a button to open configuration file to window header.
- Added some vertical space between filter by mana cost and other nearby filters
to guarantee showing tooltip on filter by mana cost - Updated card prices
-
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 Drglord » 09 Jun 2017, 12:35
Okay doesn't import decks no matter how hard you try.... Waited 2 days of downloading of images because it would not identify the images from xmage and after it was done Images still don't show.....
So far for me 0% use... I must be doing something wrong.....
So far for me 0% use... I must be doing something wrong.....
Re: Mtgdb.Gui - Windows app to search MTG cards and build de
by hidalgo » 09 Jun 2017, 16:40
Hello! Let me ask for some details to help resolve the problems.
Can you please send me an example of deck that is failed to import?
I ask because in my computer the only xmage images I can find are at
If you changed the configuration file etc\Mtgdb.Gui.xml to use the diretory above then no surprize the images don't show.
In case I am wrong can you please send a .zip with your config files.
The configuration files are located in \etc directory.
2. Did you modify the configuration file etc\Mtgdb.Gui.xml? (I guess so, because you tried with XMage images)
If you kept a configuration file looking at XMage directory only then you should remove or comment your changes to make Mtgdb.Gui look for the images at their default location.
Again, In case I am wrong can you please send a .zip with your config files.
The configuration files are located in \etc directory.
Do you mean .dck file from XMage?doesn't import decks
Can you please send me an example of deck that is failed to import?
What directory with XMage images did you try to use?because it would not identify the images from xmage
I ask because in my computer the only xmage images I can find are at
- Code: Select all
xmage\mage-client\plugins\images\
If you changed the configuration file etc\Mtgdb.Gui.xml to use the diretory above then no surprize the images don't show.
In case I am wrong can you please send a .zip with your config files.
The configuration files are located in \etc directory.
1. Did you download images automatically using 'update' window or manually? If manually, what exactly did you download and to which directory?Waited 2 days of downloading of images ... and after it was done Images still don't show.....
2. Did you modify the configuration file etc\Mtgdb.Gui.xml? (I guess so, because you tried with XMage images)
If you kept a configuration file looking at XMage directory only then you should remove or comment your changes to make Mtgdb.Gui look for the images at their default location.
Again, In case I am wrong can you please send a .zip with your config files.
The configuration files are located in \etc directory.
-
hidalgo - Posts: 354
- Joined: 17 Oct 2016, 21:51
- Location: Russia, Moscow
- Has thanked: 58 times
- Been thanked: 80 times
Mtgdb.Gui.1.3.6.5 - Display options
by hidalgo » 09 Jun 2017, 20:57
The attachment DisplaySettings-1.jpg is no longer available
- New options in new configuration file
etc\Mtgdb.Gui.Display.xml- ShowTextualFields
Set this option to "False" to display only card images in search result.
With default value "True" textual card details are displayed in search result
alongside the card image.
- ShowDeck
Set this option to "False" to hide the deck area in the bottow of the window.
- AllowPartialCards
The purpose is to use window space effectively when the window size is small.
If you want to see only cards that completely fit whithin the window set the
option value to "False".
- CardSize
Controls the size of card image shown in search result
- ZoomedCardSize
Controls the size of card image shown when you zoom a card
- ShowTextualFields
- Fixed zoomed image size being different depending on source file DPI.
-
hidalgo - Posts: 354
- Joined: 17 Oct 2016, 21:51
- Location: Russia, Moscow
- Has thanked: 58 times
- Been thanked: 80 times
Mtgdb.Gui v1.3.6.6
by hidalgo » 12 Jun 2017, 22:43
- Fixed a problem of 'purely negative' clauses in Lucene query language syntax.
A pure negative clause is one that only prohibits values. Example:
NOT (Angel OR Demon)
Lucene search engine does not evaluate this correctly. Shortly speaking
pure negative clause allways evaluates to FALSE. For more details see FAQ
https://wiki.apache.org/solr/FAQ#Why_do ... sn.27t_.3F
The fix was to add a 'Match any document' clause to any 'purely negative'
clause turning a query like
NOT (Angel OR Demon)
to roughly
* AND NOT (Angel OR Demon)
Now the following query yields intuitively expected result:
NOT(NOT (Angel OR Demon))
returns any card that mentions either Angel or Demon in any field.
Before that fix, the search result would be empty. - Filtering by buttons is re-implemented using Lucene indexing mechanism.
Previously all the card texts were scanned to see if the card meets the conditions
set by Filter buttons. The consequences are:
- Filtering by buttons may have become slighltly faster already.
- Filtering will not become slower as new sets are added.
- I could get rid of dirty hacky 'equip ' and 'enchant ' keyword definitions with
trailing whitespace. A trailing whitespace was used to exclude words like 'equipped' or
'enchanted'.
- Filtering by buttons may have become slighltly faster already.
- Improved highlighting text matched by Buttons filter.
- Fixed search text syntax highlithing.
In a query ANDY first 3 chars were incorrectly highlighted as AND operator.
Last edited by hidalgo on 03 Jul 2017, 01:31, 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.0
by hidalgo » 03 Jul 2017, 01:27
- CJK (Chinese/Japanese/Korean) fixes
- Fixed not breaking lines in CJK text.
- Fixed Search String not accepting clipboard paste with CJK characters
- Fixed not highlighting CJK in search result. Example query: "リチ"~1
- Prevented underlining field value in Search string query as to keep CJK
characters readable.
- Fixed not breaking lines in CJK text.
- Tooltip improvements
- Selectable text in search result tooltips - instead of messing with tiny
text fields.
- Highlighting search matches in tooltip.
- Better tooltip positioning.
- Selectable text in search result tooltips - instead of messing with tiny
- Deck statistics window changes
- The diagram has become more customizable.
- There is no more table above the diagram
- The diagram has become more customizable.
- MS-Windows-version-independednt snapping. Even for Windows XP
You can snap the window to the left or right side of the screen or one of 4 corners.
To snap drag the window header to a screen side or corner. Alternatively use keyboard:- for sides: Win+Left, Win+Right, Win+Num4, Win+Num6
- for corners: Win+Num1, Win+Num3, Win+Num9, Win+Num7
- to maximize: Win+Up, Win+Num8
- to minimize: Win+Down, Win+2
- to center: Win+5
- move to next screen: repeat any shortuct above
- for sides: Win+Left, Win+Right, Win+Num4, Win+Num6
- 2D language menu rather than a linear list
- More precise tab header highlighting where tab trapezes intersect.
- Fixed 'jumping' in search result and deck when clicking partially visible card.
- Showing search string intellisense below the word you are typing.
- Got rid of all DevExpress UI (User Interface) controls. DevExpress is a paid .NET
Framework library providing extremly feature-rich controls to build UI. The consequences:- Loss of functionality
- Custom filter is no longer available. Use search string instead.
- No table above the diagram in deck statitics window.
- Custom filter is no longer available. Use search string instead.
- Improved performance
- Search result filters, sorts and scrolls faster.
- Creating new tabs is faster.
- Resizing form is faster and with less visual glitches.
- Search result filters, sorts and scrolls faster.
- Reduced download size from 70 MB to 40 MB
- Increased UI improvement potential:
Many improvements in this release would't be possible if keeping DevExpress.
~30% of code was about getting around DevExpress design flaws, bugs and gliches.
It looks carefully designed and clean in demos and advertising pictures while on
practice it doesn't do well some basic things.
An example of that is search result highlighting - it is by design incapable to
highlight more than 1 match per 1 field text (which is ridiculous!). That alone
forced me to do all the text rendering myself. To the less degree same was true
for scrolling, displaying partial cards, sorting, tabbed document interface...
- Loss of functionality
-
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 » 09 Jul 2017, 06:44
Hour of Davastation already update in mtgjson, i'm making the list of missing artworks for this set.
- aidscoi168
- Posts: 210
- Joined: 31 Dec 2016, 17:49
- Has thanked: 58 times
- Been thanked: 28 times
Mtgdb.Gui v2.0.5
by hidalgo » 10 Jul 2017, 00:57
- Added images for
CMA - Commander anthology
HOU - Hours of devastation
E01 - Archenemy: Nicol Bolas - Updated images for
AKH - Amonkhet
MPS_AKH - Amonkhet Invocations
-
hidalgo - Posts: 354
- Joined: 17 Oct 2016, 21:51
- Location: Russia, Moscow
- Has thanked: 58 times
- Been thanked: 80 times
Mtgdb.Gui source code
by hidalgo » 20 Jul 2017, 03:32
The project goes open source. You can find the source code here.
Why would you need that?
Well, I can imagine a c# developer re-using some of WinForms controls
Why would you need that?
Well, I can imagine a c# developer re-using some of WinForms controls
- Draggable tab headers
- Tooltips with selectable text
- Album like data viewer
- Boolean filter buttons
-
hidalgo - Posts: 354
- Joined: 17 Oct 2016, 21:51
- Location: Russia, Moscow
- Has thanked: 58 times
- Been thanked: 80 times
Mtgdb.Gui v2.0.6
by hidalgo » 22 Jul 2017, 00:02
- Fine-tuned tokenization for search string index. +,-,/,½ are not
considered word separators anymore. As a result you can search +1/-1 in text
using a following query:
text:\+1/\-1
It wouldn't work in previous versions as +1/-1 was indexed as
a sequence of two words "1" and "1" with +,-,/ characters omitted from
index. - Fixed search result highlighting for Korean - it does use spaces to
separate words which I didn't know previously. An example query to see the
difference:
text:*신* - Fixed search text not working because of duplicate Id for cards Jaraku the Interloper, Scarmaker in AllSets-x.json.
- Fixed startup delay between all sets loaded and images are selected.
The reason was redundantly expecting artwork images lookup to complete. - Fixed stretching non-zoomed horizontal plane images
- Render icon for {CHAOS} symbol
Last edited by hidalgo on 17 Sep 2017, 21:02, 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
Re: Mtgdb.Gui - Windows app to search MTG cards and build de
by aidscoi168 » 16 Sep 2017, 03:53
artworks still updating
- aidscoi168
- Posts: 210
- Joined: 31 Dec 2016, 17:49
- Has thanked: 58 times
- Been thanked: 28 times
Mtgdb.Gui v2.0.7
by hidalgo » 17 Sep 2017, 21:07
- Update window: added button to update prices
- Update window: shows progress bar when downloading images
- Updated prices without using Gatherer Extractor because it currently fails to download prices.
- Forge deck format: Fixed bug when loading forge 2 decks consecutively.
- Removed card property IsMagicDuels because Magic Duels game is changing with time and the list of cards it supports needs to be maintained. I don't do it so the list gets obsolete.
-
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.8
by hidalgo » 20 Sep 2017, 03:12
- Statistics window
- Added 'collection price' report
- Added 'filter by search result' checkbox. Use it to see the price of only the
part of your deck or collection that match search criteria from the search result window.
- Added 'collection price' report
- Search text input
- Fixed flickering in search input when text was ~100 characters or longer.
It was usually happening when pasting big chunks of text into search input. - Escaping special symbols when pasting into search input. 2004-11-20 converts to 2004\-11\-20.
Without escaping 2004-11-20 gets interpreted as 2004 AND NOT 11 AND NOT 20- Copy-pasting within search input does not involve escaping to avoid double-escaping
- When pasting a text into search input it gets separated by whitespaces from the rest of query to avoid field value to merge with field name of pasted text and vice-versa.
- Copy-pasting within search input does not involve escaping to avoid double-escaping
- When pasting text from tooltip to search text it is converted to a valid field-value query like ReleaseDate: 2004\-11\-20
- Allowed using $ in filter for number fields. Previously that would be considered syntax error. That makes pasting a price from a tooltip to produce valid query PricingMid: $1.50
- Fixed flickering in search input when text was ~100 characters or longer.
- Tooltips
- Increased tooltip font
- Added 'selectability' icon on selectable tootlips. I hope this helps more people see they can select and copy-paste text in card tooltips
- Increased tooltip font
-
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 » 20 Sep 2017, 14:16
Hi, can we set up to have all the chart type readable if we have lot of card in collection ? as i saw the chart currently just set to fit the screen ( not scroll support )
- aidscoi168
- Posts: 210
- Joined: 31 Dec 2016, 17:49
- Has thanked: 58 times
- Been thanked: 28 times
Return to Magic: The Gathering - Duels of the Planeswalkers
Who is online
Users browsing this forum: No registered users and 31 guests