Old deck builder after some cleaning

Here is first version of old Deck Builder after some minor code cleaning. I'm aware that Dave is writing a replacement but before it's ready it's might be enough plus there are people who like old db too.
Before installing, please rename/move/delete your DBArt directory (and only that one). Some files were renamed, some removed and the old version was filled with useless files so it's better to clean it.
The changes aren't big but need testing:
- since there's no "official" graphics for db, I added crude support for skins. Simply storing different gfx files in a subdirectory inside DBArt will allow you to chose it as a "skin". Sorry, it's not selectable inside the db (it wasn't really made to easily unload and reload the skin graphics) but after running it once (just run Deck.exe and exit), you can edit config in Manalink.ini now. Put the name of your skin subdirectory in line "Skin=" in [DeckBuilder] section. Default skin is selected by either putting an empty value or "." there. I included the couple of example "skins" made from the files gmzombie posted in the beta thread. These are called "classic", "revised" and "dark" if you want to try, just put for example skin=classic to get the original graphics from 1997.
All graphics files are mandatory apart for an extra background for the stats buttons that were always grey before. You can see it changed if you select "classic" skin. Otherwise the buttons will be grey as usual.
The included .pic files are in reality .png if you'd like to view the contents outside of db.
- the previously crashing creature list selector should work again using new creature types (unfortunately still only inside DB, the game won't use extra subtypes). Multi-selection here works a bit differently than before, but nothing unusual.
- the "other" expansions button (or 8th edition or whatever) has a new submenu that allows you to select cards by expansion name(s). It uses the same selector as creature subtypes so should be easy to use. Just remember you have to enable the filter in the selector too, choosing only an expansion won't do. Enabling this filter will override all expansion buttons, so if you enable it, the state of the old 4th edition, astral, dark etc. buttons won't matter until you disable the filter again, and only the cards that have new expansion rarity columns in manalink.xls will be displayed. So data cards, effects, tokens, avatars etc. will not be displayed if the filter is active even if all cards are enabled.
- there are 2 debug options in config now (in Manalink.ini after running db once). First is ViewAll (switched off by default), if you switch it to 1, DB will display all coded and non-coded (and tokens, effects etc.) cards (faulty cards might still not display though).
2nd option is called ReadbyName (default is 0), this switches DB to read (and only read) decks by the card names instead of card ids. This will obviously work only if card names are proper but in majority of cases it should be fine (in case the name is wrong, it will display a requester and skip loading the card, you can edit the deck in notepad and correct the name in such case). Why this option? It's useful if card order changed and you want to use your old decks. Simply switch the option to ReadByName=1 and load your old deck and save it. The card ids required by magic.exe will be corrected. Obviously if you have a lot of decks it will be bothersome and in such case some script that will do it automatically will be better, but otherwise this should be helpful.
- the crash when using minimize option is gone.
- there's a couple of other minor changes (multicolored cards have a menu that was disabled before, some minor extensions to enchantments menu etc), and there's also preliminary code that should make DB look a bit better in different resolutions/aspect ratio, hard to tell if it's better or worse
There were also some minor changes to drawcardlib.dll, maybe it will fix the text displaying problems (but I doubt it). Also the backgrounds for colored artifacts have their own images now (unfortunately just copied normal colored cards at the moment, as I don't have anything suitable for them).
Link: http://www.mediafire.com/?u58n6at6cuhsfy1 (UPDATED: v2)
Included Magic.exe/*.dat/*.dll are from latest xls update from Sonic but without the latest code from Gargaroz. Still it might work a bit better as I compiled the dll against the corrected order of card ids.
Post DB bugs here and I'll try to fix them if possible. Don't post card bugs from this version anywhere, wait for a proper next beta from Gargaroz first
Before installing, please rename/move/delete your DBArt directory (and only that one). Some files were renamed, some removed and the old version was filled with useless files so it's better to clean it.
The changes aren't big but need testing:
- since there's no "official" graphics for db, I added crude support for skins. Simply storing different gfx files in a subdirectory inside DBArt will allow you to chose it as a "skin". Sorry, it's not selectable inside the db (it wasn't really made to easily unload and reload the skin graphics) but after running it once (just run Deck.exe and exit), you can edit config in Manalink.ini now. Put the name of your skin subdirectory in line "Skin=" in [DeckBuilder] section. Default skin is selected by either putting an empty value or "." there. I included the couple of example "skins" made from the files gmzombie posted in the beta thread. These are called "classic", "revised" and "dark" if you want to try, just put for example skin=classic to get the original graphics from 1997.
All graphics files are mandatory apart for an extra background for the stats buttons that were always grey before. You can see it changed if you select "classic" skin. Otherwise the buttons will be grey as usual.
The included .pic files are in reality .png if you'd like to view the contents outside of db.
- the previously crashing creature list selector should work again using new creature types (unfortunately still only inside DB, the game won't use extra subtypes). Multi-selection here works a bit differently than before, but nothing unusual.
- the "other" expansions button (or 8th edition or whatever) has a new submenu that allows you to select cards by expansion name(s). It uses the same selector as creature subtypes so should be easy to use. Just remember you have to enable the filter in the selector too, choosing only an expansion won't do. Enabling this filter will override all expansion buttons, so if you enable it, the state of the old 4th edition, astral, dark etc. buttons won't matter until you disable the filter again, and only the cards that have new expansion rarity columns in manalink.xls will be displayed. So data cards, effects, tokens, avatars etc. will not be displayed if the filter is active even if all cards are enabled.
- there are 2 debug options in config now (in Manalink.ini after running db once). First is ViewAll (switched off by default), if you switch it to 1, DB will display all coded and non-coded (and tokens, effects etc.) cards (faulty cards might still not display though).
2nd option is called ReadbyName (default is 0), this switches DB to read (and only read) decks by the card names instead of card ids. This will obviously work only if card names are proper but in majority of cases it should be fine (in case the name is wrong, it will display a requester and skip loading the card, you can edit the deck in notepad and correct the name in such case). Why this option? It's useful if card order changed and you want to use your old decks. Simply switch the option to ReadByName=1 and load your old deck and save it. The card ids required by magic.exe will be corrected. Obviously if you have a lot of decks it will be bothersome and in such case some script that will do it automatically will be better, but otherwise this should be helpful.
- the crash when using minimize option is gone.
- there's a couple of other minor changes (multicolored cards have a menu that was disabled before, some minor extensions to enchantments menu etc), and there's also preliminary code that should make DB look a bit better in different resolutions/aspect ratio, hard to tell if it's better or worse

There were also some minor changes to drawcardlib.dll, maybe it will fix the text displaying problems (but I doubt it). Also the backgrounds for colored artifacts have their own images now (unfortunately just copied normal colored cards at the moment, as I don't have anything suitable for them).
Link: http://www.mediafire.com/?u58n6at6cuhsfy1 (UPDATED: v2)
Included Magic.exe/*.dat/*.dll are from latest xls update from Sonic but without the latest code from Gargaroz. Still it might work a bit better as I compiled the dll against the corrected order of card ids.
Post DB bugs here and I'll try to fix them if possible. Don't post card bugs from this version anywhere, wait for a proper next beta from Gargaroz first
