Saturday, January 30, 2010

Worldwake Update (Beta 4.3)

The Beta 4.3 update is now complete, including Worldwake. Download link in the nav bar to the left
Unfortunately I didn't have time to implement (or really look in to) a better update procedure, so you will still have to uninstall your old version then reinstall the new one.

Again, no worries, the save files aren't effected by this process at all.

Changes included in the 4.3 version:
> Complete Gather text for every card, including the new October rules changes.
> New sets included: Worldwake, GVL, Slivers
> Updates to FNM, JGC, and MPR special printings
> Several minor fixes, art corrections, and such.


I never got around to completing the Garruk vs Liliana or Sliver records, so the art for those is missing. I changed the way foil/normal printings are handled to be more efficient, but I think some records were updated incorrectly in the database when I did so. Again, nothing major, just some cards will have a FOIL numeric box when they shouldn't.


The update process was pretty smooth, with just a couple of minor problems, namely the fact that Gather output has changed slightly (in the background code) and now adds HTML line breaks throughout card text for some bizarre reason.
I had to figure out how to remove that weirdness and finally just removed all HTML 'BR' tags for the old-new comparison. Once I managed that I discovered a grand total of about four changes in all of Gather.
Piece 'O cake.

Saturday, November 28, 2009

Zendikar

Zendikar update is complete.

It has been for a while, actually, but I kept forgetting to update this blog.
Oops.

Latest download info can be found in the Download link to the left.

Anyway, here's the details for this update:


Changes included in the 4.2 version:
> Complete Gather text for every card, including the new October rules changes.
> New sets included: Zendikar, Planechase, and FTV - Exile
> Support for Plane cards
> Introducing a new 'Product' rarity (for booster packs and such).
> Updates to FNM, JGC, and MPR special printings
> Prerelease and Release event cards now included (some with no art for now).
> Several minor fixes, art corrections, and such.
> Improved Database functionality: Simple Search now supports Block and Set selections, previously only available via the Advanced search.

Next update: Shortly before or after Worldwake's release.


Additional Notes:

This update took a little longer than usual (by about two weeks) because of a number of changes to the Magic rules set.

Planar cards were introduced, which required me to make slight modifications to the entire database. I also had to change the search paramaters to allow Planar cards, so I modified the entire search routine to load the Drop-down list from the database.
Now the drop-down for the Simple Search offers Set and Block search filters. Previously, these options were only available through the Advanced Search filter.
Plane cards can be accessed through the Land/Plane button (previously only used for Lands)

Oracle text for a number of cards was changed, and I still had to make lots of changes from the M10 rules overhaul. Because of this, I waited a week after the Prerelease for the Oracle update, and downloaded the entire database as a 20MB text file.
I then spent the next week perfecting a text-parsing program that translated that horrid mess into a readable format, then had a different program compare the two databases and let me look over the changes.
With the help of these two programs, Oracle updates take about two minutes to compile, and less than an hour for me to error-check.

So all future updates should contain complete Oracle text.

Saturday, May 16, 2009

Advanced Search - An in-depth look

I'd like to take a behind-the-scenes look at the new Advanced Search options, both to explain how to best use the tools, and to explain just how such a complicated search filter works.


First of all, the Advanced Search query is generated 100% on the fly. Previously, only three predefined search queries were used. This was simple and effective, because the search filter was almost always the same. Just the key words sent through the search filter changed.
For example, the filter by name would look like this:
WHERE CardName LIKE [something]

Changing the text sent in the [something] placeholder yielded different results. The catch was, not every field is necessary for every search. Suppose you didn't care what the card's name was. The program still had to send the search filter something. In this example the [something] would be a dummy value, just to trick the database into including everything.

Combine this process with up to 50 values, and now problems arise. The database is often making far more comparisons than necessary, slowing performance.



The new search options bypass this problem by generating the search filter when it is needed. If text is entered in the CardName filter, the database filters based on the text entered. More importantly, if no text is entered, that step is skipped!



So, with that explination out of the way, here is the first in a series of screenshots. The first step is to determine what set(s) of cards to display.
Filtering by format will show all printings (records) of all cards legal in that format. These format lists are another series of tables in the database.
Filtering by Set, on the other hand, will only show cards from the sets enabled through the checkboxes. The sets are grouped the same way the 'volumes' are grouped, which should make everything easy to understand.

