ShawniE_O
Jan 3 2005, 10:23 PM
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 don’t have it, do a google search, you’ll 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 you’ll 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 that’s what we’re 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
FireSokar
Jan 4 2005, 12:08 AM
this is in the wrong spot and he copied my fucking code snippet and managed to fucking make it more confuseing for the enduser dumbass
ShawniE_O
Jan 4 2005, 07:07 AM
QUOTE(FireSokar @ Jan 4 2005, 12:39 AM)
this is in the wrong spot and he copied my fucking code snippet and managed to fucking make it more confuseing for the enduser dumbass
yo i didnt copy ur code at all...i didnt even know your post was up...calm down buddy, it dont matter
mrp04
Jan 4 2005, 09:18 PM
QUOTE(FireSokar @ Jan 4 2005, 12:39 AM)
this is in the wrong spot and he copied my fucking code snippet and managed to fucking make it more confuseing for the enduser dumbass
you know, its going to be the same on everybodys dashboard, they are all the same...
but this guy says how to put xmbc not memory
grindbg
Jan 6 2005, 05:53 PM
Can u add some code for yes/no dialoge to comes up?
mateoleone
Jan 11 2005, 04:33 AM
I can't get my fourth tab to execute an xbe. I can get it to point to memory or the hard drive but it won't point to anything beyond that. When I try it just reboots my box. Anyone know why?
Infamous_One
Jan 12 2005, 07:19 AM
QUOTE(FireSokar @ Jan 4 2005, 12:39 AM)
this is in the wrong spot and he copied my fucking code snippet and managed to fucking make it more confuseing for the enduser dumbass
i think this one is better cause it shows the code for launching an App or Game
mateoleone
Jan 13 2005, 12:18 AM
Thanks ShawniE_O and Infamous One, it worked. Now if I could just get the title menu to cooperate with the same ease I'll be chillin like a villian.
jakeboy
Jan 14 2005, 12:47 PM
O.k., ShawniE_O and Infamous One, thanks. Now under Dashboard Configuration - Main Menu Tabs - how do you change the tab text name so it will match the choice of what is being executed? Instead of:
Memory Tab Text: Music
Music Tab Text: XBMC
Have it show:
Music Tab Text: Music
Program Tab Text: XBMC
Or can there just be a generic name for all of the text used in a future update to the dash if these names(words) are hard coded?
conners
Feb 15 2005, 01:20 PM
i`m stuck, i`ve managed to get the 4th tab on screen and i`ve renamed it to kai online, but when i select it, it does nothing. i`ve added the code to point at the default.xbe in my kai online folder.
control DEF theMainMenuJoy Joystick
{
function OnADown()
{
PlaySoundA();
if(nCurMainMenuItem == 0)
{
theMusicMenuIn.Play();
GoToMusic();
}
else if(nCurMainMenuItem == 1)
{
theSettingsMenuIn.Play();
GoToHardDrive.ExecuteFile("f:\\Kai Xlink\\Default.xbe");
}
else if(nCurMainMenuItem == 2)
{
theSettingsMenuIn.Play();
GoToHardDrive();
}
else if(nCurMainMenuItem == 3)
{
theSettingsMenuIn.Play();
GoToSettings();
}
}
can any1 help me im stuck now. im tryig to use xbmc only for the online part, as xbmc boots it takes me straight into kai online
Dazza
Feb 15 2005, 02:14 PM
Try changing this
GoToHardDrive.ExecuteFile("f:\\Kai Xlink\\Default.xbe");
into
theHardDrive.ExecuteFile("f:\\Kai Xlink\\Default.xbe");
conners
Feb 15 2005, 02:16 PM
still doesnt work.
Dazza
Feb 15 2005, 02:40 PM
The code looks OK and should work.
Are u sure you have a folder in the root of F called "kai xlink" and if so check there is a file called "default.xbe" in there.
And if so does it work if you try and launch it from the file manager?
conners
Feb 15 2005, 02:45 PM
yeah, i`ve checked and checked my the path to the default.xbe, and yes i can launch it from the file manager without a problem
Millenia1x
Feb 20 2005, 03:07 AM
fu
Acronomic
Feb 23 2005, 01:08 PM
I'm having the same problem conners, only with XBMC... the code should be right, and the patch is correct... but it won't work, the dash just reboots.
----EDIT
I managed to get it to work by manually starting XBMC from the apps menu, then restarting. I have no idea why that worked though.
ginked
May 16 2005, 06:54 AM
does this work with the new build?
TB_88
Jun 6 2005, 07:11 PM
I would like to have this main menu:
1: Applications
2: Emulators
3: Games
4: Configuration
I hate to go in 2 menus to launch something, and I also don't use dashboards menu...
And the Music menu is accesable in configuration just taking up a tab in the main menu...
Plz I searched for a easy way to change the mainmenu tabs but there are no comments on this in the default.xap ....
I did this before on an original msdash and it was great...
I also want to get rid of those icons when selecting a game...
Anyone? And also, where are all the tutorials on msdash hacking?
KyesaRRi
Jun 6 2005, 11:30 PM
All of the old code is:
http://forums.xbox-scene.com/index.php?showforum=55If you try to launch music from the settings menu it doesent return you to the correct sub menu and becomes real annyoing.
The code shouldent be too hard to take you to the games / emulators / apps
lcapitan
Jun 20 2005, 08:13 PM
could the code be
theSettingsMenuIn.Play();
theHardDrive.ExecuteFile("f:\\emus" );
im wondering if this will take me to the emus folder, or will it think it must execute a file?
KyesaRRi
Jun 20 2005, 11:48 PM
Dont think that the code will work, UIX dont run that way. I think that will give a error, or just make a sound and sit at the same menu.
KyesaRRi
Jun 20 2005, 11:49 PM
Yay my first Double Post
So this is how it feels...
XxXDarkwraitHXxX
Jun 21 2005, 06:36 AM
I've been trying to put the games, apps, etc... menus on the main menu forever now with no success. I'll try to PM some awsome coders and see if they can help me out.
BlackWraith
Jun 21 2005, 07:30 AM
I'm no genious at coding, but i don't think you are able to access sub folder from the mainmenu at this time. Meaning it's not implemented yet. Not sure if i'm absolutely correct, but it's what i hear.
CODE
function OnBDown()
{
var c = theMusicMenu.children[0].children[0];
c.MU_back_pod_HL.children[0].appearance.material.param = 1;
PlaySoundB();
musicScroll = 0;
musicSelect = 0;
musicButton = 0;
bInMusicMenu = false;
if(bBackToLauncher) { theLauncherLevel.GoTo(); }
else { GoToSettings(); }
theMusicMenuOut.Play();
}
that'll get ya to return to the settings menu if ya have music in settings
wolf202
Jun 30 2005, 04:54 AM
no matter what it doesn't find the second part!
can someone post the complete modified code for the default.xap?
-wolf
Smashed_187
Jul 6 2005, 11:17 PM
I realize this is a noob-ish question, and if it was possible there would prob be a tutorial on it, but can you increase the number of tabs? All I need is another, and THC won't run on my softmodded box's....all 4 of them :-(
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.