View unanswered posts | View active topics It is currently 16 May 2012, 21:50



Welcome
Welcome to WADder

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!


Reply to topic  [ 9 posts ] 
 animating the icon of a channel? how? 
Author Message

Joined: 25 Feb 2011, 21:44
Posts: 4
Has thanked: 0 time
Have thanks: 0 time
Post animating the icon of a channel? how?
hello everybody, I came here for some help with making animated channels. I just startet to mess around with Benzin yesterday, so I'm far from being a pro. Please excuse my sometimes not so good english, since I'm German. Still I'm going to try to explain my problem as good as possible:

so I started to mess around with Benzin to make my own animated channels, however I have come across a problem that I am not able to fix. While animating the banner of a channel is no problem for me, I can't seem to get an animated icon to work. I test my channels in UNEEK, and whenever there is a channel with an icon editet by me the Wii menu will freeze while changing to the page where the channel with the editet is. If I however leave the icon of the base channel I'm working with (in this case the Wii64 Channel) or only replace the images of the icon without editing the icon brlyt / brlan files, the channel works fine.

So obviously the problem lies somewhere in editing the icon brlyt / brlan files. I already looked at what remains of the wadder 2.0 wiki here, but most of the content is still pretty confusing to me. Also, there is another thing I would like to know. Can for example the icon.brlan and the banner.brlan (or the icon.brlyt and the banner.brlyt) have the same structure? What I want to do is use the same kind of animation I have in the banner for the icon.

Also, there is yet another question: If there are several images that are part of an animation for use in the icon, do I have to list the all when editing the icon.xmlyt file or only the first one (like the remains of the wadder 2.0 wiki state)? You will see what I mean when you look at one of my icon.xmlyt examples that you can find below.

To help track down the problem, here are the icon.xmlan and icon.xmlyt files I have editet from the Wii64 Channel.

icon.xmlyt where all images that are part of the animation are listet in:

<?xml version="1.0" encoding="utf-8"?>
<xmlyt version="1.9.9BETA">
<tag type="lyt1">
<size>
<width>170.000000</width>
<height>96.000000</height>
</size>
</tag>
<tag type="txl1">
<entries>
<name>Icon_0000.tpl</name>
</entries>
</tag>
<tag type="mat1">
<entries name="Picture_00">
<colors>
<forecolor r="0" g="0" b="0" a="0" />
<backcolor r="255" g="255" b="255" a="255" />
<colorReg3 r="255" g="255" b="255" a="255" />
<tev_k1 r="ff" g="ff" b="ff" a="ff" />
<tev_k2 r="ff" g="ff" b="ff" a="ff" />
<tev_k3 r="ff" g="ff" b="ff" a="ff" />
<tev_k4 r="ff" g="ff" b="ff" a="ff" />
</colors>
<texture name="Icon_0000.tpl">
<wrap_s>GX_CLAMP</wrap_s>
<wrap_t>GX_CLAMP</wrap_t>
</texture>
<TextureSRT>
<XTrans>0.0000000000</XTrans>
<YTrans>0.0000000000</YTrans>
<Rotate>0.0000000000</Rotate>
<XScale>1.0000000000</XScale>
<YScale>1.0000000000</YScale>
</TextureSRT>
<CoordGen>
<tgen_type>GX_TG_MTX2x4</tgen_type>
<tgen_src>GX_TG_TEX0</tgen_src>
<MatrixSource>GX_TEXMTX0</MatrixSource>
<padding>00</padding>
</CoordGen>
</entries>
</tag>
<tag type="pan1" name="RootPane" userdata="">
<visible>01</visible>
<WidescreenAffected>00</WidescreenAffected>
<flag>00</flag>
<origin x="Center" y="Center" />
<alpha>ff</alpha>
<padding>00</padding>
<translate>
<x>0.00000000000000000000</x>
<y>0.00000000000000000000</y>
<z>0.00000000000000000000</z>
</translate>
<rotate>
<x>0.00000000000000000000</x>
<y>0.00000000000000000000</y>
<z>0.00000000000000000000</z>
</rotate>
<scale>
<x>1.0000000000</x>
<y>1.0000000000</y>
</scale>
<size>
<width>170.000000</width>
<height>96.000000</height>
</size>
</tag>
<tag type="pas1" />
<tag type="pic1" name="Picture_00" userdata="">
<visible>01</visible>
<WidescreenAffected>01</WidescreenAffected>
<flag>00</flag>
<origin x="Center" y="Center" />
<alpha>ff</alpha>
<padding>00</padding>
<translate>
<x>0.00000000000000000000</x>
<y>0.00000000000000000000</y>
<z>0.00000000000000000000</z>
</translate>
<rotate>
<x>0.00000000000000000000</x>
<y>0.00000000000000000000</y>
<z>0.00000000000000000000</z>
</rotate>
<scale>
<x>1.0000000000</x>
<y>1.0000000000</y>
</scale>
<size>
<width>170.000000</width>
<height>96.000000</height>
</size>
<material name="Picture_00" />
<colors>
<vtxColorTL r="ff" g="ff" b="ff" a="ff" />
<vtxColorTR r="ff" g="ff" b="ff" a="ff" />
<vtxColorBL r="ff" g="ff" b="ff" a="ff" />
<vtxColorBR r="ff" g="ff" b="ff" a="ff" />
</colors>
<coordinates>
<set>
<coordTL s="0.000000" t="0.000000" />
<coordTR s="1.000000" t="0.000000" />
<coordBL s="0.000000" t="1.000000" />
<coordBR s="1.000000" t="1.000000" />
</set>
</coordinates>
</tag>
<tag type="pas1" />
<tag type="pae1" />
<tag type="grp1" name="RootGroup" />
</xmlyt>


