These bits allow you to make the Hard Drive tab go straight into the Games sub-menu and return back to the main orb without ever seeing the 4-way Hard Drive menu.
One drawback is that you literally can't get to the Hard Drive menu at all, I havn't figured out how to pass an option with the Hard Drive tab to enable this, so it actually changes the Hard Drive code to only 'Games'
Here Goes:
Open default.xip/hard_drive.xap:
Find this around line 112:
CODE
else if(curMenuItem == 1)
{
c.controllerText2Mat.name = "HilightedType";
c.MEM_L1_controller2_panel.children[0].appearance.texture.url = "menu_hilight.xbx";
c.PanelText1.text = c.Menu2Text.text + " Menu";
}
{
c.controllerText2Mat.name = "HilightedType";
c.MEM_L1_controller2_panel.children[0].appearance.texture.url = "menu_hilight.xbx";
c.PanelText1.text = c.Menu2Text.text + " Menu";
}
And replace it with (or add these 2/3 lines at the end:
CODE
else if(curMenuItem == 1)
{
c.controllerText2Mat.name = "HilightedType";
c.MEM_L1_controller2_panel.children[0].appearance.texture.url = "menu_hilight.xbx";
c.PanelText1.text = c.Menu2Text.text + " Menu";
// mod by -pSy- 2 lines
theTitlesMenu.GoTo();
theGamesSubMenuIn.Play();
}
{
c.controllerText2Mat.name = "HilightedType";
c.MEM_L1_controller2_panel.children[0].appearance.texture.url = "menu_hilight.xbx";
c.PanelText1.text = c.Menu2Text.text + " Menu";
// mod by -pSy- 2 lines
theTitlesMenu.GoTo();
theGamesSubMenuIn.Play();
}
Then around line 263:
CODE
function OnActivate()
{
CurrentViewpoint = theHardDriveMenuViewpoint;
CurrentAltViewpoint = AlternateHardDriveMenuViewpoint;
EnableAudio();
}
{
CurrentViewpoint = theHardDriveMenuViewpoint;
CurrentAltViewpoint = AlternateHardDriveMenuViewpoint;
EnableAudio();
}
Replace it with (or add these 3/5 lines)
CODE
function OnActivate()
{
//mod by -pSy- 1 line
curMenuItem = 1;
CurrentViewpoint = theHardDriveMenuViewpoint;
CurrentAltViewpoint = AlternateHardDriveMenuViewpoint;
EnableAudio();
// mod by -pSy- 2 lines
theTitlesMenu.GoTo();
theGamesSubMenuIn.Play();
}
{
//mod by -pSy- 1 line
curMenuItem = 1;
CurrentViewpoint = theHardDriveMenuViewpoint;
CurrentAltViewpoint = AlternateHardDriveMenuViewpoint;
EnableAudio();
// mod by -pSy- 2 lines
theTitlesMenu.GoTo();
theGamesSubMenuIn.Play();
}
Now when you hit the 'Hard Drive' tab, it goes straight to the Games.
Optional: change the:
CODE
//mod by -pSy- 1 line
curMenuItem = 1;
curMenuItem = 1;
As follows:
- 0 - Applications
- 1 - Games
- 2 - Emulators
- 3 - Dashboards
Enjoy, and Good luck...
BTW: If anyone can mod this so we can have more than one tab, it'd be great. Just have to figure out how to pass an option to the Hard Drive stack when it opens.
-pSy