Page 1 of 1

[2013]Quick Question - Replacing Art Files

PostPosted: 05 Sep 2013, 03:53
by Blue Ghost
It's been a while since I've posted here. Yes, I'm still doing 2013 while y'all have moved on to 2014.
Just a quick newb question. How does one replace the arts of cards, while retaining the original art files? I gather you'd have to create new TDX files with the appropriate names, but where should I put them? In a separate WAD? A folder in an existing WAD? How do I make sure that the game reads the new arts and not the original ones?

Re: [2013]Quick Question - Replacing Art Files

PostPosted: 05 Sep 2013, 08:49
by thefiremind
Blue Ghost wrote:I gather you'd have to create new TDX files with the appropriate names, but where should I put them? In a separate WAD? A folder in an existing WAD?
Making a new WAD for overriding content is always better.

Blue Ghost wrote:How do I make sure that the game reads the new arts and not the original ones?
Nobody ever proved it, but there's a high chance that the game loads the WAD files in alphabetical order, and the last to be loaded "wins", so just give the WAD a name that goes for last in alphabetical order.

Re: [2013]Quick Question - Replacing Art Files

PostPosted: 05 Sep 2013, 16:24
by Blue Ghost
What needs to go in the WAD file? I tried just putting the TDX files in a folder, but that didn't seem to work.

Re: [2013]Quick Question - Replacing Art Files

PostPosted: 05 Sep 2013, 17:38
by RiiakShiNal
WADs need to have an XML header and be in a specific structure for DotP 2013:
  • Top Level Directory - typically with the same name as the final WAD will have starting with either "DATA_DLC_" or "DECK_"
    • Directory - DATA_ALL_PLATFORMS
      • Directory - ART_ASSETS
        • Directory - ILLUSTRATIONS
          • TDX Files - Card images go here with names that match those defined in the Card XMLs (ARTID tag) and saved in TDX format.
    • XML Header - HEADER.XML

The XML Header has a very simple structure, but is unique for each WAD:
Code: Select all
<?xml version="1.0"?>
<WAD_HEADER>
   <ENTRY platform="ALL" source="<Name of Top Level Directory from above goes here.>/DATA_ALL_PLATFORMS/" alias="Content" order="3"/>
</WAD_HEADER>
So if your top level directory is "DATA_DLC_5678" your Header would look like this:
Code: Select all
<?xml version="1.0"?>
<WAD_HEADER>
   <ENTRY platform="ALL" source="DATA_DLC_5678/DATA_ALL_PLATFORMS/" alias="Content" order="3"/>
</WAD_HEADER>