Jump to content


Photo

4th Menu Tab And Menu Setup With The Uix Dashboard


  • Please log in to reply
25 replies to this topic

#1 ShawniE_O

ShawniE_O

    X-S Enthusiast

  • Members
  • 6 posts

Posted 03 January 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


#2 FireSokar

FireSokar

    X-S Member

  • Members
  • Pip
  • 82 posts
  • Xbox Version:unk
  • 360 version:unknown

Posted 04 January 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

#3 ShawniE_O

ShawniE_O

    X-S Enthusiast

  • Members
  • 6 posts

Posted 04 January 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

View Post



yo i didnt copy ur code at all...i didnt even know your post was up...calm down buddy, it dont matter


#4 mrp04

mrp04

    X-S X-perience

  • XS-BANNED
  • PipPip
  • 333 posts
  • Xbox Version:unk
  • 360 version:v1 (xenon)

Posted 04 January 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

View Post



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

#5 grindbg

grindbg

    X-S Enthusiast

  • Members
  • 22 posts

Posted 06 January 2005 - 05:53 PM

Can u add some code for yes/no dialoge to comes up?

#6 mateoleone

mateoleone

    X-S Enthusiast

  • Members
  • 21 posts

Posted 11 January 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? dry.gif

#7 Infamous_One

Infamous_One

    X-S Freak

  • XS-BANNED
  • PipPipPipPipPip
  • 1,646 posts
  • Xbox Version:v1.0

Posted 12 January 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

View Post



i think this one is better cause it shows the code for launching an App or Game

#8 mateoleone

mateoleone

    X-S Enthusiast

  • Members
  • 21 posts

Posted 13 January 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. cool.gif

#9 jakeboy

jakeboy

    X-S Senior Member

  • Members
  • PipPip
  • 261 posts

Posted 14 January 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?

Edited by jakeboy, 14 January 2005 - 12:48 PM.


#10 conners

conners

    X-S X-perience

  • Members
  • PipPip
  • 332 posts
  • Xbox Version:unk
  • 360 version:unknown

Posted 15 February 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

#11 Dazza

Dazza

    X-S Young Member

  • Members
  • Pip
  • 30 posts
  • Location:Rugby, England
  • Xbox Version:v1.2

Posted 15 February 2005 - 02:14 PM

Try changing this

GoToHardDrive.ExecuteFile("f:\\Kai Xlink\\Default.xbe");

into

theHardDrive.ExecuteFile("f:\\Kai Xlink\\Default.xbe");


#12 conners

conners

    X-S X-perience

  • Members
  • PipPip
  • 332 posts
  • Xbox Version:unk
  • 360 version:unknown

Posted 15 February 2005 - 02:16 PM

still doesnt work.

Edited by conners, 15 February 2005 - 02:21 PM.


#13 Dazza

Dazza

    X-S Young Member

  • Members
  • Pip
  • 30 posts
  • Location:Rugby, England
  • Xbox Version:v1.2

Posted 15 February 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?

Edited by Dazza, 15 February 2005 - 02:41 PM.


#14 conners

conners

    X-S X-perience

  • Members
  • PipPip
  • 332 posts
  • Xbox Version:unk
  • 360 version:unknown

Posted 15 February 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

#15 Millenia1x

Millenia1x

    X-S Expert

  • Members
  • PipPipPip
  • 537 posts
  • Xbox Version:v1.6b
  • 360 version:v1 (xenon)

Posted 20 February 2005 - 03:07 AM

fu




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users