Jump to content


Photo

Drop Down Menus


  • Please log in to reply
2 replies to this topic

#1 Little-G

Little-G

    X-S Senior Member

  • Members
  • PipPip
  • 176 posts
  • Xbox Version:v1.4
  • 360 version:v3.0 (falcon)

Posted 15 December 2007 - 04:42 PM

in order to get the drop down menus from thc lite / thc follow this guide.

first crack open your default.xip/default.xap. at the top you will see

CODE
//only need these if you are going to use the old drop down style hd menus...
//DEF theGamesMenu             TitleMenu
//DEF theApplicationsMenu     TitleMenu
//DEF theEmulatorsMenu         TitleMenu
//DEF theDashboardsMenu     TitleMenu


uncomment all of these functions.

now search for
CODE
InitializeMenus();


until you come across

CODE
    //InitializeMenus(); //not needed with new hd menu - use to init menus if using drop down menus


uncomment this function.

finally search for
CODE
GoToHardDrive();


and replace the function for
CODE
GoToMusicPlayWithSubs();


should look like this

CODE
           else if(nCurMainMenuItem == 2)
           {
               theSettingsMenuIn.Play();
               GoToMusicPlayWithSubs();
           }


close and save default.xap

now open default.xip/music_play_with_subs.xap

search for
CODE
url "music_play_edit/menu.xap"


and replace with
CODE
url "music_play_edit/default3.xap"


close and save music_play_with_subs.xap, save your default.xip, ftp and.... ENJOY

#2 Little-G

Little-G

    X-S Senior Member

  • Members
  • PipPip
  • 176 posts
  • Xbox Version:v1.4
  • 360 version:v3.0 (falcon)

Posted 18 December 2007 - 10:01 PM

and here's some simple code to switch between memory style and music play in the config pop.gif

open your default.xip/default.xap and search for "GoToHardDrive();" or "GoToMusicPlayWithSubs();" depending on whcih you're using. replace the function for "HardDriveCheck();" and it should look like this

CODE
           else if(nCurMainMenuItem == 2)
           {
               theSettingsMenuIn.Play();
               HardDriveCheck();
           }


then at the bottom the xap add this

CODE
function HardDriveCheck()
{    
    var IniFile = new Settings;
    IniFile.SetIniSection( "Memory Hard Drive" );
    var a = IniFile.GetIniValue( "Enabled" );
    IniFile.CloseIniFile();
    
    if( a == "true" ) { GoToHardDrive(); }
    else if( a == "false" ) { GoToMusicPlayWithSubs(); }
    else { return; }
}


close default.xap and open up config.xap. search for

CODE
Music Initial Volume:

and underneath it add the new option, this is the two together:
CODE
    configList[i] = "Music Initial Volume:";
    configValues[i] = "c-Music On Boot-volume";
    configSelect[i] = "ConfigKeyB()";
    i = i + 1;
    configList[i] = "Memory Style Hard Drive Menu:";
    configValues[i] = "c-Memory Hard Drive-Enabled";
    configSelect[i] = "ToggleTF()";
    i = i + 1;


finally open your uix.ini and add
CODE
[Memory Hard Drive]
Enabled=true
to the bottom

pop.gif

#3 loonytoonz90

loonytoonz90

    X-S Member

  • Members
  • Pip
  • 79 posts
  • Location:camden NJ
  • Interests:xboxs
  • Xbox Version:v1.0
  • 360 version:none

Posted 05 February 2008 - 04:06 AM

nice u got any more for U.I.X???




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users