Also worth noting is the interactive title text for each group of sets, which can be clicked to toggle every set in that group on or off, and the clear button int the top right of many filter groups. This can be clicked to reset that filter (or to toggle everything on or off in the case of check box collections).



The second tab brings back many familiar controls, but now features some extra options.

Skipping the Color options for now, the only changes to the Card Type filters are the addition of a "Planeswalker" checkbox. This rarely-used option is bundled with "Enchantments" and "Creatures" for the simple search, to preserve the layout. Similarly, the "Token" and "Land" as well as the "Product" and "Special" rarities have also been split.

The CMC options now allow for up to three ranges of numbers, which is probably quite excessive.

Back to the Color options.
Each row of checkboxes represents one group of filter options. Clicking the "Multicolor" and/or "Hybrid" tabs will set that row's filter to only hybrid or multicolor style cards, rather than monocolor cards. Clicking "Match All" means that only multicolor/hybrid cards that match all the selected colors will be included.

Additionally, the filtering process will be skipped for rows with each box checked, or no boxes checked. The same is true for the Type and Rarity checkboxes.


Here are some examples:
White, Blue = Only white and blue monocolor cards.
White, Blue, Multicolor = Multicolor cards that are blue or white, and are not colors that are not checked.
White, Blue, Green, Multicolor = Multicolor cards that are blue or white or green, and are not colors that are not checked.
Black, Red, Green, Multicolor, Match All = Multicolor cards that are exactly Black, Red, and Green




The third tab allows for text-based filtering.

The Subtype, Rules Text, and Flavor Text fields each allow a pair of AND fields, and a single NOT field.
When completed, the filter will exclude anything from the NOT field, and include anything that matches either of the two three-condition OR clauses.

The Artist field simply filters by artist name.

The Card Name box is actually intended to copy/past long lists of card names, such as from a decklist psted online. Unlike the other fields, this list requires an exact match.


Perhaps least impressive is the fourth tab, which filters results by the inventory records in the currently-opened save file. Unilke all the other options listed here, this filter is performed after the search, because these records are not part of the master database.

The filters are paired up, allowing up to two ranges of inventory.
The first dropdown determines what versions to check. Total, the default, finds the sum of all versions each printing of each card.
The other options for this list are "All," which checks all versions for a match among any of them, "Regular" which is the normal printing, "Foil" which is the foil (shiny/premium) printing, and two "other" entries, for oddball cases such as foreign versions, or signed copies.


Last but not least, the sort order tab allows a wide variety of sorting conditions, including several compound conditions. This step formats the data as effectively as possible for further processing (control break processing) later on, when the resulting list is broken up into managable pieces.

Sunday, May 3, 2009

Beta 4.0 Release

Beta 4.0 is now available for download >>>HERE<<<

If you had a previous version, you will have to uninstall first, but no other changes should be necessary.


Improvements - Beta 4 finally eliminates the dreaded GridView, allowing free access to the database. That means it is now possible to generate any search you want. The first stage of this process is the Advanced Search.

> The Advanced Search is functional
> Three tiered sort tools are now available
> Hardcoded filepaths are gone, and the program should be able to run from any directory, on any hard drive.
> Numerous subtle improvements to the GUI, mostly just tweaking the alignment of controls
> The database has been updated, fixing several hundred cards with cut-off text
> Most promo cards are included
> Alara Reborn is included
> Saving now works like any text document, meaning it warns you about closing without saving, and lets you choose a save location.


Problems & Bugs - While numerous improvements have been made, some technical difficulties have cropped up.

> Sorting processes for Card Type are buggy. I'm aware of the problem, but not sure how to fix it in a reasonable manner. The only fix I know of right now is to parse (read) the type line of each card, which is *slightly* time consuming and wasteful. By slightly, of course, I mean "omg panic" slightly.

> A similar situation with the "Distinguish Number Of Colors" filter option. This one is easier to fix, but I'd prefer to fix it through the database query (automatically) rather than add yet another column for such a narrow purpose.

> The search query is now generated live, and might have some bugs in it. It shouldn't cause any actual problems, but let me know what settings you used to cause the problem so I can fix it.

> The small card tooltip is still really wonky, but I disabled it by default so it isn't too annoying now.


What's Next - Here's what I have planned for the next couple of months:

> Fixes to the above

> Fixing the "uninstall the old version" problem, so installing updates is simple.

> User profile saving (saving of display settings, search settings, and default files to open)

