Page 2 of 4

Re: DotP 2013 WAD File Editor

PostPosted: 05 Aug 2012, 15:05
by thefiremind
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>
and when the game processes this, it crashes. Why it happens even when you use original decks, I don't know exactly, but I could guess that the faulty XML structure isn't on a card, but on something else (on the deck list, on a header, etc...).

Re: DotP 2013 WAD File Editor

PostPosted: 06 Aug 2012, 17:50
by Kevashim
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

PostPosted: 21 Aug 2012, 13:57
by RiiakShiNal
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.

Re: DotP 2013 WAD File Editor

PostPosted: 23 Aug 2012, 15:04
by fryinhades
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.

Re: DotP 2013 WAD File Editor

PostPosted: 23 Aug 2012, 15:10
by Emashzed
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)

Re: DotP 2013 WAD File Editor

PostPosted: 23 Aug 2012, 15:29
by fryinhades
PM'ed you with some info Emashzed.

Thanks for your help.

Re: DotP 2013 WAD File Editor

PostPosted: 23 Aug 2012, 17:18
by fryinhades
Sent to the file via media fire. Should be in your inbox. Let me know if you don't get it

Re: DotP 2013 WAD File Editor

PostPosted: 23 Aug 2012, 18:35
by Emashzed
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.

Re: DotP 2013 WAD File Editor

PostPosted: 23 Aug 2012, 20:15
by fryinhades
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

Re: DotP 2013 WAD File Editor

PostPosted: 23 Aug 2012, 20:24
by Emashzed
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 ;)

Re: DotP 2013 WAD File Editor

PostPosted: 23 Aug 2012, 20:47
by fryinhades
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?

Re: DotP 2013 WAD File Editor

PostPosted: 23 Aug 2012, 20:50
by Emashzed
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.

Re: DotP 2013 WAD File Editor

PostPosted: 23 Aug 2012, 20:59
by fryinhades
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?

Re: DotP 2013 WAD File Editor

PostPosted: 23 Aug 2012, 21:03
by Emashzed
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 :

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

PostPosted: 23 Aug 2012, 21:22
by fryinhades
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.