It is currently 18 Jul 2025, 17:46
   
Text Size

need some help...

Moderator: CCGHQ Admins

need some help...

Postby G36cBossMan » 26 Mar 2014, 06:16

is it possible to use a photo shopped image over a certain card image? if so how? i see export image with the dotp 2014 deck builder but no import...
G36cBossMan
 
Posts: 21
Joined: 21 Mar 2014, 03:34
Has thanked: 0 time
Been thanked: 0 time

Re: need some help...

Postby G36cBossMan » 26 Mar 2014, 08:02

bump does anyone know?
G36cBossMan
 
Posts: 21
Joined: 21 Mar 2014, 03:34
Has thanked: 0 time
Been thanked: 0 time

Re: need some help...

Postby thefiremind » 26 Mar 2014, 09:22

You can use any image for cards as long as you convert it to TDX after you finished working on it. Always keep in mind that if you want to generate a compressed TDX (which is recommended), the image's height and width must be multiples of 4, otherwise DotP2014 won't be able to read them.

Look at this guide, there's a section about conversion.
< 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: need some help...

Postby RiiakShiNal » 26 Mar 2014, 13:12

G36cBossMan wrote:is it possible to use a photo shopped image over a certain card image? if so how? i see export image with the dotp 2014 deck builder but no import...
There is no "Import" because the Deck Builder does not support editing WADs.

Converting to TDX has already been covered by thefiremind's post and the link to jacque's tutorial so I'm not going to explain that.

You can however override any card image by putting another image with the same name (name can be derived from the ARTID tag in the card's XML) in a WAD that will override the WAD that the card you want to change the image is in. For a WAD to override another it must either be later in the load order (this is generally done alphabetically) or it must have a higher order attribute in the WAD header (a higher order attribute will trump load order).

So if you wanted to override the card image for Arrest (base game, order attribute 3, always loads first) you would create a TDX with the name 145118.TDX and put it in the ART_ASSETS\ILLUSTRATIONS directory of a WAD (new or existing mod, never change the official WADs) that the game loads and you are basically done (all mods use at least order attribute 3 and load after the base game WADs). If you wanted to override Hornet Queen (Official Deck Pack 3, order attribute 42) then you would need to create a TDX with the name 137557.TDX in ART_ASSETS\ILLUSTRATIONS directory of a WAD (new or existing mod) with an order attribute of 43 or higher to ensure it would be overridden.
RiiakShiNal
Programmer
 
Posts: 2188
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: need some help...

Postby MC Brodie » 26 Mar 2014, 14:18

Where do you set the order attribute? I always thought that files were overridden based on their name. That is, files are loaded in alphabetical order and the last version is the one used in the game.
-----------------------------------------------------------------------
Song of the Day: 46 and 2 (cover)
MC Brodie
 
Posts: 310
Joined: 01 Jun 2013, 00:10
Has thanked: 44 times
Been thanked: 34 times

Re: need some help...

Postby RiiakShiNal » 26 Mar 2014, 15:00

MC Brodie wrote:Where do you set the order attribute? I always thought that files were overridden based on their name. That is, files are loaded in alphabetical order and the last version is the one used in the game.
The order attribute is in the WAD header (ENTRY tag, usually the last attribute before closing). Here is the WAD header from the official Deck Pack 1 (DATA_DECKS_F14_PACK1.WAD):
Code: Select all
<?xml version="1.0"?>

<WAD_HEADER>
   <ENTRY platform="ALL" source="Data_Decks_F14_Pack1/DATA_ALL_PLATFORMS/" alias="Content" order="22"/>
   <ENTRY platform="TOUCH" source="Data_Decks_F14_Pack1/DATA_TOUCH/" alias="Content" order="23"/>
   <ENTRY platform="PC" source="Data_Decks_F14_Pack1/DATA_PC/" alias="Content" order="24"/>
   <ENTRY platform="X360" source="Data_Decks_F14_Pack1/DATA_X360/" alias="Content" order="24"/>
   <ENTRY platform="PS3" source="Data_Decks_F14_Pack1/DATA_PS3/" alias="Content" order="24"/>
   <ENTRY platform="IPAD" source="Data_Decks_F14_Pack1/DATA_IPAD/" alias="Content" order="24"/>
</WAD_HEADER>
The order attribute defines a WAD's priority over and above the order in which the WAD is loaded by the game (alphabetic load ordering still works with WADs that have the same order attribute value). I discovered this when people had problems with the official expansion and deck packs overriding the basic lands (from the base game) that I overrode in the Manual Mana functions mod.

The highest order priority currently used by the base game and it's official expansions and deck packs is technically 44 for PC/X360/PS3/IPAD directories (which we generally don't use). The highest order used for the DATA_ALL_PLATFORMS directory (which is what we all usually use) is 42. Using an order attribute of 43 or higher basically ensures that you will override any official game content at this point in time.

