It is currently 29 Apr 2024, 04:57
   
Text Size

Duels of the Planeswalkers 2013

New decks and cards for Stainless Games' release

Moderator: CCGHQ Admins

Re: Duels of the Planeswalkers 2013

Postby thefiremind » 29 Jul 2012, 21:20

RiiakShiNal wrote:Though we've also found that having too many tokens in play can also crash the game (though crashes may appear randomly later in play and not immediately). More detailed information in this topic: Problem with Rhys the Redeemed (Crashing)
Yes, I know, I have read that. But I wasn't making lots of tokens, the card that gave me that problem was Last Stand.

Returning on the topic about unlocks: your idea doesn't work for me. Even if I make an XML with random promo unlocks, I always get the decrease of 10 in the count.
EDIT: Now I managed to make it work, but I think it still depends on how many unlockable cards I set. I'll test it more.
EDIT 2: Nevermind, the first time I probably made a typo or something and I fixed it by starting with a new XML copy... now, no matter what, your idea works.

EDIT 3: More about the deck manager's main LOL file: I disassembled it and found the function that is responsible for displaying the lands: it's function #18. But from what I can see, it does many other things, so even if we could decompile the LOL file correctly, I doubt we could mod it properly.

EDIT 4: Before someone else tries... granting activated abilities to creatures in graveyards works bad: the ability text doesn't appear, so it can't be activated. I wanted to make Sedris, the Traitor King, but I'll have to give up. :(

EDIT 5: Maybe I was the only one who took so long to understand it, but I finally understood why EffectSource() sometimes returns nil. EffectSource() is like a Card_Ptr to the card that starts the ability. As such, if the card changes zone, it gets deleted. This also explains the functionality of EffectDC():Protect_CardPtr( COMPARTMENT_ID_EFFECT_SOURCE ) that you find in Clone and similar cards: EffectSource() is probably equivalent to EffectDC():Get_CardPtr( COMPARTMENT_ID_EFFECT_SOURCE ).

EDIT 6: Snow mana is an unfinished job (like hybrid mana in DotP2012): if I try to pay snow mana for an ability, the ability activates for free. My plans to make a Coldsnap deck are screwed. :cry:
< 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: Duels of the Planeswalkers 2013

Postby skibulk » 07 Oct 2012, 23:35

