Help - Search - Members - Calendar
Full Version: Drop Down Menus
Scenyx Entertainment Community > Xbox1 Forums > Dashboard Forums > Official Team UIX Forums > User.Interface.X (UIX) Code
Little-G
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
Little-G
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
loonytoonz90
nice u got any more for U.I.X???
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.