It is currently 30 Aug 2025, 20:59
   
Text Size

Magic Duels tests and results

Moderator: CCGHQ Admins

Re: Magic Duels tests and results

Postby Tejahn » 30 Nov 2015, 23:48

**EDIT**

Sorin, Solemn Visitor - Multicolor Frame.jpg
Sorin, Solemn Visitor - Multicolor Frame

TFM - Magic Duels Nyx Frames.png
TFM - Magic Duels Nyx Frames

Magic Duels - Planeswalker Frames.png
Magic Duels - Planeswalker Frames


I was able to confirm that Sorin was using the standard multicolor frame by changing the gold Planeswalker frame to the Z.TDX but the text is still not aligned. Another question for thefiremind, do you think that using your Nyx Frame method can be done for the Planeswalker frames?
Tejahn
 
Posts: 430
Joined: 14 May 2013, 01:35
Has thanked: 25 times
Been thanked: 25 times

Re: Magic Duels tests and results

Postby Tejahn » 30 Nov 2015, 23:54

Xander9009 wrote:Good, that sounds perfectly reasonable. :) I don't know for sure that I'll have the time to do so, but f I do, then I'll see if I can manage the necessary changes.

@all: Also, TFM's utility idea got me thinking, and I'd written out a request for a feature, but then I decided to use it to get myself into C# a bit. (This doesn't really belong here, but oh well. I'll make a proper thread for it when it's ready for release.) It's a simple, one-form cropping program that should be easy to include with any tool released that's meant to be an all-in-one (or just generally multi-purpose) modding utility (this is my hope). Lots of things can crop, but this is meant to be about as simple as it can while still doing everything needed for DotP and Magic Duels. So, it resizes the images automatically to the selected dimensions (with options for normal, full-art, token, and ability-token, though the latter two need the background added). There is currently no ability to zoom, because I just thought of it, but I wanted to go ahead and post a screenshot of it while it's still fresh in my mind in case anyone has any simple idea's they'd like to suggest.

-Restricts movement of image based on size, so it's always shrunk/cropped as little as possible
-Can handle multiple images in a single folder of types jpg, png, and bmp
-Does not affect original art (appends " -c" to the filename)

Features I'd like to add:
-Drag-n-drop functionality for folders and images
-Batch button (process all images in the view)
-Remove images from the view individually, optionally doing so automatically upon cropping an image
-Zoom the image to cut off more than is necessary (in case it has a border or something similar)
-Zoom the view without affecting the resulting image itself, just to make the tall image a bit easier to use on smaller screens
-Automatically convert to tdx upon cropping, probably without the appended "-c"
-Reduce the minimum window size based on the current image (as small as it can be while still being able to move the image all the way up and down)

C# is not nearly as good with transparency as I'd hoped... The transparent bits are way more complicated than I expected them to be. (I was expecting to make a box, make it transparent, and that was it. That is SO not what happened...) As such, you'll see them move a little as you drag the image around.

The point of this is to make importing HQ art from future sets much easier. Since they're not not the right dimensions, they need cropped. They're also often much larger than needed, and this will eliminate the resizing step altogether. Drop all of the images you've found into a folder, use the Crop+Next button to make short work of cropping any that are close but still getting the ability to line it up however is best, and expending a lot less effort for something that shouldn't take that much. (Obviously, this is something that has annoyed me a lot in the past.)

screenshot | Open
Image
I support any app that makes modding easier. Although I to use Photoshop and Paint.net to adjust pics.
Tejahn
 
Posts: 430
Joined: 14 May 2013, 01:35
Has thanked: 25 times
Been thanked: 25 times

Re: Magic Duels tests and results

Postby thefiremind » 01 Dec 2015, 09:12

