Ok so here is the jump button. It allows you to jump from any section to another section quickly. This is a mod for PM3. I'm using the Tech Build from 3-20-2006. I haven't tried this mod with later releases but it should work.
This is a long post but a very easy mod to do.
You will need to customize this mod to work properly with your version of XBMC. I'll explain when I get to that part.
First you are going to be editting the DialogButtonMenu.xml file. You can find this in the Pal folder in the Project Mayhem III skin folder. This is the menu that shows up when you press the right thumb stick in.
Okay all we are going to do is move a fuction from one button and add it to another button. This is so we can use the existing graphic for this button for our new button.
I chose to move the Restart button to the Shutdown button. Here is how to do it.
This is what the Restart button looks like in the xml file.
CODE
<control>
<description>reboot button</description>
<type>button</type>
<id>3114</id>
<posx>270</posx>
<posy>5</posy>
<width>60</width>
<height>65</height>
<texturefocus>sub-reboot-focus.gif</texturefocus>
<texturenofocus>sub-reboot-nofocus.png</texturenofocus>
<onclick>XBMC.Reset()</onclick>
<pulseonselect>no</pulseonselect>
<onleft>3113</onleft>
<onright>3110</onright>
<onup>3114</onup>
<ondown>3114</ondown>
<font>-</font>
<label>13313</label>
</control>
This is what you will change it to.
CODE
<control>
<description>reboot button</description>
<type>button</type>
<id>1206</id>
<posx>210</posx>
<posy>5</posy>
<width>60</width>
<height>65</height>
<texturefocus>sub-shutdown-focus.gif</texturefocus>
<texturenofocus>-</texturenofocus>
<onclick>XBMC.Reset()</onclick>
<pulseonselect>no</pulseonselect>
<onleft>1206</onleft>
<onright>1206</onright>
<onup>3112</onup>
<ondown>3116</ondown>
<font>-</font>
<label>Restart Xbox</label>
</control>
This has changed the location of the Restart button and changed the button graphic displayed when on this button. This button will now be one down press on the dpad when the Shutdown button is highlighted.
You will need to make a change to the Shutdown button
This is the original
CODE
<control>
<description>Shutdown button</description>
<type>button</type>
<id>3112</id>
<posx>150</posx>
<posy>5</posy>
<width>60</width>
<height>65</height>
<texturefocus>sub-shutdown-focus.gif</texturefocus>
<texturenofocus>sub-shutdown-nofocus.png</texturenofocus>
<onclick>XBMC.ShutDown()</onclick>
<pulseonselect>no</pulseonselect>
<onleft>3111</onleft>
<onright>3113</onright>
<onup>3115</onup>
<ondown>3116</ondown>
<font>-</font>
<label>13005</label>
</control>
This is the change.
CODE
<control>
<description>Shutdown button</description>
<type>button</type>
<id>3112</id>
<posx>210</posx>
<posy>5</posy>
<width>60</width>
<height>65</height>
<texturefocus>sub-shutdown-focus.gif</texturefocus>
<texturenofocus>sub-shutdown-nofocus.png</texturenofocus>
<onclick>XBMC.ShutDown()</onclick>
<pulseonselect>no</pulseonselect>
<onleft>3114</onleft>
<onright>3113</onright>
<onup>3115</onup>
<ondown>1206</ondown>
<font>-</font>
<label>13005</label>
</control>
All we did with this last change is changed it's position on the screen and changed which item it goes to when down is pressed on the dpad.
One last change for this section. When down is pressed on the unmodified Shutdown button it takes you to the Restart XBMC button. Well we have changed that with this mod so now we need to modify the Restart XBMC entry to work properly.
Here is the original
CODE
<control>
<description>reload xbmc button</description>
<type>button</type>
<id>3116</id>
<posx>150</posx>
<posy>5</posy>
<width>60</width>
<height>65</height>
<texturefocus>sub-shutdown-focus.gif</texturefocus>
<texturenofocus>-</texturenofocus>
<onclick>XBMC.RestartApp()</onclick>
<pulseonselect>no</pulseonselect>
<onleft>3116</onleft>
<onright>3116</onright>
<onup>3112</onup>
<ondown>3112</ondown>
<font>-</font>
<label>Restart XBMC</label>
</control>
Here is the modified version
CODE
<control>
<description>reload xbmc button</description>
<type>button</type>
<id>3116</id>
<posx>210</posx>
<posy>5</posy>
<width>60</width>
<height>65</height>
<texturefocus>sub-shutdown-focus.gif</texturefocus>
<texturenofocus>-</texturenofocus>
<onclick>XBMC.RestartApp()</onclick>
<pulseonselect>no</pulseonselect>
<onleft>3116</onleft>
<onright>3116</onright>
<onup>1206</onup>
<ondown>3112</ondown>
<font>-</font>
<label>Restart XBMC</label>
</control>
All we did here is change which item it goes to on an up press on the dpad.
Alright so now the graphic for the Restart button is not being used. This is the graphic we are going to use for the Jump button.
For my setup I wanted to get to any screen from this jump button. I need buttons for TV, Movies, Music, Games, Programs, Pictures, and Home. The reason there is a home button is because once you start navigating with the jump button every time you press back it takes you to the previous screen you were in.
Here is the additions for the jump button.
CODE
<control>
<description>TV button</description>
<type>button</type>
<id>3114</id>
<posx>150</posx>
<posy>5</posy>
<width>60</width>
<height>65</height>
<texturefocus>sub-reboot-focus.gif</texturefocus>
<texturenofocus>sub-reboot-nofocus.png</texturenofocus>
<onclick>XBMC.ActivateWindow(MyVideos,TV)</onclick>
<pulseonselect>no</pulseonselect>
<onleft>3111</onleft>
<onright>3112</onright>
<onup>1205</onup>
<ondown>1200</ondown>
<font>-</font>
<label>TV</label>
</control>
<control>
<description>Movies button</description>
<type>button</type>
<id>1200</id>
<posx>150</posx>
<posy>5</posy>
<width>60</width>
<height>65</height>
<texturefocus>sub-reboot-focus.gif</texturefocus>
<texturenofocus>-</texturenofocus>
<onclick>XBMC.ActivateWindow(MyVideos,Movies)</onclick>
<pulseonselect>no</pulseonselect>
<onleft>3111</onleft>
<onright>3112</onright>
<onup>3114</onup>
<ondown>1202</ondown>
<font>-</font>
<label>Movies</label>
</control>
<control>
<description>Games button</description>
<type>button</type>
<id>1201</id>
<posx>150</posx>
<posy>5</posy>
<width>60</width>
<height>65</height>
<texturefocus>sub-reboot-focus.gif</texturefocus>
<texturenofocus>-</texturenofocus>
<onclick>XBMC.ActivateWindow(MyPrograms,Games)</onclick>
<pulseonselect>no</pulseonselect>
<onleft>3111</onleft>
<onright>3112</onright>
<onup>1202</onup>
<ondown>1203</ondown>
<font>-</font>
<label>Games</label>
</control>
<control>
<description>Music button</description>
<type>button</type>
<id>1202</id>
<posx>150</posx>
<posy>5</posy>
<width>60</width>
<height>65</height>
<texturefocus>sub-reboot-focus.gif</texturefocus>
<texturenofocus>-</texturenofocus>
<onclick>XBMC.ActivateWindow(MyMusic,Albums)</onclick>
<pulseonselect>no</pulseonselect>
<onleft>3111</onleft>
<onright>3112</onright>
<onup>1200</onup>
<ondown>1201</ondown>
<font>-</font>
<label>Music</label>
</control>
<control>
<description>Programs button</description>
<type>button</type>
<id>1203</id>
<posx>150</posx>
<posy>5</posy>
<width>60</width>
<height>65</height>
<texturefocus>sub-reboot-focus.gif</texturefocus>
<texturenofocus>-</texturenofocus>
<onclick>XBMC.ActivateWindow(MyPrograms,Programs)</onclick>
<pulseonselect>no</pulseonselect>
<onleft>3111</onleft>
<onright>3112</onright>
<onup>1202</onup>
<ondown>1204</ondown>
<font>-</font>
<label>Programs</label>
</control>
<control>
<description>Pictures button</description>
<type>button</type>
<id>1204</id>
<posx>150</posx>
<posy>5</posy>
<width>60</width>
<height>65</height>
<texturefocus>sub-reboot-focus.gif</texturefocus>
<texturenofocus>-</texturenofocus>
<onclick>XBMC.ActivateWindow(MyPictures,Pictures)</onclick>
<pulseonselect>no</pulseonselect>
<onleft>3111</onleft>
<onright>3112</onright>
<onup>1203</onup>
<ondown>1205</ondown>
<font>-</font>
<label>Pictures</label>
</control>
<control>
<description>Home button</description>
<type>button</type>
<id>1205</id>
<posx>150</posx>
<posy>5</posy>
<width>60</width>
<height>65</height>
<texturefocus>sub-reboot-focus.gif</texturefocus>
<texturenofocus>-</texturenofocus>
<onclick>XBMC.ActivateWindow(0)</onclick>
<pulseonselect>no</pulseonselect>
<onleft>3111</onleft>
<onright>3112</onright>
<onup>1204</onup>
<ondown>3114</ondown>
<font>-</font>
<label>Home</label>
</control>
This latest addition is what you will need to customize. In this section
CODE
<onclick>XBMC.ActivateWindow(MyVideos,TV)</onclick>
You will need to rename TV to whatever the name is of a bookmark in the myvideos section of your XboxMediaCenter.xml file. This should be done for each different section such as MyPrograms, MyPictures, MyVideos, MyMusic.
You can customize any of this to jump to anything that you want like Shoutcast, Itunes, and etc.
There is one last thing to do before we are done. We need to change the default of the DialogButtonMenu to our new jump button.
This is the section to change
CODE
<defaultcontrol>3112</defaultcontrol>
This can be found at the top of the xml. Here is the change.
CODE
<defaultcontrol>3114</defaultcontrol>
Now our jump button is the default. This can be change to default to anyone of the main buttons.
Well, I hope that wasn't too confusing. If you don't understand a part let me know and I'll try to help you out. If you can think of anything to make this better let me know.
Alright, so there is a skin mod submission from me. Lets see some of the other mods people have come up with.
This post has been edited by Abe87: Apr 19 2006, 03:12 AM