It is currently 14 Nov 2018, 04:27
   
Text Size

Token Help

Moderators: Xander9009, CCGHQ Admins

Token Help

Postby nicanutz » 16 Feb 2016, 15:39

I've been using riiak's dotp 2014 deck builder with the community WAD and I've noticed that many cards call for tokens that are missing images. I'm wondering if anyone could help me out a bit and point me to a tutorial or something that could help me add images to these tokens.

Just realized that I posted this in the wrong place. My apologies, I'm really new to this and idk how to move it...
nicanutz
 
Posts: 5
Joined: 13 Feb 2016, 08:12
Has thanked: 4 times
Been thanked: 0 time

Re: Token Help

Postby Xander9009 » 16 Feb 2016, 17:30

None of the tokens should be missing images. I just double checked, and only a few tokens were missing art. Specifically:
Mana tokens
Azorius Loyalist (which aren't even in the CW, because they're part of my custom set)
And a single Angel token, the one from OGW whose tokens haven't been added yet.

However, many of the tokens have art that's not quite right. The picture border on the art is visible in the actual picture in-game.

Making art for tokens is essentially the same as making art for normal cards. The main difference is that the art needs to cover the entire card, not just the art window. So, instead of being 512x376, it needs to be 356x512. The token window itself is different depending on whether or not it has abilities. Tokens without abilities show more of the picture.

I made some guides using Paint for this. They're found in the resources folder within the tools folder. https://drive.google.com/open?id=0B-cZn ... m5hV3dJeGs

Note that the title of the two images shows the exact dimensions the actual image part of the token needs to cover. So, if it has an ability, then the image needs to be 330x296. With the template and the token image open in Paint, resize and crop the token image to those dimensions. Then, ctrl+a -> ctrl+c to copy the entire token image, paste it in the template, and align it over the black box. ctrl+a -> ctrl+c, and paste this new complete token image back into the original and save and exit. That's how I do it.

