Board index Programs with AI or Rules Enforcement Magic: The Gathering - Duels of the Planeswalkers Programming Talk
[2013]Quick Question - Replacing Art Files
Moderator: CCGHQ Admins
[2013]Quick Question - Replacing Art Files
by Blue Ghost » 05 Sep 2013, 03:53
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?
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?
- Blue Ghost
- Posts: 52
- Joined: 07 Apr 2013, 20:41
- Has thanked: 6 times
- Been thanked: 0 time
Re: [2013]Quick Question - Replacing Art Files
by thefiremind » 05 Sep 2013, 08:49
Making a new WAD for overriding content is always better.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?
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.Blue Ghost wrote:How do I make sure that the game reads the new arts and not the original ones?
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 721 times
Re: [2013]Quick Question - Replacing Art Files
by Blue Ghost » 05 Sep 2013, 16:24
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.
- Blue Ghost
- Posts: 52
- Joined: 07 Apr 2013, 20:41
- Has thanked: 6 times
- Been thanked: 0 time
Re: [2013]Quick Question - Replacing Art Files
by RiiakShiNal » 05 Sep 2013, 17:38
WADs need to have an XML header and be in a specific structure for DotP 2013:
The XML Header has a very simple structure, but is unique for each WAD:
- 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.
- Directory - ILLUSTRATIONS
- Directory - ART_ASSETS
- XML Header - HEADER.XML
- Directory - DATA_ALL_PLATFORMS
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>
- 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>
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
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 31 guests