> A card detail window, similar to Gather. This would show all the information about a single card, including alternate printings, and will give you a text field for jotting down notes.
For example: "note: Bob wants this card"

> Deck editing? I'm still thinking about how to do this. In theory it should be straightforward, because all the groundwork is already laid, but I want to meet with a professional developer and show him (her) my work first.
I plan on rebuilding everything using .NET 2008, making the most of everything I learned the first time, and the more work I do in 2005, the more I have to rebuild later. :P

Tuesday, March 17, 2009

File Saving upgraded

Work has been continuing, when I have the time, mostly on minor things that bug me.

One thing I completely revamped is the save file process. The save process now works much like word documents and such. I even included some "this file hasn't been saved" type error messages, so the entire process is much more intuitive.

Now that that feature is up to snuff, I plan on adding some other features, such as a wish list and trade list. By parsing a wish list and a collection file, have/want lists can be generated.

This upgrade won't be included until the Alara Reborn update, which will be released in late April (when the Alara Reborn set is released)



PS: Shameless plug for search engines (I hope):
Magic the Gathering
MtG
MTG
Magic Collection Manager

Wednesday, March 4, 2009

Beta 3.1 Release

Beta 3.1 is now finished.

I fixed several minor database glitches and improved the GUI subtly.
The biggest change is the text on the preview cards.


Upgrades and Fixes:
* The WUBBG error on conflux cards is fixed (It should WUBRG)
* Improvements have been made to the Preview Card text formatting.
* Some minor database issues were fixed
* The database and save file for cards were moved to a "Data" folder for consistency
* Planar Chaos frames are now included with the primary download
* Unhinged and Unglued frames are now available for download


The new version can be downloaded >HERE<, but I will update the link in the download instructions as well.
Those upgrading from a previous version will need to uninstall the old version first. I hope to overcome this irritant soon.

Beta 3.1 Screenshots

Beta 3.1 brings improvements to the preview card text formatting. The small card text formatting has also been upgraded.






============================================================
NOTE: several of the following screenshots are from before the Beta 3.1 changes were made.
This is to give an example of the sorts of changes that were made, and because I already had those screenshots and replicating them would be a bit excessive. :P

The biggest changes were to the text box, where icons and formatting changes are now applied.
============================================================


Advanced Sorting Options (Sort By Color)




Advanced Sorting Options (Sort By Type)



Overriding Card Frames - Some people prefer the look of the old style card frames, while others prefer the new frames. You can override the default.





Tokens are included too

Thursday, February 5, 2009

Beta 3.0

I've completed Beta 3.0 now, but there are some minor glitches to fix.

It saves data now, and can import MOL2 save data with about a 98% success rate. The 2% drop rate is caused by things with "Æther" and other non-english characters that don't compare properly. Don't worry though, these error cards are compiled into a text file, which is opened at the end of the import feature. You simply have to enter these cards by hand.

The errors are mostly in some accidental database typos, and the disabling of background utilities. I turned these off to test some other things and forgot to turn them back on.

I'll be releasing a Beta 3.1 in another week or so with these features enabled, but it shouldn't cause any problems in the meantime.


Beta 3.0 download link:

Sunday, January 4, 2009

Apparently Rapidshare changed their download management options, meaning my files are no longer on their server.

So I switched to MediaFire.com


The new download link is >HERE< but I'll also be editing it in the download instructions.

Friday, December 5, 2008

Update: Beta 2!

After much toil and frustration, Beta 2 is complete!

I *think* everything works, but I couldn't test it a second time after some minor changes.

The program now requires the .NET framework and SQL to run properly, but it didn't tell me that until I tried to install it. I'll try to eliminate that requirement if it bothers anyone. Both are available for free, and the installer *should* handle all that automatically. Now that all the computers I have access to have those components, I can't test to see if the installer will do that itself.


>>>> Download Link <<<<

Monday, September 29, 2008

Beta Release

Beta is complete!

Feel free to download and give it a try. I'm still working out some bugs, but all the functional stuff works. Before I say anything else, let me stress this:


** The database does not yet save statistics on the cards you own**

It will soon. Just not yet.
I'm still making radical changes in the background in an attempt to get this thing as complete as I can, and I have no idea how that will impact it's functionality in this regard. I can just see someone spending +100 hours logging their cards, only to have it all wiped by an update. I wish to avoid that.
On a similar note, the options don't save either. Same basic thing with this.

