Card ID Changer
Continuing Development of MicroProse's Magic: The Gathering!
Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins
Re: Card ID Changer
by Dave » 11 Jan 2012, 12:13
Omg, 1115 decks to convert ? you have been busy making decks
And Playdeck83 ? You also have been busy converting decks
Would you please post your problem-decks, then i can determine why they don't convert.
in the mean time, if i may make a guess:
your Avatars dont start with '** ' like AVATAR - Serra Angel should be ** AVATAR - Serra Angel
Knights of the Rainbow Vale doesn't exist: i think it is Rainbow Knights now.
Volrath Stronghold should be Volrath's Stronghold(maybe it has special char also).
Some cards have special char in csv: Nekrataal,Goblin Bushwacker (watch for the 'i'),Jotun Grunt
That leaves Kongming, "Sleeping Dragon", but i guess the " is the problem.
I try to fix that tonight, but you could do that one manually for now
And Playdeck83 ? You also have been busy converting decks

Would you please post your problem-decks, then i can determine why they don't convert.
in the mean time, if i may make a guess:
your Avatars dont start with '** ' like AVATAR - Serra Angel should be ** AVATAR - Serra Angel
Knights of the Rainbow Vale doesn't exist: i think it is Rainbow Knights now.
Volrath Stronghold should be Volrath's Stronghold(maybe it has special char also).
Some cards have special char in csv: Nekrataal,Goblin Bushwacker (watch for the 'i'),Jotun Grunt
That leaves Kongming, "Sleeping Dragon", but i guess the " is the problem.
I try to fix that tonight, but you could do that one manually for now

Re: Card ID Changer
by stassy » 11 Jan 2012, 16:26
Well, in fact those are all the decks created or downloaded since the new forums at slightlymagic (unfortunately many decks were lost after the the closure of the previous forums) and if you look at the current forums there are lot of decks available (I created maybe only twenty of them as I am a noob at card synergy). There are even some people who shared their 300+ decks...
Also I try not to revert to backup deck, 1k+ decks is only 200Kb so you never know when you need a backup
I will finish the last cards renaming with my own macro but I posted the last log file just in case you want to perfect your card id changer, because my decks are only using popular cards, there are lot of cards from old expansions waiting for conversion that I missed (especially those from Golden Years)
Also I try not to revert to backup deck, 1k+ decks is only 200Kb so you never know when you need a backup

