Ok, the UIX dash was released this morning and already a lot of people are asking about the 4th menu tab and how to edit some of the code. Well here it is:
Ok first off, you want to open the Default.xip file with WinXip ( if you dont have it, do a google search, youll find it). Get the default.xip file from the xip folder in the UIX dir. If its on your xbox hdd already just ftp over and find it in the xip folder.
With the default.xip open youll see a bunch of files within the xip, we are only going to extract the default.xap file.
Right click the default.xap file and select extract.
Put it somewhere on your hdd where you will be able to find it and leave WinXip open.
Goto the default.xap file on your hdd and open it with notepad.
Ok now here comes the editing part:
Hit ctrl+f to open up the find window.
Now put m_nbutton in the text box and hit search until you see this code:
theScreenSaver.StartAfter( 600 );
theScreenSaver.SetDelay2 ( 900 );
theScreenSaver.SetDelay3 ( 1200 );
theConfig.SetAutoOffTime( 3.0 ); //how long till system powers itself off after inactivity
//InitializeMenus(); //not needed with new hd menu - use to init menus if using drop down menus
now right after that will be:
m_nbuttons = 3;//number of buttons in main menu
change that 3 to a 4 and now you will have the 4th tab, but now we need to make that tab work.
So open the find window again (ctrl+f) and now put this in the text box control DEF theMainMenuJoy Joystick
Now here is the part where you can change your menu around. The order of my tabs are Music, XBMC, HDD, Config. So thats what were gonna do here.
Ok under control DEF theMainMenuJoy Joystick your going to see this:
if(nCurMainMenuItem == 0)
{
theMusicMenuIn.Play();
GoToMusic();
}
this is the settings for the first menu tab (music) yours should be the same.
The second tab will be the XBMC tab. It should look like this:
else if(nCurMainMenuItem == 1)
{
theSettingsMenuIn.Play();
theHardDrive.ExecuteFile("f:\\apps\\media center\\default.xbe" );
}
this is where you put the location of XBMC. Just copy the code from here and put the location of .xbe in the ().
This third tab will be the hard drive. The code should look like this:
else if(nCurMainMenuItem == 2)
{
theSettingsMenuIn.Play();
GoToHardDrive();
}
Finally the last tab is the UIX settings menu, the code should look like this:
else if(nCurMainMenuItem == 3)
{
theSettingsMenuIn.Play();
GoToSettings();
}
ok now that you have edited everything you needed to edit in the .xap file. Go to WinXip, and right click in the window that has the default.xip open.
Select inject, and find the default.xap file you just edited.
Hit, ok and go to File > Save at the top of the program window.
Exit out of WinXip and go to your FTP program.
FTP the new .xip file to the xip folder in the UIX dir.
Now boot up UIX.
Go to the settings or configuration tab, goto dash configuration > Main Menu tabs.
And name the tabs how you ordered them in the .xap file.
Reboot the dash and your done!!
tutorial by: ShawniE_O
if you have ne problems PM me on EFnet ShawniE_O