It is currently 18 Apr 2024, 23:03
   
Text Size

DotP 2013 WAD File Editor

Moderator: CCGHQ Admins

Re: DotP 2013 WAD File Editor

Postby 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>
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...).
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 721 times

Re: DotP 2013 WAD File Editor

Postby 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.
Kevashim
 
Posts: 5
Joined: 05 Aug 2012, 13:14
Has thanked: 1 time
Been thanked: 1 time

Re: DotP 2013 WAD File Editor

Postby 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.
RiiakShiNal
Programmer
 
Posts: 2185
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 496 times

Re: DotP 2013 WAD File Editor

Postby 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.
fryinhades
 
Posts: 11
Joined: 23 Aug 2012, 05:01
Has thanked: 0 time
Been thanked: 0 time

Re: DotP 2013 WAD File Editor

Postby 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)
Emashzed
 
Posts: 62
Joined: 02 Feb 2011, 15:19
Has thanked: 15 times
Been thanked: 30 times

Re: DotP 2013 WAD File Editor

Postby fryinhades » 23 Aug 2012, 15:29

PM'ed you with some info Emashzed.

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

Postby 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

Postby 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.
Emashzed
 
Posts: 62
Joined: 02 Feb 2011, 15:19
Has thanked: 15 times
Been thanked: 30 times

Re: DotP 2013 WAD File Editor

Postby 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
fryinhades
 
Posts: 11
Joined: 23 Aug 2012, 05:01
Has thanked: 0 time
Been thanked: 0 time

Re: DotP 2013 WAD File Editor

Postby 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 ;)
Emashzed
 
Posts: 62
Joined: 02 Feb 2011, 15:19
Has thanked: 15 times
Been thanked: 30 times

Re: DotP 2013 WAD File Editor

Postby 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

Postby 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.
Emashzed
 
Posts: 62
Joined: 02 Feb 2011, 15:19
Has thanked: 15 times
Been thanked: 30 times

Re: DotP 2013 WAD File Editor

Postby 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?
fryinhades
 
Posts: 11
Joined: 23 Aug 2012, 05:01
Has thanked: 0 time
Been thanked: 0 time

Re: DotP 2013 WAD File Editor

Postby 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 :

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" />
....
Emashzed
 
Posts: 62
Joined: 02 Feb 2011, 15:19
Has thanked: 15 times
Been thanked: 30 times

Re: DotP 2013 WAD File Editor

Postby 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

PreviousNext

Return to Utilities

Who is online

Users browsing this forum: No registered users and 17 guests


Who is online

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

Login Form