To see if this is actually exactly correct, you could test out with slightly different sizes (I think I went by official tokens originally, but it's been... awhile) and see how they look in-game.

In case you're unaware, once you've got the properly sized image, you just drop it onto the compressed image .bat file in the gibbed tools folder or hte universal converter. It'll become a tdx that the game will read.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
User avatar
Xander9009
Programmer
 
Posts: 2824
Joined: 29 Jun 2013, 07:44
Location: Indiana, United States
Has thanked: 102 times
Been thanked: 423 times

Re: Token Help

Postby nicanutz » 16 Feb 2016, 21:43

O OK I see. Thanks allot fam. So step by step, to add a token to the game i need to:
1. resize image
2. Drag and drop image onto universal gibbed converter.exe? or Tdx Convert Compressed.bat?
Would i need to rename the image to anything specific?
The resource folder in the link has a drake token that i would like to use to replace the one in the community wad. How exactly do i go about doing that?
nicanutz
 
Posts: 5
Joined: 13 Feb 2016, 08:12
Has thanked: 4 times
Been thanked: 0 time

Re: Token Help

Postby Xander9009 » 16 Feb 2016, 21:58

nicanutz wrote:O OK I see. Thanks allot fam. So step by step, to add a token to the game i need to:
1. resize image
2. Drag and drop image onto universal gibbed converter.exe? or Tdx Convert Compressed.bat?
Would i need to rename the image to anything specific?
The resource folder in the link has a drake token that i would like to add to the game how exactly do i go about doing that?
Well, I don't see a drake token, but either way, yes, it'll need a specific name. However, for changing actual token files, not just the art, it'll require a bit more work and it'll be slightly harder to explain.

Each token needs to have a unique multiverse ID. Since we can't reserve actual IDs, we've mostly settled for making sure the tokens at least are unique among other tokens.

To make sure they are, you'll need to open the CW_TOKENS.XML file in the FUNCTIONS folder of the CW core, scroll to the bottom of the list at the top, and increase the commented out number by 1 and use that new number. Then, find the entry in that list that matches the token and update its count. FINALLY, search in the deck builder for any card that can make that token by searching out "CW_Tokens" and "DRAKE_C_2_2_U_F", and adding the token registration.

The art file's name should be the same as the token's filename.

A 2/2 blue drake with flying would be named TOKEN_DRAKE_C_2_2_U_F_CW_#, where # is 1 or more (1 for each token that's identical except for art).

Needless to say, it's a somewhat complicated process. The much easier way to manage it is to simply send me the token image and I'll add it. I already know the process well so it'll only take me a moment. If you want to go ahead and make the token file and image, it'll take even less time, as I only have to change the multiverseID and filename, add it to the CW_TOKENS file, and make sure it's registered everywhere relevant. Messing with the art itself is by far my least favorite part.

The good news is that I'm currently working on a full fledged program that can handle all of this as well as many other things. I only started it yesterday, though, so it's got awhile yet...
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
User avatar
Xander9009
Programmer
 
Posts: 2824
Joined: 29 Jun 2013, 07:44
Location: Indiana, United States
Has thanked: 102 times
Been thanked: 423 times

Re: Token Help

Postby nicanutz » 16 Feb 2016, 23:56

The Drake token image is in the resource: Token Files.7z\Token Images\Images\magic%202013-drake. I would send you the pic directly but idk how to lol.... Tried to send a link to a pic but my "post looks too spamy for a new user" but its the first image that shows up on google when you search "drake token"

So do i resize the new pic then rename it token_drake_c_2_2_u_f_cw_1 then drag and drop it to Universal Gibbed Converter.exe to replace the community wad image with this new one?

I think its great that your working on a program that can help make this easier btw
nicanutz
 
Posts: 5
Joined: 13 Feb 2016, 08:12
Has thanked: 4 times
Been thanked: 0 time

Re: Token Help

Postby Xander9009 » 17 Feb 2016, 00:05

TOKEN_DRAKE_C_2_2_U_F_CW_1.png

From the CW itself.
For comparison...
magic%202013-drake.jpg

From the zip file.

That's actually the one already in the CW. Except that the one in the CW is the official token art meant for the game, so it doesn't have the token border (which is a good thing, since normal token borders often show up behind the in-game border and looks bad).

You'll be able to post links when you hit 5 posts. That's just to keep the board spam-free.

Also, the tool can thus far read the CW to get the version you're running, how many cards it has, tell you which ones are new and modified, and give you a listing of those cards. Nothing fancy yet, I'm afraid. But it'll get there. :) It's a sort of culmination of what I've learned about coding since I started this. Although the reading of the wad is all thanks to RiiakShiNal's open source deck builder. I wouldn't have figured that out on my own.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
User avatar
Xander9009
Programmer
 
Posts: 2824
Joined: 29 Jun 2013, 07:44
Location: Indiana, United States
Has thanked: 102 times
Been thanked: 423 times

Re: Token Help

Postby nicanutz » 17 Feb 2016, 00:27

The tool sounds pretty dope!

Since the image comes with the cw then i might have missed something during installation. in riiaks deck builder, the token is missing the art work (it only shows the token boarder) and whenever the token enters the battlefield (via Talrand, Sky Summoner's ability or Talrand's Invocation) it appear as it does in the deck builder (token boarder, no art).

You think i forget to install something?
nicanutz
 
Posts: 5
Joined: 13 Feb 2016, 08:12
Has thanked: 4 times
Been thanked: 0 time

Re: Token Help

Postby Xander9009 » 17 Feb 2016, 01:03

Do you have DATA_DLC_CW_ART_MAIN_14.WAD?

If so, then check Titania and Tolaria. They're all contained in that same wad.

If you don't, then you need to redownload the art.

If you do, then you may need to redownload the core. You might have a copy from before the tokens' images were renamed.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
User avatar
Xander9009
Programmer
 
Posts: 2824
Joined: 29 Jun 2013, 07:44
Location: Indiana, United States
Has thanked: 102 times
Been thanked: 423 times

Re: Token Help

Postby nicanutz » 17 Feb 2016, 01:10

Smfh! dammit the problem was i forgot to install DATA_DLC_CW_ART_MAIN_14.wad lol i suck.
Thanks allot for all the help bro I really appreciate it.

i noticed my directory was missing the wad prior to your most recent post.
haha i feel like an idiot missing something so obvious
nicanutz
 
Posts: 5
Joined: 13 Feb 2016, 08:12
Has thanked: 4 times
Been thanked: 0 time

Re: Token Help

Postby Xander9009 » 24 Oct 2016, 16:05

If you mean the link in my first post, I just checked it and it still works and is set to publicly viewable.

Maybe you just mean you didn't find anything you were expecting when looking for "guides". I didn't mean there are tutorials or anything. I meant like a template.

For a user, there's not much to do regarding tokens and what-not. Do you mean a modder's guide? Modders would be those of us creating the content for others to use, and if that's, the case, then I would suggest this thread: viewtopic.php?f=109&t=19103

Have a look at the current tutorial that's up. You can ask questions or request changes in that thread, or if you know what you're wanting to do already, then go for it.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
User avatar
Xander9009
Programmer
 
Posts: 2824
Joined: 29 Jun 2013, 07:44
Location: Indiana, United States
Has thanked: 102 times
Been thanked: 423 times


Return to Documentation

Who is online

Users browsing this forum: No registered users and 2 guests

cron

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 10 minutes)
Most users ever online was 279 on 11 Jul 2013, 22:03

Users browsing this forum: No registered users and 2 guests

Login Form