As of now, the program has every standard printing of every card. I've left out special printings (player rewards, DCI, exc) for now, but I plan to include these in the future. All I ask of anyone who downloads this are the following:
1) Give me credit. I've been working on this for about 4 months.
2) Report any bugs you find. (include as much detail as possible)
3) Share/blatantly advertise to friends (assuming you like it. :P)

Credits
Thanks to WotC for giving a bored guy something to do during the summer, and for a pretty cool hobby.

Thanks to the http://magicseteditor.sourceforge.net/ crew, for the source images for about 90% of my card frames. If you enjoy creating your own cards, check their program out. It's pretty snazzy, and very powerful.

Thanks to http://magiccards.info/ and several other database sites that I forget right now, for your services. It was only through the work they started that I was able to get a reasonably complete database.MagicCards.info was also the source of ALL my card art.

Download instructions

===== Downloading Instructions =====

Part 1) Download the installer package
Download the zip file HERE. If you have installed the program before, simply uninstall the old version before trying to install the new one; I haven't figured out how to release 'patch' style updates.
Install by clicking the setup.exe tool.
Navigate through the download instructions (you will probably have to install the .NET framework and/or SQL for my program to work. Just click OK. )
You will probably get some angry firewall messages, which is normal (I am, after all, unregistered with Microsoft. :P )

That's it!

Part 2) Art Packages (optional)
Here are the links to more zip files with packages of card art. I have them grouped by set, and by their classification.

You can find this folder by starting the program, clicking the "About"option on the toolbar, and then clicking "Update Packages." This should open the Resources folder mentioned above.

Recent Sets - This contains all new sets, Mirrodin - Eventide. Alara comes pre-installed.
Old Sets, part 1 - All old-frame block sets, Ice Age - Prophecy
Old Sets, part 2 - All old-frame block sets, Invasion - Scourge
Starter Sets - This contains Beta, and 5ED - 9ED*.
Early Sets - Arabian Nights, Homelands, The Dark, Fallen Empires, Antiques, etc.
UN-sets - This package contains full scans of the unique cards from Unhinged and Unglued.

*Note that Alpha - 4ED all used repeat art.

How to install Art Packages
Start the program, then click on Help > About > Update Packages.
A folder should open up. Open the CardImages folder.
*For Full Card scans, like Unhinged, open Frames > Unique.
Unzip the download, and move the folders here.


A note on art packages.
The art for Card Tracker has been optimized, both to get the best scan of a particular piece, and to conserve hard drive space. What this means is that art files are used by several cards. This is particularly obvious for Alpha, 2ED, 3ED, and 4ED, which all use art from previous sets (mostly Beta).
This also means that downloading a particular file may/may not fill all the card art from those sets. For example, if you download the Old Sets file, an Ice Age card with Beta art will still be missing the art.
Whenever possible, I made the most logical choice for what art goes where. In general, the first printing of a particular piece gets priority. I did make an exception for anything in 10E, because that's what I'm already including in the basic install. This means that many Mirrodin cards that were reprinted in 10E, actually have their art in the 10E folder, despite Mirrodin's status as first printing.
The second exception is for cards with old art in a new frame.I could have used the same art, but I didn't feel that would be appropriate. Much of the art for the new frames was cropped differently, and in many cases was thoroughly recolored, resulting in some shocking differences.
The third, and final group of exceptions was when an old art was reprinted in an old frame again, but with a significantly higher quality. This occurred mostly in 5ED/6ED, when the printing quality of cards increased noticeably.Instead of giving the Beta art an errata, I went ahead and included another source file. The washed out colors from the early era of Magic is, after all, one of those card's most distinguishing features.

Thursday, August 14, 2008

Update: Invasion, Frame options, Tokens

It's been a while since I posted an update, but I've been pretty busy.
Progress has continued, and I've made lots of subtle background changes, as well as very noticable front-end changes.

First of all, the database includes cards from Alpha (the first set) to Eventide (the latest set), for a grand total of 14307 entries. While many of these are reprints of the same card, that's still quite a bit of information

Additionally, I've managed to get the art from all cards since Invasion (a solid 9 years worth of cards!)

I also added watermarks (from the guild cards), mana symbols (on the lands), a method to draw old frames, options to handle what frame to draw (giving you the option to view everything in the new or old style frames), and tokens.