Has smoebody extracted the artwork from DotP 2013 yet? We could use them in the HQCG here, as well as the card frames (if they're any different from the frames in DotP 2010).
User avatar
skibulk
HQ Team Member
 
Posts: 995
Joined: 19 Jul 2010, 20:34
Location: Northeast USA
Has thanked: 379 times
Been thanked: 335 times

Re: Duels of the Planeswalkers 2013

Postby thefiremind » 08 Oct 2012, 09:01

That would be the least I could do for the HQCG team... not all card pictures can be found in decent quality by Googling and those are the times when the HQ scans are so useful for DotP modders. I'm uploading a RAR file in 2 parts, for a total of about 231 MB, it will take a while. I'll edit the post with the links when they are ready.

EDIT:
Part 1
Part 2
All DotP2013 card pictures and frames are included, in PNG format.
< 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: Duels of the Planeswalkers 2013

Postby pcastellazzi » 08 Oct 2012, 11:03

sumomole wrote:Is there any way to cancel a delayed Trigger?
I dont think so, but you can control the behaviour of the trigger with a flag. Like:

Code: Select all
<TRIGGERED_ABILITY ... />
<TRIGGER ... >
  return ObjectDC():Get_Int(0) == 1
</TRIGGER>
...
If you give us a more concrete example we may come up with an alternative implementation. It does not seem a DC is the best solution for your problem. May be GrantAbility work better for you since the continous action required to make it work will do the tracking for you.
The lights then came up and the crowd erupted in applause, because that's what the crowd does after it watches destruction on a large screen.
— Ben Kuchera, Mordern Warfare 3 review.
User avatar
pcastellazzi
 
Posts: 184
Joined: 25 Apr 2012, 00:40
Location: Montevideo, Uruguay
Has thanked: 11 times
Been thanked: 30 times

Re: Duels of the Planeswalkers 2013

Postby skibulk » 08 Oct 2012, 11:36

thefiremind wrote:That would be the least I could do for the HQCG team... not all card pictures can be found in decent quality by Googling and those are the times when the HQ scans are so useful for DotP modders. I'm uploading a RAR file in 2 parts, for a total of about 231 MB, it will take a while. I'll edit the post with the links when they are ready.

EDIT:
Part 1
Part 2
All DotP2013 card pictures and frames are included, in PNG format.
Thanks! I've posted a link to your post on the Pictures Forum. It's a shame that the images aren't named like they were in the previous game. Is there a number-to-name map hidden somewhere in the encrypted files?
User avatar
skibulk
HQ Team Member
 
Posts: 995
Joined: 19 Jul 2010, 20:34
Location: Northeast USA
Has thanked: 379 times
Been thanked: 335 times

Re: Duels of the Planeswalkers 2013

Postby thefiremind » 08 Oct 2012, 12:33

skibulk wrote:It's a shame that the images aren't named like they were in the previous game. Is there a number-to-name map hidden somewhere in the encrypted files?
Actually, they have always been named with an "anonymous" ID, since DotP2010 all the way to 2013. Maybe someone already renamed the files when you got them for the previous games, and I'm sorry that I didn't, but it's a huge work (more than 800 images) and I really don't have enough spare time. :(
You can search for cards in the attachment of this post:
viewtopic.php?f=62&t=6784&start=105#p91398
and then open the XML and look at the art ID so you know which one you are looking for (it lacks of the Ravnica DLC cards, though).
< 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: Duels of the Planeswalkers 2013

Postby skibulk » 08 Oct 2012, 23:27

@thefiremind

The frames from this game are significantly lower quality than the previous one :( The Plane frame is good though. On that note, the Plane frame was never implemented in our HQCG, so it could be even higher quality in Dotp 2010... Could you compare?

The link you posted contains 639 card files. The extracted image archive you have provided has 829 (not counting tokens and avatars). So the Ravnica DLC must have added 190 cards? If somebody posts the card xml files for the DLC I will rename everything for us to use. I'd be willing to do the same for future expansion packs.

Secondly, the DotP 2010 package I'm referring to was posted by aurelan. There are 787 Named JPEGs in this archive. Tokens and Planes are not included.

Can somebody share the Tokens, Planes, and expansion pack cards (if not already included in the aforementioned archive) from DotP 2010? The card xml files would enable me to rename and share these too.

Thanks!
User avatar
skibulk
HQ Team Member
 
Posts: 995
Joined: 19 Jul 2010, 20:34
Location: Northeast USA
Has thanked: 379 times
Been thanked: 335 times

Re: Duels of the Planeswalkers 2013

Postby RiiakShiNal » 09 Oct 2012, 00:30

I'm uploading the card xmls and images from the last two expansions to DotP 2010 now (Expansion 1 didn't add any it only used what was already in the game). DotP 2010 didn't have any planes (not supported by the engine) and it will take a little bit of time to pull all the tokens and images for them (as they need to be pulled one at a time) so I will upload them later.
RiiakShiNal
Programmer
 
Posts: 2185
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Duels of the Planeswalkers 2013

Postby skibulk » 09 Oct 2012, 00:41

RiiakShiNal wrote:I'm uploading the card xmls and images from the last two expansions to DotP 2010 now (Expansion 1 didn't add any it only used what was already in the game). DotP 2010 didn't have any planes (not supported by the engine) and it will take a little bit of time to pull all the tokens and images for them (as they need to be pulled one at a time) so I will upload them later.
You can just upload everything if you want and I'll wade through it.

An easy way to pull the tokens on a PC is set the explorer view to detail, add dimensions to the columns and sort by the image dimensions. At least for DotP 2013 the tokens had different dimensions.
User avatar
skibulk
HQ Team Member
 
Posts: 995
Joined: 19 Jul 2010, 20:34
Location: Northeast USA
Has thanked: 379 times
Been thanked: 335 times

Re: Duels of the Planeswalkers 2013

Postby RiiakShiNal » 09 Oct 2012, 00:56

skibulk wrote:You can just upload everything if you want and I'll wade through it.
I've already pulled out the core tokens (except for SPIDER12R_TOKEN as it references a picture that does not exist).
skibulk wrote:An easy way to pull the tokens on a PC is set the explorer view to detail, add dimensions to the columns and sort by the image dimensions. At least for DotP 2013 the tokens had different dimensions.
That's not true for DotP 2010 as they used a standard size and filled the excess with black pixels.

Ah... considering what you said you probably want the pictures converted from TDX to png (I forgot about that since I'm used to always needing to put them into TDX). So it will take some more time to upload them.

Edit: DotP2010CoreTokens.7z (4.91 MB) now up (with PNGs instead of TDXs).

Edit 2: DotP2010Expansion2(DLC0005)ArtAndCards.7z (53.5 MB) now up (with PNGs instead of TDXs).
RiiakShiNal
Programmer
 
Posts: 2185
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Duels of the Planeswalkers 2013

Postby skibulk » 09 Oct 2012, 02:58

Okay I've got a script which will rename cards automatically as long as I have both the card XML file and image file. I'm going to just group all the core and expansion pack content together in the end so no need to sort files or even segment them from core.

Needed:
- D10_XPack1 XMLs & Images
- D10_XPack3 XMLs & Images
- D13_XPack1 XMLs
- the Plane Frame from D10 for comparison
Last edited by skibulk on 09 Oct 2012, 03:06, edited 2 times in total.
User avatar
skibulk
HQ Team Member
 
Posts: 995
Joined: 19 Jul 2010, 20:34
Location: Northeast USA
Has thanked: 379 times
Been thanked: 335 times

Re: Duels of the Planeswalkers 2013

Postby RiiakShiNal » 09 Oct 2012, 03:01

DotP2010Expansion3(DLC0006)ArtAndCards.7z (57.3 MB) now up (with PNGs instead of TDXs)

DotP2010 Expansion pack 1 did not have any new cards or graphics.
DotP2010 does not have a frame for Planes (they were not supported).
RiiakShiNal
Programmer
 
Posts: 2185
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Duels of the Planeswalkers 2013

Postby skibulk » 09 Oct 2012, 03:05

Oh yah sorry to make you repeat that. I'll pack up DotP 2010 for release tomorrow.
User avatar
skibulk
HQ Team Member
 
Posts: 995
Joined: 19 Jul 2010, 20:34
Location: Northeast USA
Has thanked: 379 times
Been thanked: 335 times

Re: Duels of the Planeswalkers 2013

Postby RiiakShiNal » 09 Oct 2012, 03:13

I'm just sorry it took so long to upload (when uploading to my website I only get about 17-18 KB/s so it takes what seems like forever to upload large files).
RiiakShiNal
Programmer
 
Posts: 2185
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Duels of the Planeswalkers 2013

Postby skibulk » 09 Oct 2012, 13:40

RiiakShiNal wrote:I'm just sorry it took so long to upload (when uploading to my website I only get about 17-18 KB/s so it takes what seems like forever to upload large files).
Your xpack 2 had 132 card definitions and 151 images. I think we're missing 23(total) - 8(land&tokens) = 15(definitions)?

Your xpack 3 had 170 card definitions and 166 images. I think we're missing 4 images?

Are all of the images (core, xpack2, xpack3) mixed together, requiring you to hand sort and separate them?
User avatar
skibulk
HQ Team Member
 
Posts: 995
Joined: 19 Jul 2010, 20:34
Location: Northeast USA
Has thanked: 379 times
Been thanked: 335 times

PreviousNext

Return to Magic: The Gathering - Duels of the Planeswalkers

Who is online

Users browsing this forum: No registered users and 42 guests


Who is online

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

Login Form