PDA

View Full Version : How disable my programs in main menu?


alice
2005-09-05, 17:47
hi all,

is it possible to disable my programms in main menu?

alice :thumbsup:

Dankula
2005-09-05, 19:23
you mean remove the ability to see it or the ability to select it? in either case, if you're using pm3 then edit the home.xml file.

if you don't mind the button being there and just disabled then delete the following line from the my programs normal push button section:

<hyperlink>1</hyperlink>


if you want to totally eliminate the button alltogether then do this (bear in mind that the picture of the button itself will still be there, as it's part of the home background picture, but it will have no label and will not be selectable:

delete this section:

<control>
<description>my programs normal push button</description>
<type>button</type>
<id>2</id>
<posx>91</posx>
<posy>231</posy>
<width>14</width>
<height>13</height>
<label>0</label>
<font>special13</font>
<hyperlink>1</hyperlink>
<onleft>98</onleft>
<onright>97</onright>
<onup>9</onup>
<ondown>4</ondown>
<texturefocus>home-focus.gif</texturefocus>
<texturenofocus>-</texturenofocus>
<textoffsetx>30</textoffsetx>
<visible effect="fade" time="200">!player.hasaudio | ![player.hasaudio + system.idletime(60)]</visible>
</control>

change the my pictures normal push button to read
<onup>9</onup>

change the setting normal push button to read
<ondown>4</ondown>

make the same change to my files normal push button

and for the xlink kai conditional button and both submenu buttons below it change it to read:

<onup>4</onup>
<ondown>4</ondown>


make any sense? i think i got myself a bit confused explaining that.

alice
2005-09-05, 21:52
hmm,

ok! done!, works fine... :)

so now i will hide this button totally...
where can i find this background pic. to edit it a little bit :lookaround:

alice

Dankula
2005-09-07, 10:46
all of the pictures are compressed into the textures.xpr file in the skin/pm3/media folder. there's no way to decompress it, so you need to grab the proper file from the cvs (in this case 4x3home.png or 16x19home.png if you use a widescreen setup), modify it, put it in the media folder with a different name (for example background.png) and change your home.xml to read:


<control>
<description>background image</description>
<type>image</type>
<id>1</id>
<posx>0</posx>
<posy>0</posy>
<width>720</width>
<height>576</height>
<texture>backround.png</texture>
</control>