It is currently 16 Apr 2024, 10:15
   
Text Size

MTG Renamer & Downloader v1.2.1

Moderator: CCGHQ Admins

MTG Renamer & Downloader v1.2.1

Postby Nigol » 11 Jan 2012, 21:29

Image

Just some small info about this program.

First you need .NET framework 3.5 (Already installed with Windows Vista /7)
It should also work on MAC OSX & LInux with Mono (Not tested)

normal usage should be to type mono MTGRenamer.exe

This app works a little differently than most I saw, and they are a lot. Just whipped this out for my personal use, but though I could share it with you.

It's primary use is to copy files you already have from one source to another without renaming or re downloading again.
They are already a couple of apps that do this, but I found them slow or were putting them in the wrong folders or were incomplete.

This app is different from most because it will look for cards in it's database and try to find the file on you computer and if it doesn't find them will download them from MagicCards.info.

The notable different is also that it will create the thumbnails (for Wagic (60 large) and zip them up, after that it will delete the loose files it the Wagic Folders.

So if you don't have a certain set just select it and it will download the missing cards.

This only works with .full cards and English Right now.

This file comes with a Database (GathererDownloaderDB.xml) this file is up to date up to the latest set (Premium Deck Serie3s : Graveborn) this file was created with the help of Gatherer Downloader (find it here viewtopic.php?t=3371 or http://ark42.com/mtg/).

It was tweaked a little bit to include the card Number for the earlier sets that didn't have them, these numbers come from the site MagicCards.info and are important to download cards.

You can use The Gatherer Downloader to download new sets info etc or to only load a part of the DB. By default the program will Load the GathererDownloaderDB.xml on startup, but you can load a different file by clicking on Load DB.

The other file is "Sets.txt", this one is also very important because it tells the app where to copy the cards. Again this is an almost exact copy of the Sets List from Gatherer Downloader, I have only tweaked it a bit.

It is a CSV file with up to 6 fields.

1 - Categories (For Magic Album)
2 - Wagic Set ID (This was changed from the Gatherer Downloader list, to match the right Wagic Codes)
3 - The Set names from the Gatherer (as it appears EXACTLY on the gatherer website, like iin the DB)
4 - [Optional] Magic Workstation Set ID, (if different from the Wagic one)
5 - [Optional] A Alternate set name (Without illegal character, used only for Magic Album)
6 - [Optional] The MagicCards.info Set id (used only if it is different from the Workstation one, this is my addition and should not be used in Gatherer Downloader)

Both these files need to be up to date if you ever want to add additional sets.

This is very much a work in progress so be careful.

____________________________________________Changelogs_____________________________________
v1.2.1
- Fixed a problem with some Forge Cards not being read

v1.2
- Added the Forge Format to the Deck Convertor (*.dck) files.
No set information is written, because forge will crash if the chosen set/card is not implemented in forge. But it does read them.
- If there is no Name metadata in the deck it will use the name of the file instead.
- In the Deck Editor, when right-clicking a basic land it only shows Zendikar full art land (previously it only showed the 10 most recent)
- Updated an incorrect Workstation Code & spelling mistake (From the Vault: Realms).
- Fixed a lot of bugs and improvements with Tokens.
- Fixed a problem where Planechase 2012 cards where not put inside the right folder of Magic Album.
- Removed some special character that prevented cards from being recognized by their respective program. (ö, é)
- Fixed some database problem with flip and side cards

v1.1
- Updated database up to Gatecrash.
- Added the MTGO format to the Deck Convertor. (*.txt files)
- Removed obnoxious Menu to Load Deck Editor and instead put 2 radio buttons for the Image Location.
- Did some UI changes. Added some icons in the Convertor and cleaned up the interface a lot.
- Right-clicking a card in the Deck Editor will always show alternate names/Sets, before it was only when a card was not in the DB.
- Saving as the same type is now permitted.
- The Input & Output Dir will now be remembered in a portable ini file.
- The selected deck folder will now be remembered and auto load.

v1.05c
- Added Izzet vs. Golgari to the Database (The Wagic Code maybe wrong I have extrapolated it from the past sets)
- Updated an incorrect Workstation Code (Duel Decks: Venser vs. Koth)

v1.0.5b
- Updated Database up to From the Vault: Realms

v1.0.5
- Fixed Database for Flip Card images not being named correctly in Magic Album (I don't think Workstation support double-sided cards)
- Fixed Problem where Flip / Double cards where not Loaded correctly inside the Deck Viewer
- Added Support for Emblem being treated like Tokens.
- Updated Database for Duel Decks: Venser vs. Koth & Avacyn Restored

V1.0.4
- Fixed Sets.txt downloading wrong pics for Mirrodin.
- Added a Deck Viewer / Converter and it is very much a Beta Version (It can Read/output files from MWS, Apprentice & Wagic)
- Added Cards from Dark Ascension in the Database.

v1.0.3
- Made a small tweak for some Tokens.
- Fixed Ravnica missing info in Sets.txt
- Faster performance when Processing Tokens, when not all the sets are selected (300ms vs 10000ms with only 1 Set)

v1.0.2
- Added a checkbox that will change the way the tool works, it will set the Real name of the set inside of the _cards.dat files.
Just make sure that you select the set or sets that you want to edit and that the destination you choose is your "sets" folder and the type is set to Wagic
- Added support for Tokens. For Wagic it will find if a Token is needed and create a "t" version of the file.

v1.0.1
- Found a problem where flip cards would not be downloaded from MagicCards.info (Link below is updated)


Also there is the Source Code available. Please give credit if you use this code. Mostly send your updates so everyone can benefit form them.
Attachments
MTG Renamer & Downloader v1.2.1.zip
v1.2.1
- Fixed a problem with some Forge Cards not being read
(3.04 MiB) Downloaded 1177 times
MTG Renamer & Downloader v1.2.1.rar
v1.2.1
- Fixed a problem with some Forge Cards not being read
(1.49 MiB) Downloaded 691 times
MTG Renamer & Downloader v1.2-Source Code.zip
Also here is the Source Code available. Please give credit if you use this code. Mostly send your updates so everyone can benefit form them.
(3.47 MiB) Downloaded 643 times
Last edited by Nigol on 03 Mar 2013, 17:27, edited 15 times in total.
Nigol
 
Posts: 21
Joined: 11 Jan 2012, 19:04
Has thanked: 3 times
Been thanked: 7 times

Re: MTG Renamer & Downloader

Postby Huggybaby » 12 Jan 2012, 03:44

Very neat app, thank you. We needed this. :)
User avatar
Huggybaby
Administrator
 
Posts: 3205
Joined: 15 Jan 2006, 19:44
Location: Finally out of Atlanta
Has thanked: 696 times
Been thanked: 594 times

Re: MTG Renamer & Downloader v1.0.4

Postby Nigol » 08 Feb 2012, 20:18

Changelog

V1.0.4
- Fixed Sets.txt downloading wrong pics for Mirrodin.
- Added a Deck Viewer / Converter and it is very much a Beta Version (It can Read/output files from MWS, Apprentice & Wagic)
- Added Cards from Dark Ascension in the Database.

Deck Viewer

For the Deck Viewer, The 2 path choice are just for images purposes.
After that you will be asked to select another folder, this one is where your decks are found.

You can then select the input Type in the Deck Viewer

- For Wagic : It will load all "deck*.txt" files
- For Apprentice : It will load all the "*.dec" files
- For Workstation : It will load all the "*.mwDeck"

Note that Magic Online Decks has the same format has Apprentice, so you could rename your decks to .dec to have them loaded and Convert them.

Note that the resulting decks has been tested in Magic Album, which sometimes fail to load some Workstation decks,
So opening them with this tool and saving them back will fix them so it can open them.

The Blue Lines are Sideboards.

The Edit button just opens the file in Notepad.

** If a file is in Red it means that the Card was not found in the Database,
you can Right-Click on it to find the appropriate card if there was a spelling mistake int he name or a Wrong set.
Nigol
 
Posts: 21
Joined: 11 Jan 2012, 19:04
Has thanked: 3 times
Been thanked: 7 times

Re: MTG Renamer & Downloader v1.0.4

Postby Nigol » 03 Mar 2012, 14:40

Small fix to the Sets.txt file, where Magiccards.info sets where wrong. See the first link for updated file.
Nigol
 
Posts: 21
Joined: 11 Jan 2012, 19:04
Has thanked: 3 times
Been thanked: 7 times

Re: MTG Renamer & Downloader v1.0.5

Postby Nigol » 12 May 2012, 01:19

v1.0.5
- Fixed Database for Flip Card images not being named correctly in Magic Album (I don't think Workstation support double-sided cards)
- Fixed Problem where Flip / Double cards where not Loaded correctly inside the Deck Viewer
- Added Support for Emblem being treated like Tokens.
- Updated Database for Duel Decks: Venser vs. Koth & Avacyn Restored

Could a Mod update the First Post with the file and info posted above, I can't edit it because it says that by post seems too spammy for a new user and to remove outside links (even if I remove them)
Last edited by Nigol on 03 Feb 2013, 01:23, edited 1 time in total.
Nigol
 
Posts: 21
Joined: 11 Jan 2012, 19:04
Has thanked: 3 times
Been thanked: 7 times

Re: MTG Renamer & Downloader v1.0.5c

Postby Nigol » 18 Sep 2012, 14:55

v1.05c
- Added Izzet vs. Golgari to the Database (The Wagic Code maybe wrong I have extrapolated it from the past sets)
- Updated an incorrect Workstation Code (Duel Decks: Venser vs. Koth)

v1.0.5b
- Updated Databse up to From the Vault: Realms
Nigol
 
Posts: 21
Joined: 11 Jan 2012, 19:04
Has thanked: 3 times
Been thanked: 7 times

Re: MTG Renamer & Downloader v1.1

Postby Nigol » 03 Feb 2013, 01:27

v1.1
- Updated database up to Gatecrash.
- Added the MTGO format to the Deck Convertor. (*.txt files)
- Removed obnoxious Menu to Load Deck Editor and instead put 2 radio buttons for the Image Location.
- Did some UI changes. Added some icons in the Convertor and cleaned up the interface a lot.
- Right-clicking a card in the Deck Editor will always show alternate names/Sets, before it was only when a card was not in the DB.
- Saving as the same type is now permitted.
- The Input & Output Dir will now be remembered in a portable ini file.
- The selected deck folder will now be remembered and auto load.
Nigol
 
Posts: 21
Joined: 11 Jan 2012, 19:04
Has thanked: 3 times
Been thanked: 7 times

Re: MTG Renamer & Downloader v1.1.1

Postby Nigol » 03 Mar 2013, 01:24

v1.1.1
- Added the Forge Format to the Deck Convertor (*.dck) files.
No set information is written, because forge will crash if the chosen set/card is not implemented in forge. But it does read them.
- If there is no Name metadata in the deck it will use the name of the file instead.
- In the Deck Editor, when right-clicking a basic land it only shows Zendikar full art land (previously it only showed the 10 most recent)
- Updated an incorrect Workstation Code & spelling mistake (From the Vault: Realms).
- Fixed a lot of bugs and improvements with Tokens.
- Fixed a problem where Planechase 2012 cards where not put inside the right folder of Magic Album.
- Removed some special character not prevented the cards from being recognised by their respective program. (ö, é)
- Fixed some database problem with flip and side cards
Nigol
 
Posts: 21
Joined: 11 Jan 2012, 19:04
Has thanked: 3 times
Been thanked: 7 times

Re: MTG Renamer & Downloader v1.2

Postby Nigol » 03 Mar 2013, 02:13

v1.2
- Added the Forge Format to the Deck Convertor (*.dck) files.
No set information is written, because forge will crash if the chosen set/card is not implemented in forge. But it does read them.
- If there is no Name metadata in the deck it will use the name of the file instead.
- In the Deck Editor, when right-clicking a basic land it only shows Zendikar full art land (previously it only showed the 10 most recent)
- Updated an incorrect Workstation Code & spelling mistake (From the Vault: Realms).
- Fixed a lot of bugs and improvements with Tokens.
- Fixed a problem where Planechase 2012 cards where not put inside the right folder of Magic Album.
- Removed some special character that prevented cards from being recognized by their respective program. (ö, é)
- Fixed some database problem with flip and side cards

https://dl.dropbox.com/u/88362140/MTG%20Renamer%20%26%20Downloader%20v1.2.zip 3.1 MB
https://dl.dropbox.com/u/88362140/MTG%20Renamer%20%26%20Downloader%20v1.2.rar 1.5 MB

See First Post for Alternate Links
Nigol
 
Posts: 21
Joined: 11 Jan 2012, 19:04
Has thanked: 3 times
Been thanked: 7 times


Return to Utilities

Who is online

Users browsing this forum: No registered users and 10 guests


Who is online

In total there are 10 users online :: 0 registered, 0 hidden and 10 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 10 guests

Login Form