Board index Programs with AI or Rules Enforcement Magic: The Gathering - Duels of the Planeswalkers Utilities
DotP 2013 WAD File Editor
Moderator: CCGHQ Admins
Re: DotP 2013 WAD File Editor
by thefiremind » 05 Aug 2012, 15:05
A crash just before the duel is almost always due to an error in the XML structure. For example, when I make a careless and hasty copy-and-paste of an ability onto another one, things like this can happen:
- Code: Select all
<STATIC_ABILITY>
...
</TRIGGERED_ABILITY>
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 721 times
Re: DotP 2013 WAD File Editor
by Kevashim » 06 Aug 2012, 17:50
Problem resolved, it was caused by my naivety in assuming that DotP:2012 cards would be compatible with DotP:2013. Oddly enough, the game could be made to run and actually play games by removing the SpecialEffects and Sounds folders from the wads manually before compiling them. The game would play, however none of the 2012 card effects/abilities would work due to changes in the ways targeting etc. are written in 2013.
Re: DotP 2013 WAD File Editor
by RiiakShiNal » 21 Aug 2012, 13:57
Bug Report: The tool crashes when it encounters a card without an underscore ("_") in the file name. I discovered this when I got a PM about an incompatibility between a WAD tool and my mod, then through trial and error found that the problem was caused by my card Resurrection though when I added an underscore to the end of the file (making it "RESURRECTION_.XML") the program stopped crashing.
Before anyone says that I should not have a card without an underscore in the name and that it should have an underscore followed by the multiverse id, it should be noted that the reason this card doesn't is because the graphic used for the card came from DotP 2010 and there is no version of Resurrection on Gatherer that has this picture hence no multiverse id. Also DotP 2013 has no problems with the card without the underscore in the filename.
Before anyone says that I should not have a card without an underscore in the name and that it should have an underscore followed by the multiverse id, it should be noted that the reason this card doesn't is because the graphic used for the card came from DotP 2010 and there is no version of Resurrection on Gatherer that has this picture hence no multiverse id. Also DotP 2013 has no problems with the card without the underscore in the filename.
Just getting started: Xander9009's DotP 2014 Community Wad
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
- RiiakShiNal
- Programmer
- Posts: 2185
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: DotP 2013 WAD File Editor
by fryinhades » 23 Aug 2012, 15:04
First time on the site and first time trying to use an editor to create the custom deck using a pre-existing WAD. The question i have is that i am using the WADEdit software, pack the WAD i created using the pack feature, transfer it to the correct directory. but when i start the game the deck doesn't show up. Any suggestions for the newbie?
EDIT: I am using this software to create decks for the IPAD.
EDIT: I am using this software to create decks for the IPAD.
- fryinhades
- Posts: 11
- Joined: 23 Aug 2012, 05:01
- Has thanked: 0 time
- Been thanked: 0 time
Re: DotP 2013 WAD File Editor
by Emashzed » 23 Aug 2012, 15:10
If you send me the wad, I can have a look. I have good experience with iPad WADs...
(many, many things could cause the deck not to show up)
(many, many things could cause the deck not to show up)
Re: DotP 2013 WAD File Editor
by fryinhades » 23 Aug 2012, 15:29
PM'ed you with some info Emashzed.
Thanks for your help.
Thanks for your help.
- fryinhades
- Posts: 11
- Joined: 23 Aug 2012, 05:01
- Has thanked: 0 time
- Been thanked: 0 time
Re: DotP 2013 WAD File Editor
by fryinhades » 23 Aug 2012, 17:18
Sent to the file via media fire. Should be in your inbox. Let me know if you don't get it
- fryinhades
- Posts: 11
- Joined: 23 Aug 2012, 05:01
- Has thanked: 0 time
- Been thanked: 0 time
Re: DotP 2013 WAD File Editor
by Emashzed » 23 Aug 2012, 18:35
fryinhades:
I had a quick look at your wad.
I see you've used spaces in filenames a bit everywhere. That's not something we usually do (we use underscores instead).
I'm not 100% certain that would be the cause for the problem, but it's very worth trying.
Also, I noticed you painstakely duplicated every core card/file you need for your deck.
You never need to do that. You don't need to duplicate any file from the original game into your WAD.
I had a quick look at your wad.
I see you've used spaces in filenames a bit everywhere. That's not something we usually do (we use underscores instead).
I'm not 100% certain that would be the cause for the problem, but it's very worth trying.
Also, I noticed you painstakely duplicated every core card/file you need for your deck.
You never need to do that. You don't need to duplicate any file from the original game into your WAD.
Re: DotP 2013 WAD File Editor
by fryinhades » 23 Aug 2012, 20:15
The only spaces i found in the deck was the name that i called it Krenko Test. I named the deck Krenko_TEST and it still causes the same problem. Could you maybe give me a little more insight where the spaces were if it was anything else? I have included another WAD for you to check out.
Also, i know duplicating one of the core decks is really redundant, but i wanted to make sure that if i can pack a core deck and make it work correctly, then pack a core deck with changes or adding some of the unlock cards to it fine, then i know i am on my way to a better setup. I would also know that if i introduce errors it isn't during the compression part.
Here's the link for the new file: http:\\www mediafire com\download php?w612y2m92y4rh90
Also, i know duplicating one of the core decks is really redundant, but i wanted to make sure that if i can pack a core deck and make it work correctly, then pack a core deck with changes or adding some of the unlock cards to it fine, then i know i am on my way to a better setup. I would also know that if i introduce errors it isn't during the compression part.
Here's the link for the new file: http:\\www mediafire com\download php?w612y2m92y4rh90
- fryinhades
- Posts: 11
- Joined: 23 Aug 2012, 05:01
- Has thanked: 0 time
- Been thanked: 0 time
Re: DotP 2013 WAD File Editor
by Emashzed » 23 Aug 2012, 20:24
Heh, found the issue :p Silly one really, happened to me several times before ^_^
IPad is rather picky about the filenames, the extension should be uppercase "WAD", not "wad".
I took you latest WAD, renamed it to DECK_4444_ST.WAD and the deck pops up
IPad is rather picky about the filenames, the extension should be uppercase "WAD", not "wad".
I took you latest WAD, renamed it to DECK_4444_ST.WAD and the deck pops up
Re: DotP 2013 WAD File Editor
by fryinhades » 23 Aug 2012, 20:47
shoot me... i hate stupidity. I have noticed that these decks cannot be saved after you restart Magic... is that true? or will it allow me to edit the deck? In other words, the current deck i have there should be 100 or so cards. if i edit it in the deck manager, will it allow me to use the modified deck the next time i play?
- fryinhades
- Posts: 11
- Joined: 23 Aug 2012, 05:01
- Has thanked: 0 time
- Been thanked: 0 time
Re: DotP 2013 WAD File Editor
by Emashzed » 23 Aug 2012, 20:50
nope, for some reason, custom decks aren't saved (doesn't work on pc nor ipad).
everyone really hates that too...
that's why I don't include unlocks in my decks. too much of a hassle to recustomize each time the game is started.
everyone really hates that too...
that's why I don't include unlocks in my decks. too much of a hassle to recustomize each time the game is started.
Re: DotP 2013 WAD File Editor
by fryinhades » 23 Aug 2012, 20:59
One other thing, i didn't see any mana included in the deck. Should the deck automagically have land or is that something you have to calculate as well? From all the other XMLs i've seen, they have one of each of the 5 land in the base deck, and another xml with just land and how much of each.
am i missing something here?
am i missing something here?
- fryinhades
- Posts: 11
- Joined: 23 Aug 2012, 05:01
- Has thanked: 0 time
- Been thanked: 0 time
Re: DotP 2013 WAD File Editor
by Emashzed » 23 Aug 2012, 21:03
The game determines "alone" the land to include automatically, according to the color of the cards in the deck and the respective proportions for each color.
That can be tuned more finely though :
That can be tuned more finely though :
- Code: Select all
<DECK personality="D13_TERRA_STOMPER.XML" deck_box_image="D13_MOB" deck_box_image_locked="locked" content_pack="0" uid="908" preview_card="blanko" always_available="true" is_white="true" is_green="true">
<DECKSTATISTICS Size="6" Speed="8" Flex="4" Syn="6" />
<LandConfig minForest="13" minPlains="3" numSpellsThatCountAsLand="8" />
....
Re: DotP 2013 WAD File Editor
by fryinhades » 23 Aug 2012, 21:22
But that's what i am saying, It didn't add any land into the deck i installed. I will do a landconfig for it, but it seemed weird that mine came out with no land.
- fryinhades
- Posts: 11
- Joined: 23 Aug 2012, 05:01
- Has thanked: 0 time
- Been thanked: 0 time
58 posts
• Page 2 of 4 • 1, 2, 3, 4
Who is online
Users browsing this forum: No registered users and 6 guests