We do not know what the upper limit is regarding order attribute values, but I see no reason to worry about them too much. If people start going crazy with the numbers it may make compatibility harder to manage and troubleshoot. Due to these reasons I have not added a capability to the Deck Builder to change the order attributes and have left it locked at an order of 3 for exporting (what most of us generally use for modding). I have only had to change the order attributes for 2 of my mods (both of which do lots of overriding) and they are the Core Fixes and Manual Mana functions.
RiiakShiNal
Programmer
 
Posts: 2188
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: need some help...

Postby G36cBossMan » 26 Mar 2014, 19:20

so another words you need to know what your doing... thanks anyway though guys
G36cBossMan
 
Posts: 21
Joined: 21 Mar 2014, 03:34
Has thanked: 0 time
Been thanked: 0 time

Re: need some help...

Postby MC Brodie » 27 Mar 2014, 02:27

G36cBossMan wrote:so another words you need to know what your doing... thanks anyway though guys
Oh it really isn't that hard. If you know how to mess with photoshop you should be able to figure it out. Follow these instructions:

  1. Create a location for you to store your overriding art files: This could be seen as the hardest step but I already did it for you. Download the attachment in this thread and put it in your modded DotP folder.
  2. Create your custom, photoshopped image: Since you asked the question, I'm not going to go into this one :) .
  3. Convert your image to the correct file type: The card needs to be a .TDX image. Since you are already in Photoshop you could just save the art file as a TDX file. The typical size for card images is 512x376 and since a card image doesn't require transparencies, DTX1 is sufficient. Alternatively you could convert something like a png file to a tdx image by following Steps 3 and 4 in this post.
  4. Rename your new TDX file: Getting the name for your image overwrite is easy. Open Riiak's deck builder and find the card whose image you are going to overwrite. Right click the card and hit "View Card...". The window that pops up shows the xml code for that card. Near the top (typically underneath the card name in the different languages) you will see something like ' <ARTID value="139897" /> '. The number inside the parentheses is what you want to rename your TDX file to.
  5. Place your TDX file in the "overriding art" folder: The last step is to just drop the art file into the folder I've provided. The exact location (it's really the only one in that set of folders) is "DATA_DLC_ART_OVERRIDE\DATA_ALL_PLATFORMS\ART_ASSETS\ILLUSTRATIONS".


As an example I made a custom art for Champion of the Parish. I think his new look makes him appear more menacing but if you don't like it you can just delete the TDX file that came in the folder.
Attachments
DATA_DLC_ART_OVERRIDE.rar
(110.85 KiB) Downloaded 221 times
-----------------------------------------------------------------------
Song of the Day: 46 and 2 (cover)
MC Brodie
 
Posts: 310
Joined: 01 Jun 2013, 00:10
Has thanked: 44 times
Been thanked: 34 times


Return to 2014

Who is online

Users browsing this forum: No registered users and 11 guests

Main Menu

User Menu

Our Partners


Who is online

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

Login Form