xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
 
Reply to this topicStart new topic
> Direct Tab To Games (code Snippets)
-pSy-
post Jan 6 2009, 12:07 AM
Post #1


X-S Enthusiast


Group: Members
Posts: 9
Joined: 14-March 06
Member No.: 275561



I've been wanting to set up a 'near stock' xbox dash that can run games and emu's stored on the HD, but didn't like having the confusing 4-way Hard Drive menu of UIX.

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";
        }

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();
        }


Then around line 263:
CODE
    function OnActivate()
    {
        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();
    }


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;

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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
-pSy-
post Jan 6 2009, 12:46 AM
Post #2


X-S Enthusiast


Group: Members
Posts: 9
Joined: 14-March 06
Member No.: 275561



Sorry, forgot a chunk, and can't edit my post:

in default.xip/hard_drive.xap
Find:
CODE
            else
            {
                PlaySoundB();
                c.MU_back_pod_HL.children[0].appearance.material.param = 1;
                theHardDriveMenu.GoBackTo();
                theGamesSubMenuOut.Play();
            }

And make it look like:
CODE
            else
            {
                PlaySoundB();
                //c.MU_back_pod_HL.children[0].appearance.material.param = 1;
                //theHardDriveMenu.GoBackTo();
                // mod by -pSy- 2 lines, previous 2 commented out
                curMenuItem = 1;
                theMainMenu.GoBackTo();
                theGamesSubMenuOut.Play();
            }


Now it will skip back out to the main orb.

Sorry and thanks for looking...

-pSy
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 22nd May 2013 - 02:47 AM