It is currently 10 May 2025, 18:48
   
Text Size

How to add deck box pictures? And card frames.

Moderator: CCGHQ Admins

How to add deck box pictures? And card frames.

Postby alexandreonly » 19 Dec 2011, 22:11

And how to add new with their respective images? Also, how to make the names of my decks display right? Mine are shown as [THALLID_INVASION] as a example, but i want it to be displayed as Thallid Invasion.
About the card frames, i have a problem, since i'm implementing the GW cards with persist, as Safehold Elite as a example, but even changing this manually, don't work.
alexandreonly
 
Posts: 145
Joined: 04 Jul 2011, 17:27
Has thanked: 0 time
Been thanked: 8 times

Re: How to add deck box pictures? And card frames.

Postby thefiremind » 19 Dec 2011, 23:13

About names of the decks, I already answered here:
viewtopic.php?f=62&t=5947#p77368
and here:
viewtopic.php?f=62&t=5723#p74753
and now you also have my XML examples here (in the TEXT_PERMANENT directory):
viewtopic.php?f=63&t=5957#p77569
anyway kev's examples were more than enough to start.

About the frames, I'll try to be more clear. When I told you to change the frame name manually I was just talking about RW_GOLD and the other frames that are really in the game but not in the Deck Editor Revised. The only hybrid frame that is already included is RW. If you want other ones, you have to make them yourself and include them in your custom pack.
I'm not very good at image editing, and kev could probably do a million times better than me, anyway I made WU_GOLD_ARTIFACT, BG and BR frames successfully. For WU_GOLD_ARTIFACT it has been quite easy since everything I needed is already in other frames, it's just a copy and paste work. For hybrids we can't rely on existing frames. So, I took the frame images from this topic:
viewtopic.php?f=30&t=465
then I converted to PNG (with gibbed tools) the most similar frame I could find in the Data_Core... for BG, I chose BG_GOLD. Then I opened the hybrid image and the BG_GOLD frame in Paint.NET, and tried to paste the hybrid image onto the BG_GOLD frame as better as I could. When the result satisfied me, I saved the picture as BG.png and converted it to TDX (with gibbed tools again). This isn't enough: as kev noted, the transparency of the TDX image created this way is messy in the game. In order to display it correctly, you need to open the TDX file with a hex editor and change a byte:
Image
The selected byte in the image must be set to 28 (no matter which number was there before, in my case it was 00). If you need a hex editor, I used XVI32 (Google for it, it's freeware).

I'd really like to make deck boxes, too, but I'd need the "clean" box image to paste onto the image I want for the deck. Since kev made new deck boxes, I guess he managed to get the box image. If he could share it, it would be useful... unless it's something he wants to keep for himself. #-o
< 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: How to add deck box pictures? And card frames.

Postby kevlahnota » 20 Dec 2011, 01:15

I'd really like to make deck boxes, too, but I'd need the "clean" box image to paste onto the image I want for the deck. Since kev made new deck boxes, I guess he managed to get the box image. If he could share it, it would be useful... unless it's something he wants to keep for himself. #-o
:lol: :lol: :lol: lol, anyway my update for my custom dlc will be soon, it includes dual frames mostly and other cards (about 8 decks, can't remember ). I will post my template in editing image maybe later(or tommorrow don't know). Its just that I'm busy(always).
User avatar
kevlahnota
Programmer
 
Posts: 825
Joined: 19 Jul 2010, 17:45
Location: Philippines
Has thanked: 14 times
Been thanked: 264 times


Return to Programming Talk

Who is online

Users browsing this forum: No registered users and 23 guests


Who is online

In total there are 23 users online :: 0 registered, 0 hidden and 23 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 23 guests

Login Form