Uniquely framed cards such as, Unglued and Unhinged, and cards with a complicated frame not worth programming (flip cards and Future Sight cards) are treated similarly, however I may go back and change that as time goes on. (the advantage of doing this, of course, would be giving users the fourth option of choosing "Future Sight Frames" as their prefered frame style)

But enough talk: more pictures!

Invasion cards
















Choose your prefered frame style...














...and make old cards look like this
















Tokens! With unfinished name text! ;)
















Lands! With big mana symbols!

Monday, June 30, 2008

Screenshots of progress so far

left-aligned toolbar (default)

















right-aligned toolbar
















center-aligned toolbar and top-aligned preview card
















Resized window

Objectives

Now that the introductions are out of the way, here are some of the goals I hope to accomplish with the project:

1) User-friendly layout and intuitive design. This has been accomplished mostly by basing the GUI off MOL 2.0's layout, with the only real changes being more and better search options than that program provided.
Primarily, the ability to search the total number of cards you own, instead of just the normal or foil ones at once. On that note, I plan to store the normal printings and foil version of each card together, so that each entry would have (at least) two numbers under it.

If you happen to also have some foreign-printings of several cards (I own about 4 random booster packs) the feature will exist to track 2 additional versions. If demand exists, I can add more, but I doubt more than 4 would be used.

2) Importing saved collections from MOL 2.0. For people who used MOL 2.0 like I did. I'll try to make it as simple as possible, but at the very least I'll probably need the user to perform a speciffic search in MOL 2.0 and save the resulting list in a CSV (comma separated value) format.
No worries non-techies: when I get the feature done I'll post a step-by-step guide.

3) Profile-saving feature. One of the most annoying things about MOL 2.0 was the need to reset your search settings every time you turned the program on. I hope to have a small profile saving option, so when you open it up it loads the default profile settings.

4) Advanced search options. The search engine for MOL 2.0 was functional, but had some odd quarks. First of all, any search checked every part of the card for a match, sometimes returning very strange results. A search for 'Boros' would often return cards with art by Zoltan Boros.

My plan is to have the basic search engine match color, rarity, card type, set, and some other options as well as searching the type line, card name, and text box for the entered field.

The advanced search feature would feature 'tagging' of cards by function, such as 'Mana Accel' or 'reanimation' or 'mill.' Additionally, I want to allow the user to check what fields to search for, as well as some dynamic options on how to sort the cards. Instead of limiting the user to five or six drop-down options, I'll provide 2-3 sorting fields, and each can be chosen independently.

For example, if you wanted to sort the search by something as unusual as artist name, you could sort by ARTIST > SET > NAME which would group the cards by the name of the artist, sorted by set, and finally sorted by name within the set

Eventually I want to add an uber-search, where I'll let the user enter SQL code directly and search based on that. I'll include a guide for it, but since the first parts of the query will be pre-built I doubt it would be too confusing.

5) Layout and viewing potions. Options to view the card as-printed, but the default will be oracle text. Options on how many cards to view per page (default of 18). Options on the layout of the binder and toolbar (toolbar as left/right/center and preview as top/botom)

6) Alternate Printings. I hope to include every printing of every card, but the last to be added will be special printings (player rewards, prize cards, exc), tokens, and booster packs and things like that.

7) Readable DAT file, and options to print checklists. The dat file for your collection will be readable in a text editor if you want. For example, Lorwyn cards would have the card ID "LOR-XXX" where XXX is the card's collector number.

ID normal foil
LOR-001 2 0
LOR-002 9 1
LOR-003 5 0

That way, if you happen to have your cards in a reasonably logical order OTHER than MOL 2.0 you can, with relative ease, open the dat file and manually enter your cards.

up next: screenshots!

Card Tracker - First Post

This blog is supposed to be a sort of central information center for the project.

Card Tracker is a program I started working on to keep track of my collection of Magic cards. After Wizards of the Coast 'upgraded' from Magic Online 2.0 to Magic Online III, they dropped the physical card tracking add-on. Much to my disappointment.

After looking around at other applications, which were mostly for card shops or other sale-related businesses I decided to create my own.

The highly originally named Card Tracker is the result of this frustration.

Also, I want to make it absolutely clear that Magic, the mana symbols, card art, and much other stuff is all (c) Wizards of the Coast/Hasbro. My goal here is not to infringe on their market, but to provide a service around it.

Final note: special thanks to http://magiccards.info/, for their great database and card art.