I will finish the last cards renaming with my own macro but I posted the last log file just in case you want to perfect your card id changer, because my decks are only using popular cards, there are lot of cards from old expansions waiting for conversion that I missed (especially those from Golden Years)
- stassy
- Moderator
- Posts: 5274
- Joined: 25 Feb 2009, 07:06
- Has thanked: 471 times
- Been thanked: 337 times
Re: Card ID Changer
by Dave » 11 Jan 2012, 19:22
Fixed problem with Kongming and made rebuild faster by loading csv at startup instead of each time you rebuild.
No more message when cardname is replaced.
@Stassy: Would you please make a post with those 1115 decks ? Would be nice to have
No more message when cardname is replaced.
@Stassy: Would you please make a post with those 1115 decks ? Would be nice to have
Re: Card ID Changer
by stassy » 11 Jan 2012, 20:08
Thanks for the Kongming update, currently sorting all my decks and it's more painful that renaming cards...
- stassy
- Moderator
- Posts: 5274
- Joined: 25 Feb 2009, 07:06
- Has thanked: 471 times
- Been thanked: 337 times
Re: Card ID Changer
by Dave » 11 Jan 2012, 21:53
@ RanDomino : you can just download the executable(Id-changer.zip) and place it in your Magic - rootfolder and run.
Manalinkrebuilder.rar is for people who want to look in/use the code for themselfs. Or learn how to load manalink.csv in a data-table in visual studio....
Manalinkrebuilder.rar is for people who want to look in/use the code for themselfs. Or learn how to load manalink.csv in a data-table in visual studio....
Re: Card ID Changer
by stassy » 12 Jan 2012, 12:19
Well, I tried but utterly failed to optimize and order my final playdeck folder so here you go, mega unsorted 1270 decks since 1996 and still missing some decks (notably the last pages of decks topic in this forums).
Some notes about the playdeck :
- Most of them are 1.32 decks
- Couldn't include the overhaul monster decks (60 cards decks)from Shandalar, will post them in the deck forum
- Some notables deck series (jatill's challenge as j*.deck, T1 T2 0-*.dck series, most tournament decks, Salbei and Monop deck packs, mine are mostly labeled as NL*/NLV2/ which are attempt to make Inny-Standard classic combo)
- Some special decks are missing (Planechase, Archenemy, Golden Years...)because I don't know how to make them properly :p
Some notes about the ID-Card Changer :
- Manalink.csv file must not be open when you launch it or you will get an access violation error.
- You must not have a folder inside the Playdeck folder or it will be moved to a backup, crash occur if you have a folder open by explorer while launching the changer
- ID-Card Changer will crash if decks are not properly written and unreadable by DeckBuilder and Duel mode.
- ID-Card Changer will crash when trying to convert 1100+ decks at once
Good luck in sorting all these and again thanks Dave for making such awesome tool
Some notes about the playdeck :
- Most of them are 1.32 decks
- Couldn't include the overhaul monster decks (60 cards decks)from Shandalar, will post them in the deck forum
- Some notables deck series (jatill's challenge as j*.deck, T1 T2 0-*.dck series, most tournament decks, Salbei and Monop deck packs, mine are mostly labeled as NL*/NLV2/ which are attempt to make Inny-Standard classic combo)
- Some special decks are missing (Planechase, Archenemy, Golden Years...)because I don't know how to make them properly :p
Some notes about the ID-Card Changer :
- Manalink.csv file must not be open when you launch it or you will get an access violation error.
- You must not have a folder inside the Playdeck folder or it will be moved to a backup, crash occur if you have a folder open by explorer while launching the changer
- ID-Card Changer will crash if decks are not properly written and unreadable by DeckBuilder and Duel mode.
- ID-Card Changer will crash when trying to convert 1100+ decks at once

Good luck in sorting all these and again thanks Dave for making such awesome tool

- Attachments
-
decks beta2k+.zip
- (585.93 KiB) Downloaded 304 times
- stassy
- Moderator
- Posts: 5274
- Joined: 25 Feb 2009, 07:06
- Has thanked: 471 times
- Been thanked: 337 times
Re: Card ID Changer
by Dave » 12 Jan 2012, 22:42
You're welcome. Thank you for sharing your decks and for testing
I'm gonna fix those crashes or, when unable, replace them with decent messages.
Btw:If you use notepad++ , you can keep manalink.csv open.

I'm gonna fix those crashes or, when unable, replace them with decent messages.
Btw:If you use notepad++ , you can keep manalink.csv open.
Re: Card ID Changer
by stassy » 13 Jan 2012, 19:04
Nice, the ID changer no longer crash with 1300+ cards since the last Sonic update, updating decks is really a breeze 

- stassy
- Moderator
- Posts: 5274
- Joined: 25 Feb 2009, 07:06
- Has thanked: 471 times
- Been thanked: 337 times
Re: Card ID Changer
by Aswan jaguar » 13 Jan 2012, 19:07
The updated decks please.
---
Trying to squash some bugs and playtesting.
Trying to squash some bugs and playtesting.
-
Aswan jaguar - Super Tester Elite
- Posts: 8131
- Joined: 13 May 2010, 12:17
- Has thanked: 748 times
- Been thanked: 479 times
Re: Card ID Changer
by stassy » 13 Jan 2012, 19:57
Just to note is that playdeck come from my win7 version which is updated to last Sonic update but not "clean" (forgot to delete all my test deck)
- Attachments
-
PlayDeck.zip
- (605.69 KiB) Downloaded 326 times
- stassy
- Moderator
- Posts: 5274
- Joined: 25 Feb 2009, 07:06
- Has thanked: 471 times
- Been thanked: 337 times
Re: Card ID Changer
by 0rion79 » 14 Jan 2012, 08:05
Hi, I'm trying to run the card ID changer from a fresh installation but there are some problems when I click on a card to update its ID, since the program is unable to automatically fill the New Cardname field.
Maybe, I'm missing some file, since it comes out with the following error message in Italian language (as my Windows 7). Translation is:
Any clue?
Maybe, I'm missing some file, since it comes out with the following error message in Italian language (as my Windows 7). Translation is:
Then there is the list of details:Exception not dealed by application. Click on "continue" to ingore the error and try to go further. Click on "exit" to quit the application. Impossible to find column [ID].
- | Open
- Le informazioni su come richiamare il debug JIT (Just-In-Time) anziché questa finestra
sono riportate in fondo al messaggio.
************** Testo dell'eccezione **************
System.Data.EvaluateException: Impossibile trovare la colonna [ID].
in System.Data.NameNode.Bind(DataTable table, List`1 list)
in System.Data.BinaryNode.Bind(DataTable table, List`1 list)
in System.Data.DataExpression.Bind(DataTable table)
in System.Data.DataExpression..ctor(DataTable table, String expression, Type type)
in System.Data.Select..ctor(DataTable table, String filterExpression, String sort, DataViewRowState recordStates)
in System.Data.DataTable.Select(String filterExpression)
in ManalinkDeckRebuilder.Form1.listBox1_SelectedIndexChanged(Object sender, EventArgs e)
in System.Windows.Forms.ListBox.OnSelectedIndexChanged(EventArgs e)
in System.Windows.Forms.ListBox.WmReflectCommand(Message& m)
in System.Windows.Forms.ListBox.WndProc(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Assembly caricati **************
mscorlib
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
Base di codice: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ID-Changer
Versione assembly: 1.0.0.0
Versione Win32: 1.0.0.0
Base di codice: file:///C:/Magic/Program/ID-Changer.exe
----------------------------------------
System.Windows.Forms
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Data
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
Base di codice: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Transactions
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
Base di codice: file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
Base di codice: file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Configuration
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Data.resources
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Data.resources/2.0.0.0_it_b77a5c561934e089/System.Data.resources.dll
----------------------------------------
System.Windows.Forms.resources
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
mscorlib.resources
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
Base di codice: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
************** Debug JIT **************
Per attivare il debug JIT, è necessario impostare il valore
jitDebugging nella sezione system.windows.forms del file di configurazione
dell'applicazione o del computer (machine.config).
L'applicazione inoltre deve essere compilata con il debug
attivato.
Ad esempio:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
Quando il debug JIT è attivato, tutte le eccezioni non gestite
vengono inviate al debugger JIT registrato nel computer,
anziché essere gestite da questa finestra di dialogo.
Any clue?
-
0rion79 - Posts: 1520
- Joined: 24 Feb 2009, 18:33
- Location: Italy
- Has thanked: 94 times
- Been thanked: 61 times
Re: Card ID Changer
by Dave » 14 Jan 2012, 13:28
When you open Manalink.csv in magic_updater folder, the first line should be ID,Full Name,... or ID;Full Name;...
i'll change the program to automatically rename the first column to "ID", since that will always be the case
i have to look into the errors Stassy reported anyway, but with a hangover that is a bit difficult..
i'll change the program to automatically rename the first column to "ID", since that will always be the case
i have to look into the errors Stassy reported anyway, but with a hangover that is a bit difficult..

Re: Card ID Changer
by 0rion79 » 14 Jan 2012, 13:49
Ok, thank you! I'll really need it. Keep in touch for the next release!
-
0rion79 - Posts: 1520
- Joined: 24 Feb 2009, 18:33
- Location: Italy
- Has thanked: 94 times
- Been thanked: 61 times
Re: Card ID Changer
by stassy » 14 Jan 2012, 20:37
Hum it's strange, some decks are fully visible in the DeckBuilder but when Dueling no card are loaded resulting in duel end, any of you get this (all the legacy_ series for exemple)
- stassy
- Moderator
- Posts: 5274
- Joined: 25 Feb 2009, 07:06
- Has thanked: 471 times
- Been thanked: 337 times
Re: Card ID Changer
by Dave » 14 Jan 2012, 20:57
I just played Legacy_Juzamjedi_Goblins and that went fine
Who is online
Users browsing this forum: No registered users and 12 guests