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) Magic Duels
Issue with tdx files
Moderator: CCGHQ Admins
Issue with tdx files
by Nick26 » 31 Aug 2016, 17:28
Hi everyone,
I have been importing cards from magic 2014 for a while (thanks to Spirolone's amazing tools ) but I have an issue with tdx files. When I import a tdx file from magic 2014 original cards or from the community wad everything is ok, but when I try to use the tdx files I made cards look blue
I don't know what I am doing wrong, I am using gibbed tools from magic 2013 to generate tdx files and it has always worked great in every other mtg game so I am not sure what's the problem. I also tried to convert an original tdx file from magic origin to a png file and then convert it back and I have the same problem, so I think the problem is the converter. Is there another converter or another way to make tdx files?
I have been importing cards from magic 2014 for a while (thanks to Spirolone's amazing tools ) but I have an issue with tdx files. When I import a tdx file from magic 2014 original cards or from the community wad everything is ok, but when I try to use the tdx files I made cards look blue
I don't know what I am doing wrong, I am using gibbed tools from magic 2013 to generate tdx files and it has always worked great in every other mtg game so I am not sure what's the problem. I also tried to convert an original tdx file from magic origin to a png file and then convert it back and I have the same problem, so I think the problem is the converter. Is there another converter or another way to make tdx files?
Re: Issue with tdx files
by Tejahn » 01 Sep 2016, 00:22
Nick26, I read your question in the MAGIC DUELS - CARD REQUEST THREAD as well as the post by magius74 in the Magic Duels tests and results so I'll be starting a Tutorial DLC - Progress Report thread soon. Concerning your question about the TDX conversion process, I noticed the same thing when I first started modding Magic Duels. To resolve the problem, follow the instructions given by kevlahnota in his topic located here: How To Make HQ images for Card Illustrations in DotP. Almost everything pertaining to Magic Duels is still derived from previous versions of DOTP. Looking through various XMLs it seems that Magic Duels was initially called DOTP 2016. Let me know if this helps.
EDIT: There is nothing you are doing wrong. Color palletes are read differently in Magic Duels for some reason. Specifically, some blue TDX files are processed in the game as red. I'll look into this more at a later date.
EDIT: There is nothing you are doing wrong. Color palletes are read differently in Magic Duels for some reason. Specifically, some blue TDX files are processed in the game as red. I'll look into this more at a later date.
Re: Issue with tdx files
by RiiakShiNal » 02 Sep 2016, 23:17
If images from the community wad import fine then the problem is probably that you aren't compressing your TDX files. Card Images should be compressed with DXT1 compression and images with transparency should be using DXT5 compression. You should probably be using my modified Gibbed Tools and either passing the appropriate --dxt1 or --dxt5 parameter with the image (or dropping the images onto the batch files I provided which should be placed in the same directory as Gibbed.Duels.TdxConvert.exe).
Batch files again in case you can't find the link.
Batch files again in case you can't find the link.
- Attachments
-
- BatchFilesForCompression.zip
- (466 Bytes) Downloaded 249 times
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: 2185
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: Issue with tdx files
by Nick26 » 03 Sep 2016, 08:51
Thanks for your suggestions, both ways work flawlessly
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests