Board index Programs with AI or Rules Enforcement Magic: The Gathering - Duels of the Planeswalkers Utilities
DOTP 2012 Card XML Generator
Moderator: CCGHQ Admins
DOTP 2012 Card XML Generator
by kevlahnota » 02 Jul 2011, 05:39
Hi, Version 2 of DOTP 2012 Card XML Generator is here .
Screenshot:
Limitations:
This program will not create the function for the card abilities ( It will only generate basic card XML codes based on the parsed data, you need to create the function for actual card abilities and others. )
The ArtID and Multiverse ID is based on the Database ID.
Some cards in the database are missing their corresponding abilities.
Also, before generating an XML text, make sure to select the corresponding frame for the card or it will be null value.
Notes: The card ability text box parses strings by line.
DOWNLOAD LINK FIXED (X86-X64 CPU): http://www.mediafire.com/?6ug8rdrsbzq1e53
Screenshot:
Limitations:
This program will not create the function for the card abilities ( It will only generate basic card XML codes based on the parsed data, you need to create the function for actual card abilities and others. )
The ArtID and Multiverse ID is based on the Database ID.
Some cards in the database are missing their corresponding abilities.
Also, before generating an XML text, make sure to select the corresponding frame for the card or it will be null value.
Notes: The card ability text box parses strings by line.
DOWNLOAD LINK FIXED (X86-X64 CPU): http://www.mediafire.com/?6ug8rdrsbzq1e53
Last edited by kevlahnota on 14 Jul 2011, 07:34, edited 3 times in total.
-
kevlahnota - Programmer
- Posts: 825
- Joined: 19 Jul 2010, 17:45
- Location: Philippines
- Has thanked: 14 times
- Been thanked: 264 times
Re: DOTP 2012 Card XML Maker
by Lantainu » 02 Jul 2011, 18:59
If u finish this it will be great...
Looks amazing
Looks amazing
- Lantainu
- Posts: 11
- Joined: 24 Jan 2010, 20:26
- Has thanked: 0 time
- Been thanked: 0 time
Re: DOTP 2012 Card XML Maker
by kevlahnota » 02 Jul 2011, 23:30
Thanks, the update is in the works. Its a lot bigger (the file size ) because it includes an mtg card database that came from here ( Master.mwBase converted into access DB ). The original design is a bit confusing so I reworked all the design.
-
kevlahnota - Programmer
- Posts: 825
- Joined: 19 Jul 2010, 17:45
- Location: Philippines
- Has thanked: 14 times
- Been thanked: 264 times
Re: DOTP 2012 Card XML Maker
by kevlahnota » 03 Jul 2011, 00:31
Here's a preview for the XML Generator V2, I think this is more user friendly
-
kevlahnota - Programmer
- Posts: 825
- Joined: 19 Jul 2010, 17:45
- Location: Philippines
- Has thanked: 14 times
- Been thanked: 264 times
Re: DOTP 2012 Card XML Maker
by Huggybaby » 03 Jul 2011, 02:43
Good work! BTW, you can get a masterbase in txt or xml format here: viewtopic.php?f=27&t=1347
-
Huggybaby - Administrator
- Posts: 3207
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 702 times
- Been thanked: 595 times
Re: DOTP 2012 Card XML Generator
by kevlahnota » 04 Jul 2011, 15:11
thanks huggy, i'll try to learn parsing xml, but for now, here's an updated version of DOTP 2012 Card XML Generator (Download link at the first post).
Please report bugs...
Please report bugs...
-
kevlahnota - Programmer
- Posts: 825
- Joined: 19 Jul 2010, 17:45
- Location: Philippines
- Has thanked: 14 times
- Been thanked: 264 times
Re: DOTP 2012 Card XML Generator
by vegetarey » 04 Jul 2011, 17:34
Hi, this works on DOTP? or just for DOTP 2012?
Other thing, when i choose a card, generate the XML and save it, and thats it? i dont need to add nothig to the text?
Thanks in advance and sorry for my bad english.
Other thing, when i choose a card, generate the XML and save it, and thats it? i dont need to add nothig to the text?
Thanks in advance and sorry for my bad english.
-
vegetarey - Posts: 6
- Joined: 26 Oct 2010, 23:41
- Has thanked: 0 time
- Been thanked: 0 time
Re: DOTP 2012 Card XML Generator
by kevlahnota » 05 Jul 2011, 11:29
I made it for DOTP 2012 only. The generated XML doesn't have functions for its abilities, you are the one who will code it. But it saves time rather than typing the whole XML file. My first card using the XML generator is this ( it's working properly and custom textures works when you hex edit it ):
vegetarey wrote:Hi, this works on DOTP? or just for DOTP 2012?
Other thing, when i choose a card, generate the XML and save it, and thats it? i dont need to add nothig to the text?
Thanks in advance and sorry for my bad english.
-
kevlahnota - Programmer
- Posts: 825
- Joined: 19 Jul 2010, 17:45
- Location: Philippines
- Has thanked: 14 times
- Been thanked: 264 times
Re: DOTP 2012 Card XML Generator
by IceManOnline » 05 Jul 2011, 12:41
Do you have a guide for the custom-texture-hex editing?
I need some for some of my cards but don't know where to begin.
I need some for some of my cards but don't know where to begin.
- IceManOnline
- Posts: 80
- Joined: 12 Dec 2010, 19:00
- Has thanked: 0 time
- Been thanked: 0 time
Re: DOTP 2012 Card XML Generator
by Lantainu » 05 Jul 2011, 13:07
+1IceManOnline wrote:Do you have a guide for the custom-texture-hex editing?
I need some for some of my cards but don't know where to begin.
If Kev makes instuctions i'll build some decks myself
- Lantainu
- Posts: 11
- Joined: 24 Jan 2010, 20:26
- Has thanked: 0 time
- Been thanked: 0 time
Re: DOTP 2012 Card XML Generator
by r3aper » 05 Jul 2011, 15:37
Good job, Kev I haven't created any card yet, but when I do I'll use your app for sure
- r3aper
- Posts: 12
- Joined: 27 Jun 2011, 22:44
- Has thanked: 0 time
- Been thanked: 0 time
Re: DOTP 2012 Card XML Generator
by IceManOnline » 05 Jul 2011, 17:48
Do I need anything else?
I get and "Microsoft.ACE.OLEDB.12.0" on start. App works (search not, same error) but in my case not working as intended ^^
I get and "Microsoft.ACE.OLEDB.12.0" on start. App works (search not, same error) but in my case not working as intended ^^
- IceManOnline
- Posts: 80
- Joined: 12 Dec 2010, 19:00
- Has thanked: 0 time
- Been thanked: 0 time
20 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 1 guest