Tejahn wrote:do you think that using your Nyx Frame method can be done for the Planeswalker frames?
The problem here is that the link between Planeswalkers and their frames is done inside the executable, and for the cards missing it, a default frame is used. In order for us to be able to do something about Planeswalkers' frames, they should have set them in the cards' code (which would have been a much easier choice for them as well, but I gave up understanding Stainless's choices...).
< 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: 722 times

Re: Magic Duels tests and results

Postby Xander9009 » 02 Dec 2015, 16:32

Does anyone know how many options are available in the MultipleChoice function? I assume it's still the same as 2014: 7? Also, are the functions called the same way? I ask because I'm planning to write a new function for handling any number of options (meaning internal handling of next/back buttons when necessary and a function the get the result). I expect it won't take too long, but I'm hoping it'll be identical for both games. No real reason, I just thought of the idea last night while falling asleep and want to.

EDIT: Also, unrelated to the above, I'm hoping to rework how manager tokens are handled. Since Magic Duels can handle emblems, I'm thinking it'd work nicely as a manager token. Make every non-basic-land card call the function to create it, and give it all of the necessary functionality of all managers, plus a few for handling choices and options that are otherwise rather difficult.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
User avatar
Xander9009
Programmer
 
Posts: 2905
Joined: 29 Jun 2013, 07:44
Location: Indiana, United States
Has thanked: 121 times
Been thanked: 445 times

Re: Magic Duels tests and results

Postby Tejahn » 24 Dec 2015, 23:24

Thoughtrender Lamia - Missing Subtype.jpg
Thoughtrender Lamia - Missing Subtype


@Xander9009: I've not had a lot of time to look into things but I think the multiple choice functions are somewhat the same. Also, I think the token manager idea is great. Are you currently working on it?

@thefiremind: Are your subtype files compatible with Magic Duels? I tested to see if the Lamia subtype would show up in game but it doesn't as the the above picture demonstrate. Can you update the files to allow the missing subtypes?
Tejahn
 
Posts: 430
Joined: 14 May 2013, 01:35
Has thanked: 25 times
Been thanked: 25 times

Re: Magic Duels tests and results

Postby thefiremind » 24 Dec 2015, 23:55

Tejahn wrote:@thefiremind: Are your subtype files compatible with Magic Duels? I tested to see if the Lamia subtype would show up in game but it doesn't as the the above picture demonstrate. Can you update the files to allow the missing subtypes?
Lamia is already in my files, and I have proof that the added God subtype works, so I don't know why Lamia shouldn't.
< 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: 722 times

Re: Magic Duels tests and results

Postby Tejahn » 25 Dec 2015, 01:53

Then a file I changed is causing a conflict. I'll retest using your files before I altered them.
Tejahn
 
Posts: 430
Joined: 14 May 2013, 01:35
Has thanked: 25 times
Been thanked: 25 times

Re: Magic Duels tests and results

Postby Tejahn » 25 Dec 2015, 02:13

I tested again using your files 'as they are' but no luck. I'm not sure what's going on. Let me know your results after you test again.
Tejahn
 
Posts: 430
Joined: 14 May 2013, 01:35
Has thanked: 25 times
Been thanked: 25 times

Re: Magic Duels tests and results

Postby Xander9009 » 25 Dec 2015, 02:17

Tejahn wrote:@Xander9009: I've not had a lot of time to look into things but I think the multiple choice functions are somewhat the same. Also, I think the token manager idea is great. Are you currently working on it?
I haven't been modding at all recently. I may get back to it before long, though. Time will tell.
Last edited by Xander9009 on 25 Dec 2015, 20:37, edited 1 time in total.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
User avatar
Xander9009
Programmer
 
Posts: 2905
Joined: 29 Jun 2013, 07:44
Location: Indiana, United States
Has thanked: 121 times
Been thanked: 445 times

Re: Magic Duels tests and results

Postby Tejahn » 25 Dec 2015, 19:03

thefiremind, can you post your .ZED with the working subtypes?
Tejahn
 
Posts: 430
Joined: 14 May 2013, 01:35
Has thanked: 25 times
Been thanked: 25 times

Re: Magic Duels tests and results

Postby thefiremind » 25 Dec 2015, 19:41

Tejahn wrote:thefiremind, can you post your .ZED with the working subtypes?
There's the content on the first post, you just need to transform it to ZED. I also added Thoughtrender Lamia and the subtype seems OK for me. I didn't enter a duel, but I saw it on the collection.
< 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: 722 times

Re: Magic Duels tests and results

Postby E1tenTy » 29 Dec 2015, 00:27

Is it possible to copy functions like awaken and planeswalk from MagicDuels to 2015?
I coded OGW’s cards and port some CW cards. But unlocking cards in duels need a new account,and a new account cant add friends. So im think useing 2015 to play multiple game.
E1tenTy
 
Posts: 2
Joined: 27 Sep 2015, 00:35
Has thanked: 0 time
Been thanked: 0 time

Re: Magic Duels tests and results

Postby thefiremind » 30 Dec 2015, 20:01

E1tenTy wrote:Is it possible to copy functions like awaken and planeswalk from MagicDuels to 2015?
I coded OGW’s cards and port some CW cards. But unlocking cards in duels need a new account,and a new account cant add friends. So im think useing 2015 to play multiple game.
My first suggestion is to think twice about your decision, because DotP2015 will get the least attention from the modding community: on one side we have DotP2014 which has less restrictions, on the other side we have Magic Duels which has more potential. Anyway, if you really want to stick with DotP2015, you'll have more chances to find working material by looking at what's available for DotP2014. I don't know if someone tried to code awaken, but it's similar to bestow because it requires different amount of targets based on how you decide to cast the spell, so I guess it should be possible to code under the same approximations. Planeswalkers from DotP2014 could work in DotP2015, but the Planeswalker type should be totally removed, otherwise the game would freeze on start. Making them work well as Basic Snow Enchantments outside of the battlefield would require some amount of effort, 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: 722 times

Re: Magic Duels tests and results

Postby Xander9009 » 30 Dec 2015, 21:29

I coded awaken in 2014 and it's working well. The function file can be found in the CW; it's names CW_AWAKEN.LOL. Grab that and an awaken card and it should be directly portable to 2015. However, I don't recall if it relies on any other CW functions.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
User avatar
Xander9009
Programmer
 
Posts: 2905
Joined: 29 Jun 2013, 07:44
Location: Indiana, United States
Has thanked: 121 times
Been thanked: 445 times

Re: Magic Duels tests and results

Postby E1tenTy » 02 Jan 2016, 02:33

:mrgreen: Thanks for the reply guys.
I am new to this,just started to learn moding a month ago.Now im doing OGW's cards and test them in Duels,so if i get some question about coding should i just ask here or..?
E1tenTy
 
Posts: 2
Joined: 27 Sep 2015, 00:35
Has thanked: 0 time
Been thanked: 0 time

PreviousNext

Return to Magic Duels

Who is online

Users browsing this forum: No registered users and 9 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 9 users online :: 0 registered, 0 hidden and 9 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 9 guests

Login Form