icon.xmlyt where only the first image is listed, as statet in the remains of the wadder 2.0 wiki:

<?xml version="1.0" encoding="utf-8"?>
<xmlyt version="1.9.9BETA">
<tag type="lyt1">
<size>
<width>170.000000</width>
<height>96.000000</height>
</size>
</tag>
<tag type="txl1">
<entries>
<name>Icon_0000.tpl</name>
</entries>
</tag>
<tag type="mat1">
<entries name="Picture_00">
<colors>
<forecolor r="0" g="0" b="0" a="0" />
<backcolor r="255" g="255" b="255" a="255" />
<colorReg3 r="255" g="255" b="255" a="255" />
<tev_k1 r="ff" g="ff" b="ff" a="ff" />
<tev_k2 r="ff" g="ff" b="ff" a="ff" />
<tev_k3 r="ff" g="ff" b="ff" a="ff" />
<tev_k4 r="ff" g="ff" b="ff" a="ff" />
</colors>
<texture name="Icon_0000.tpl">
<wrap_s>GX_CLAMP</wrap_s>
<wrap_t>GX_CLAMP</wrap_t>
</texture>
<TextureSRT>
<XTrans>0.0000000000</XTrans>
<YTrans>0.0000000000</YTrans>
<Rotate>0.0000000000</Rotate>
<XScale>1.0000000000</XScale>
<YScale>1.0000000000</YScale>
</TextureSRT>
<CoordGen>
<tgen_type>GX_TG_MTX2x4</tgen_type>
<tgen_src>GX_TG_TEX0</tgen_src>
<MatrixSource>GX_TEXMTX0</MatrixSource>
<padding>00</padding>
</CoordGen>
</entries>
</tag>
<tag type="pan1" name="RootPane" userdata="">
<visible>01</visible>
<WidescreenAffected>00</WidescreenAffected>
<flag>00</flag>
<origin x="Center" y="Center" />
<alpha>ff</alpha>
<padding>00</padding>
<translate>
<x>0.00000000000000000000</x>
<y>0.00000000000000000000</y>
<z>0.00000000000000000000</z>
</translate>
<rotate>
<x>0.00000000000000000000</x>
<y>0.00000000000000000000</y>
<z>0.00000000000000000000</z>
</rotate>
<scale>
<x>1.0000000000</x>
<y>1.0000000000</y>
</scale>
<size>
<width>170.000000</width>
<height>96.000000</height>
</size>
</tag>
<tag type="pas1" />
<tag type="pic1" name="Picture_00" userdata="">
<visible>01</visible>
<WidescreenAffected>01</WidescreenAffected>
<flag>00</flag>
<origin x="Center" y="Center" />
<alpha>ff</alpha>
<padding>00</padding>
<translate>
<x>0.00000000000000000000</x>
<y>0.00000000000000000000</y>
<z>0.00000000000000000000</z>
</translate>
<rotate>
<x>0.00000000000000000000</x>
<y>0.00000000000000000000</y>
<z>0.00000000000000000000</z>
</rotate>
<scale>
<x>1.0000000000</x>
<y>1.0000000000</y>
</scale>
<size>
<width>170.000000</width>
<height>96.000000</height>
</size>
<material name="Picture_00" />
<colors>
<vtxColorTL r="ff" g="ff" b="ff" a="ff" />
<vtxColorTR r="ff" g="ff" b="ff" a="ff" />
<vtxColorBL r="ff" g="ff" b="ff" a="ff" />
<vtxColorBR r="ff" g="ff" b="ff" a="ff" />
</colors>
<coordinates>
<set>
<coordTL s="0.000000" t="0.000000" />
<coordTR s="1.000000" t="0.000000" />
<coordBL s="0.000000" t="1.000000" />
<coordBR s="1.000000" t="1.000000" />
</set>
</coordinates>
</tag>
<tag type="pas1" />
<tag type="pae1" />
<tag type="grp1" name="RootGroup" />
</xmlyt>


thanks for any help, and I will stop asking questions for now XD


25 Feb 2011, 22:18
Report this post
Profile
Wii Theme Team
User avatar

Joined: 14 Mar 2010, 17:04
Posts: 194
Has thanked: 0 time
Have thanks: 29 time
Post Re: animating the icon of a channel? how?
for starters remove the pas1 tag at the end of the brlyt you have no need for it and it could be why you are getting the icon brick

to do a gif type animation like you want only the first image needs to be in the brlyt
you need to list all the tpls in the brlan and use a RLTP tag to set when each tpl is on screen

the icon brlan and the banner brlan can be used in the icon or the banner for a RLTP animation but not the brlyt as the brlyt sets the size of the output which is 170x96 in the icon and 608x456 in the banner

_________________
Image


26 Feb 2011, 00:56
Report this post
Profile
Site Admin
User avatar

Joined: 14 Mar 2010, 10:21
Posts: 233
Location: Røros, Norway
Has thanked: 10 time
Have thanks: 13 time
Post Re: animating the icon of a channel? how?
I recall having heard the newest benzin screws up the icon.brlyt.
You could try an older revision. ;)

_________________
Image
Meh sitez: http://pbsds.net/blog


26 Feb 2011, 01:01
Report this post
Profile

Joined: 25 Feb 2011, 21:44
Posts: 4
Has thanked: 0 time
Have thanks: 0 time
Post Re: animating the icon of a channel? how?
thanks for the answers, I will try your suggestions asap. But there is another thing that seems to go wrong, it's with the xmlan. This is my original icon.xmlan file:

<?xml version="1.0"?>
<xmlan version="1.1.317BETA" framesize="120" flags="01">
<timg name="Icon_0000.tpl" />
<timg name="Icon_0001.tpl" />
<timg name="Icon_0002.tpl" />
<timg name="Icon_0003.tpl" />
<timg name="Icon_0004.tpl" />
<timg name="Icon_0005.tpl" />
<timg name="Icon_0006.tpl" />
<timg name="Icon_0007.tpl" />
<timg name="Icon_0008.tpl" />
<timg name="Icon_0009.tpl" />
<timg name="Icon_000A.tpl" />
<timg name="Icon_000B.tpl" />
<timg name="Icon_000C.tpl" />
<timg name="Icon_000D.tpl" />
<timg name="Icon_000E.tpl" />
<timg name="Icon_000F.tpl" />
<timg name="Icon_0010.tpl" />
<timg name="Icon_0011.tpl" />
<timg name="Icon_0012.tpl" />
<timg name="Icon_0013.tpl" />
<timg name="Icon_0014.tpl" />
<timg name="Icon_0015.tpl" />
<timg name="Icon_0016.tpl" />
<timg name="Icon_0017.tpl" />
<pane name="AnimMaterial" type="1">
<tag type="RLTP">
<entry type="X Translation">
<pair>
<data1>000.000000000000000</data1>
<data2>0000</data2>
<padding>0000</padding>
</pair>
<pair>
<data1>005.000000000000000</data1>
<data2>0001</data2>
<padding>0000</padding>
</pair>
<pair>
<data1>010.000000000000000</data1>
<data2>0002</data2>
<padding>0000</padding>
</pair>
<pair>
<data1>015.000000000000000</data1>
<data2>0003</data2>
<padding>0000</padding>
</pair>
<pair>
<data1>020.000000000000000</data1>
<data2>0004</data2>
<padding>0000</padding>
</pair>
<pair>
<data1>025.000000000000000</data1>
<data2>0005</data2>
<padding>0000</padding>
</pair>
<pair>
<data1>030.000000000000000</data1>
<data2>0006</data2>
<padding>0000</padding>
</pair>
<pair>
<data1>035.000000000000000</data1>
<data2>0007</data2>
<padding>0000</padding>
</pair>
<pair>
<data1>040.000000000000000</data1>
<data2>0008</data2>
<padding>0000</padding>
</pair>
<pair>
<data1>045.000000000000000</data1>
<data2>0009</data2>
<padding>0000</padding>
</pair>
<pair>
<data1>050.000000000000000</data1>
<data2>000a</data2>
<padding>0000</padding>
</pair>
<pair>
<data1>055.000000000000000</data1>
<data2>000b</data2>
<padding>0000</padding>
</pair>
<pair>
<data1>060.000000000000000</data1>
<data2>000c</data2>
<padding>0000</padding>
</pair>
<pair>
<data1>065.000000000000000</data1>
<data2>000d</data2>
<padding>0000</padding>
</pair>
<pair>
<data1>070.000000000000000</data1>
<data2>000e</data2>
<padding>0000</padding>
</pair>
<pair>
<data1>075.000000000000000</data1>
<data2>000f</data2>
<padding>0000</padding>
</pair>
<pair>
<data1>080.000000000000000</data1>
<data2>0010</data2>
<padding>0000</padding>
</pair>
<pair>
<data1>085.000000000000000</data1>
<data2>0011</data2>
<padding>0000</padding>
</pair>
<pair>
<data1>090.000000000000000</data1>
<data2>0012</data2>
<padding>0000</padding>
</pair>
<pair>
<data1>095.000000000000000</data1>
<data2>0013</data2>
<padding>0000</padding>
</pair>
<pair>
<data1>100.000000000000000</data1>
<data2>0014</data2>
<padding>0000</padding>
</pair>
<pair>
<data1>105.000000000000000</data1>
<data2>0015</data2>
<padding>0000</padding>
</pair>
<pair>
<data1>110.000000000000000</data1>
<data2>0016</data2>
<padding>0000</padding>
</pair>
<pair>
<data1>115.000000000000000</data1>
<data2>0017</data2>
<padding>0000</padding>
</pair>
</entry>
</tag>
</pane>
</xmlan>


And after I convert the icon.xmlan to an icon.brlan and again to a .xmlan, it looks like this:

<?xml version="1.0" encoding="utf-8"?>
<xmlan version="1.9.9BETA" framesize="120" flags="01">
<timg name="Icon_0000.tpl" />
<timg name="Icon_0001.tpl" />
<timg name="Icon_0002.tpl" />
<timg name="Icon_0003.tpl" />
<timg name="Icon_0004.tpl" />
<timg name="Icon_0005.tpl" />
<timg name="Icon_0006.tpl" />
<timg name="Icon_0007.tpl" />
<timg name="Icon_0008.tpl" />
<timg name="Icon_0009.tpl" />
<timg name="Icon_000A.tpl" />
<timg name="Icon_000B.tpl" />
<timg name="Icon_000C.tpl" />
<timg name="Icon_000D.tpl" />
<timg name="Icon_000E.tpl" />
<timg name="Icon_000F.tpl" />
<timg name="Icon_0010.tpl" />
<timg name="Icon_0011.tpl" />
<timg name="Icon_0012.tpl" />
<timg name="Icon_0013.tpl" />
<timg name="Icon_0014.tpl" />
<timg name="Icon_0015.tpl" />
<timg name="Icon_0016.tpl" />
<timg name="Icon_0017.tpl" />
<pane name="AnimMaterial" type="1">
<tag type="RLTP" />
</pane>
</xmlan>


Everything under the RLTP tag is gone, does anybody know why this happens? Did I possibly forget something?


26 Feb 2011, 10:27
Report this post
Profile
Site Admin
User avatar

Joined: 14 Mar 2010, 10:21
Posts: 233
Location: Røros, Norway
Has thanked: 10 time
Have thanks: 13 time
Post Re: animating the icon of a channel? how?
Maybe that is what benzin screws up?
You could to try an older revision, and check if it's doing the same. :)

_________________
Image
Meh sitez: http://pbsds.net/blog


26 Feb 2011, 11:37
Report this post
Profile
Wii Theme Team
User avatar

Joined: 14 Mar 2010, 17:04
Posts: 194
Has thanked: 0 time
Have thanks: 29 time
Post Re: animating the icon of a channel? how?
at a guess its one of the bugs in benzin 1.9.9 there was quite a lot of bugs in that version of benzin

the best one for beginners is 1.2.1 i still use it myself plus all of the wiki was written focusing on this version

_________________
Image


26 Feb 2011, 11:39
Report this post
Profile

Joined: 25 Feb 2011, 21:44
Posts: 4
Has thanked: 0 time
Have thanks: 0 time
Post Re: animating the icon of a channel? how?
thanks for your help, but sadly it still doesn't want to work. Well there's one good thing - the content under the RLTP tag in the icon.xmlan doesn't disappear anymore when using benzin 1.2.1. However the channel still freezes the wii menu. I will try to start from scratch and report back if there are other / hopefully better results.


26 Feb 2011, 13:55
Report this post
Profile
Site Admin
User avatar

Joined: 13 Mar 2010, 11:57
Posts: 448
Has thanked: 24 time
Have thanks: 43 time
Post Re: animating the icon of a channel? how?
Welcome... I always like to hear about someone new experimenting with this stuff. I hope you stick at it.

You need to narrow down what's causing the issue.

Start by taking the brl file, converting it to xml then back to brl (change nothing).

Put that new brl in a wad and install it.

Check if it bricks or not.

Looking at your xml above I think your issue is the number of images you are trying to use. You have too many - you will never be able to use 23 images of 170x96 in the icon, it's too big in total for the Wii to cope with.

Try doing the same thing, but with 3 images - I bet it will work.

v1.9.9 is not causing the issue here - it does not make bricks (unless you get something wrong). The reason you eneded up with a blank xml is becuase you mixed versions, you used 1.1.317 to go brl>xml and you used 1.9.9 togo xml>brl (you mst use the same version).

_________________
This signature is loading. Please wait.
Image


27 Feb 2011, 07:52
Report this post
Profile

Joined: 25 Feb 2011, 21:44
Posts: 4
Has thanked: 0 time
Have thanks: 0 time
Post Re: animating the icon of a channel? how?
yeah I already thought that I might have to many images and that this is the reason why it always freezes. I will try it with 2 or 3 images and see what happens


27 Feb 2011, 16:00
Report this post
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred