Board index
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
New MTG Cards and Decks (2010, 2012, 2013, 2014, 2015, Magic Duels)
2015




Information pending...
Moderator: CCGHQ Admins
Re: Information pending...
by GrovyleXShinyCelebi » 01 Jun 2015, 20:07
Huh, this is the WAD I used, it has all (well, most) of the cards the AI uses, bringing the total to about 863:thefiremind wrote:The fact is, if I try to repack DATA_022 (the last official deck pack) as a WAD, then put it in place of the original DATA_022.ZED, I can't see its cards in game anymore. So what am I doing wrong?merdok wrote:Just edit a file in the CardPools directory like D15_INNISTRAD_PLAYER_POOL.xml. Add your card in that file with an unique ID, then pack as WAD and remember that the file name should be like DATA_0xx.WAD. That's all.
Are the .METADATA folder contents important? WADs have their own header, so I guess not...
http://www2.zippyshare.com/v/xLk8vqga/file.html
By the way, something I've noticed with the deck editor is that if you add lands that have subtypes like "Swamp", "Mountain", etc., such as Tropical Island or Blood Crypt, that when you add actual basic lands (Mountains, Swamps, etc.) the deck editor bugs out, and "adds" some quantity of the non-basic lands with no way to remove them... The guildgates aren't actually Swamp Forest, Island Mountain, etc., but Gates, so they worked.
(in Duels 2014)
Duels 2012: viewtopic.php?f=109&t=12152
Duels 2013: viewtopic.php?f=109&t=12481&p=137458#p137458
Duels 2012: viewtopic.php?f=109&t=12152
Duels 2013: viewtopic.php?f=109&t=12481&p=137458#p137458
-
GrovyleXShinyCelebi - Posts: 294
- Joined: 12 Jun 2013, 18:23
- Has thanked: 14 times
- Been thanked: 37 times
Re: Information pending...
by thefiremind » 01 Jun 2015, 20:22
Thanks, your WAD works for me, too. I see that you are overriding an existing card pool... maybe I'm not allowed to create a new one, because that's what I was doing. I'll do some more tests.
EDIT: I managed to make my WAD work. I noticed that the new headers have an additional <header>...</header> XML node around <WAD_HEADER>...</WAD_HEADER>, that probably was what I was missing. I have another problem, though: my own TDX files don't work! Maybe some of you remember that we couldn't make our TDX files work when we were using the Content folder with the 3DM modification (only sumomole managed to do it), I think it's the same problem. But I can't understand what's causing it.
EDIT 2: It's not a problem of the TDX file itself: if I copy a TDX from DATA_022 to my WAD and rename it so that it's considered a different image for my own card, it doesn't get read either. It seems as if my Art_Assets\Illustrations folder is being ignored.
EDIT: I managed to make my WAD work. I noticed that the new headers have an additional <header>...</header> XML node around <WAD_HEADER>...</WAD_HEADER>, that probably was what I was missing. I have another problem, though: my own TDX files don't work! Maybe some of you remember that we couldn't make our TDX files work when we were using the Content folder with the 3DM modification (only sumomole managed to do it), I think it's the same problem. But I can't understand what's causing it.
EDIT 2: It's not a problem of the TDX file itself: if I copy a TDX from DATA_022 to my WAD and rename it so that it's considered a different image for my own card, it doesn't get read either. It seems as if my Art_Assets\Illustrations folder is being ignored.
< 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: 722 times
Re: Information pending...
by Tejahn » 01 Jun 2015, 21:11
I managed to change .TDX and text a very long time ago. It worked for me back then. Perhaps something was changed. I'll be home shortly so I can run some test.
The link for the changes I made are here: viewtopic.php?f=62&t=14214&start=150#p156618
Edit: I just re-read your post. I used the replacement method. Adding your own is different.
Edit: Can you post your .WAD when you have a fully working version? I'd rather add than replace.
The link for the changes I made are here: viewtopic.php?f=62&t=14214&start=150#p156618
Edit: I just re-read your post. I used the replacement method. Adding your own is different.
Edit: Can you post your .WAD when you have a fully working version? I'd rather add than replace.
Re: Information pending...
by thefiremind » 01 Jun 2015, 21:50
I can do that immediately, but the card image still doesn't work.Tejahn wrote:Edit: Can you post your .WAD when you have a fully working version? I'd rather add than replace.
- Attachments
-
DATA_030.zip
- Test WAD for DotP2015 with just 1 card and broken picture
- (117.36 KiB) Downloaded 419 times
< 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: 722 times
Re: Information pending...
by sweetLu » 01 Jun 2015, 22:13
I'm very intrigued to find out what the first card thefiremind made for 2015 but alas I'm at work and only browsing on my phone.
Re: Information pending...
by Tejahn » 02 Jun 2015, 01:55
- D15_INNISTRAD_REWARDS - Added Wakestone Gargoyle
@thefiremind: I didn't get a chance to test until a short while ago and I got your card to display the art in game but not in the card pool. I'm not sure how GrovyleXShinyCelebi managed to do it because I didn't even see an art folder in his WAD. The only thing I can surmise is that his WAD is named DATA_050 (which doesn't exist in the directory) and your WAD is called DATA_030 (which already exists as a ZED in the directory). I'm not sure if he used a replacement method. This was a quick test so I may be far off the mark.
EDIT: TFM, when I first tried adding your card to my library it would be static and take the art work from other cards not in my deck. But once I added it to GrovyleXShinyCelebi's cardpool it at least went into my deck as a static image yet displayed correctly in my hand and on the battlefeld. Perhaps the ID Number (361) has something to do with why it won't display properly in the cardpool. Maybe that number is already being used.
Re: Information pending...
by thefiremind » 02 Jun 2015, 08:36
What's DATA_030.ZED? I only have 000 (main), 010 (Garruk's expansion), 020, 021, 022 (card packs).Tejahn wrote:your WAD is called DATA_030 (which already exists as a ZED in the directory).
I chose 361 because the last ID in DATA_022 was 360. If you tell me that there's a DATA_030.ZED I guess there are more cards, but I don't have that file.Tejahn wrote:Perhaps the ID Number (361) has something to do with why it won't display properly in the cardpool. Maybe that number is already being used.
EDIT: Using higher IDs doesn't solve the problem.
He just added the cards that were available only to the AI, so his art is in the ZED files already.Tejahn wrote:I'm not sure how GrovyleXShinyCelebi managed to do it because I didn't even see an art folder in his WAD.
EDIT 2: I just tried to repack DATA_022.ZED into a WAD and... I can see the cards, but not the pictures! It's as if the WAD files had to have the illustrations in a different folder this time, but it doesn't make any sense. And I was forgetting that they can be seen during the duel... why doesn't the card collection load them?
< 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: 722 times
Re: Information pending...
by RiiakShiNal » 02 Jun 2015, 10:44
In my directory (using the Steam version) I see 000, 010, 020, 021, 022, 030, 031, 032, 040, and 041. Haven't had a chance to play around with anything yet though.
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: 2188
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: Information pending...
by thefiremind » 02 Jun 2015, 10:59
Now I have them, too. I got the latest update from 3DM some time ago but forgot to apply it until now.RiiakShiNal wrote:In my directory (using the Steam version) I see 000, 010, 020, 021, 022, 030, 031, 032, 040, and 041. Haven't had a chance to play around with anything yet though.

Of course the problem with my own illustrations persists.
< 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: 722 times
Re: Information pending...
by Tejahn » 02 Jun 2015, 11:45
Here is my directory. I have Garruk's Revenge. There are currently 14 ZED files.
AUDIO_000.ZED
AUDIO_010.ZED
DATA_000.ZED
DATA_010.ZED
DATA_020.ZED
DATA_021.ZED
DATA_022.ZED
DATA_030.ZED
DATA_031.ZED
DATA_032.ZED
DATA_040.ZED
DATA_0410.ZED
MOVIES_000.ZED
MOVIES_010.ZED
EDIT: I saw some ID's as high as 1100 and over.
Re: Information pending...
by GrovyleXShinyCelebi » 02 Jun 2015, 15:12
The highest ID (from the last card pack) is 382; I set Wakestone Gargoyle's ID to be 950, though, and the image still failed to display.
Could the .ZED format be some form of image compression, and the game won't read images that aren't in a proper .ZED file?
Could the .ZED format be some form of image compression, and the game won't read images that aren't in a proper .ZED file?
(in Duels 2014)
Duels 2012: viewtopic.php?f=109&t=12152
Duels 2013: viewtopic.php?f=109&t=12481&p=137458#p137458
Duels 2012: viewtopic.php?f=109&t=12152
Duels 2013: viewtopic.php?f=109&t=12481&p=137458#p137458
-
GrovyleXShinyCelebi - Posts: 294
- Joined: 12 Jun 2013, 18:23
- Has thanked: 14 times
- Been thanked: 37 times
Re: Information pending...
by thefiremind » 02 Jun 2015, 15:27
Actually, it reads the image during the duel, but not anywhere else, that's the most puzzling thing.GrovyleXShinyCelebi wrote:Could the .ZED format be some form of image compression, and the game won't read images that aren't in a proper .ZED file?
< 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: 722 times
Re: Information pending...
by Tejahn » 02 Jun 2015, 16:38
That was my conclusion for the cardpools. But the images do show in game as mentioned.GrovyleXShinyCelebi wrote:Could the .ZED format be some form of image compression, and the game won't read images that aren't in a proper .ZED file?
Re: Information pending...
by GrovyleXShinyCelebi » 02 Jun 2015, 17:54
So I did some testing and had a radical plan to put Wakestone Gargoyle in DATA_000's directory and repackage it into a WAD, replacing the original DATA_000 in order to see if the issue is a file in DATA_000 that we forgot to copy over into the other WAD or something more serious.
With DATA_000.WAD, everything worked fine in-game. The issue was the deck builder, where all the cards were messed up and invisible:


Everything was still in DATA_000, it's just it's in WAD and not ZED format. When I put DATA_000.ZED back the cards were back to normal.
It might be that the deck builder's engine has trouble reading card images from sources outside of ZED format. Granted, when Wakestone Gargoyle is put in its own separate WAD only the image fails to show up- the frame is still there. It could be the same issue.
Any thoughts?
With DATA_000.WAD, everything worked fine in-game. The issue was the deck builder, where all the cards were messed up and invisible:


Everything was still in DATA_000, it's just it's in WAD and not ZED format. When I put DATA_000.ZED back the cards were back to normal.
It might be that the deck builder's engine has trouble reading card images from sources outside of ZED format. Granted, when Wakestone Gargoyle is put in its own separate WAD only the image fails to show up- the frame is still there. It could be the same issue.
Any thoughts?
(in Duels 2014)
Duels 2012: viewtopic.php?f=109&t=12152
Duels 2013: viewtopic.php?f=109&t=12481&p=137458#p137458
Duels 2012: viewtopic.php?f=109&t=12152
Duels 2013: viewtopic.php?f=109&t=12481&p=137458#p137458
-
GrovyleXShinyCelebi - Posts: 294
- Joined: 12 Jun 2013, 18:23
- Has thanked: 14 times
- Been thanked: 37 times
Re: Information pending...
by spirolone » 02 Jun 2015, 19:59
Good job!!!merdok wrote:As promised: http://www.slightlymagic.net/forum/viewtopic.php?f=99&t=17258
Enjoy and happy modding

Maybe, actually, Zed files managing is less important, but I found a bug in my code and I corrected it. It didn't extract correctly uncompressed files: there are few ones in Data archive, but a lot in Movies and Audio zed files. I also added possibility of specifying target file name as argoment (thanks to thefiremind!).
- Attachments
-
ZedToZip.zip
- (6.51 KiB) Downloaded 322 times
Last edited by spirolone on 03 Jun 2015, 04:53, edited 1 time in total.
- spirolone
- Programmer
- Posts: 190
- Joined: 31 Aug 2014, 23:14
- Has thanked: 7 times
- Been thanked: 107 times
Who is online
Users browsing this forum: No registered users and 1 guest