Hi :)
I am using your MagicAssistant heavily and discovered a new mobile phone app which is able to scan a heap of cards very fast and is able to export it to dropbox (ScryGlass App, watch?v=-C_8czfRDrQ).
The problem is the format coming from the app:
1 Mayael's Aria [ARB]
1 Varchild's War-Riders [AL]
1 Ice Cave [AP]
3 Unscythe, Killer of Kings [ARB]
1 Mishra's Workshop [AQ]
1 Ring of Ma'rûf [AN]
1 Molimo, Maro-Sorcerer [ARC]
1 Angel of Glory's Rise [MBP]
1 Somberwald Sage [AVR]
1 Slayers' Stronghold [AVR]
1 Land's Edge [CH]
1 Library of Lat-Nam [6E]
3 Zur's Weirding [6E]
1 Garza Zol, Plague Queen [CS]
1 Garza's Assassin [CS]
1 Sek'Kuar, Deathkeeper [CS]
1 Endrek Sahr, Master Breeder [MM2]
2 Thousand-Year Elixir [C13]
1 Æther Gale [C14]
1 Æther Snap [C14]
1 Blue Sun's Zenith [C15]
1 Overwhelming Stampede [C15]
1 Edric, Spymaster of Trest [CRS]
1 Æther Snap [DS]
1 Bound // Determined [DIS]
1 Hide // Seek [DIS]
I just checked out the magic assistant source code from sf and discovered the Editions.java class as long as the DeckParser.java and the ImportData.java. I have no idea how to find the definition of the parseable language to look further into it and solve it by myself :)
Therefore I would like you to ask to please create a new import mode.
Challenge:
The parser must parse from [MM2] -> Modern Masters 2
Cheers
Werner
Anonymous
ScryGlassImportDelegate.java
In your file you expect header to be set like Count,Name,Edition but in your example it is not set. Does it actually has a header?
Ok it was not right import patterm, it is not csv. Anyway I added importer for that.
Unfortunately these abbreviation would probably not match what I have now and what official abbreviations are, but you can add extra abbreviations in the UI now (before import). The code is on the master branch now, can you run it from the source code to test?
Hi,
you are right! A scanned file does not have a header like COUNT, NAME, SET. I am sorry. I also created a UTF-8 extended Text file to test the parser.
I will tell you my test results! :-)
Cheers
Werner
Last edit: Werner Maier 2016-02-09
Hi,
when I try to build from source with jdk 1.8.0_71, x86_64 I go to step "Find magiccards.target project, it will have target defintions file, for example rcp_mars.target, double click on it, and use Set as Target Platform link on top of its editor to reset you target platform. It will take some times to download all required stuff. "
I have no idea how to do the "Set as Target" step in Eclipse Mars and download the required packages. I don't know how to reset and start to compile (Run Configurations) for my platform.
Cheers
Werner
Last edit: Werner Maier 2016-02-09
If you double click on that file it will open it Editor. In editor it has a link "Set as Target Platform" on top.
Hi, I'm the ScryGlass developer.
I'm still working on making my set codes synchronize more properly with other sites -- my next step is to add a CSV exporter for integrating with other sites / tools.
If I exported a Deckbox-style CSV, will that be sufficient for importing to Magic Assistant?
I think I have deckbox import but I need a sample to know for sure.
I already implemented current import, so it will be in the next version.
The "classic" test import which already works was accepting format like this
1 Mayael's Aria (ARB)
I.e. brackets instead of square brackets.
The problem is actually more abbreviations. Some of them really not standard and it will choke.
Where you are getting your abbreviations (set codes?). I recently switch everything to grab codes from https://en.wikipedia.org/wiki/List_of_Magic:_The_Gathering_sets
My set codes come from MagicCards.info and mtgjson.com -- they're not entirely consistent with each other, and I'm slowly trying to learn who expects which set codes as "authoritative".
I think I'm going to jettison the MagicCards.info set codes since they seem to be the least "standard" and try to use the same ones that Gatherer uses on things. But I have to store them all internally.
thanks for the info! I will scrub these one too I guess.
I have not heard about mtgjson, its neat!
I did a quick check my code match exactly codes from mtgjson, which matches wiki page codes. I don't know where mtgcardsinfo gets their codes but some of them definitly does not match.
Oh nice, thanks for checking on that!
MagicCards.info would be worth ignoring, except that they have the best database of promos and tokens -- far better than any other site on the 'net. So I interface with them because I want a more complete database of images (for my scanner to build its database of image fingerprints from) -- that's why I use their set codes.
But I'll definitely try to switch to using Gatherer / mtgjson set codes as my default.
Thanks for looking at this with me! :)
I am so happy ^_^
@Clint I tried several times to contact you via website or app feature request to add a CVS export tool but your mail server always answered me:
And that you two meet together here... can't believe ^_^
Cheers from Germany
Werner
Last edit: Werner Maier 2016-02-11
Hi,
I am testing the new import mode. It is working smoothly...
So even if it doesn't recognize the set, it offers you a drop down of possible sets. Brilliant!
Thank you! ^_^
Cheers from Germany
Werner
Last edit: Werner Maier 2016-02-13
wow, thanks for you donation, its a lot of money!
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Hmmm... I downloaded the latest version of magic assistant and tried to import Scryglass data but I didn't find option to do so. Am I missing something?
Did you do software update from the app itself? What version do you have now?
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
I did update from the software itself (Magic Assistant asked for updating and I confirmed). It is build 1.4.2 (ID 1.4.2.020). When checking for software updates, it says that no updates were found.
I right-click on "decks", click on import and on "options" I click on the drop-down-list "Import Type". There I can't find anything that looks remotely like scryglass.
:'( <-- sad face
^^
I am not sure which version I put it in. Most likely its in beta now. Install in separate folder and run in diffrent workspace, import cards, and if you want to contrinue using 1.4 copy xml's into 1.4 workspace
https://sourceforge.net/projects/mtgbrowser/files/Magic_Assistant/1.5.0-beta/
I recently updated ScryGlass to both
So if you're using ScryGlass version 0.1.44 or greater (current most recent version is 0.1.48) you should be able to export to CSV and take that over easily into MagicAssistant?
Alena, what specifically is added for your ScryGlass importer? Basically the text "1 card name [SetCode]" format?
Yep, "1 card name [SetCode]"
And I added aliases for some weird abbreviations of sets missing in mtgjson