xboxscene.org forums

Pages: [1] 2

Author Topic: 4th Menu Tab And Menu Setup With The Uix Dashboard  (Read 1486 times)

ShawniE_O

  • Archived User
  • Newbie
  • *
  • Posts: 4
4th Menu Tab And Menu Setup With The Uix Dashboard
« on: January 03, 2005, 02:30:00 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
Logged

FireSokar

  • Archived User
  • Newbie
  • *
  • Posts: 44
4th Menu Tab And Menu Setup With The Uix Dashboard
« Reply #1 on: January 03, 2005, 04:15:00 PM »

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
Logged

ShawniE_O

  • Archived User
  • Newbie
  • *
  • Posts: 4
4th Menu Tab And Menu Setup With The Uix Dashboard
« Reply #2 on: January 03, 2005, 11:14:00 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
*



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

mrp04

  • Archived User
  • Full Member
  • *
  • Posts: 156
4th Menu Tab And Menu Setup With The Uix Dashboard
« Reply #3 on: January 04, 2005, 01:25:00 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
Logged

grindbg

  • Archived User
  • Newbie
  • *
  • Posts: 7
4th Menu Tab And Menu Setup With The Uix Dashboard
« Reply #4 on: January 06, 2005, 10:00:00 AM »

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

mateoleone

  • Archived User
  • Newbie
  • *
  • Posts: 4
4th Menu Tab And Menu Setup With The Uix Dashboard
« Reply #5 on: January 10, 2005, 08:33:00 PM »

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
Logged

Infamous_One

  • Archived User
  • Hero Member
  • *
  • Posts: 771
4th Menu Tab And Menu Setup With The Uix Dashboard
« Reply #6 on: January 11, 2005, 11:26:00 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
*



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

mateoleone

  • Archived User
  • Newbie
  • *
  • Posts: 4
4th Menu Tab And Menu Setup With The Uix Dashboard
« Reply #7 on: January 12, 2005, 04:25:00 PM »

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.  B)
Logged

jakeboy

  • Archived User
  • Jr. Member
  • *
  • Posts: 70
4th Menu Tab And Menu Setup With The Uix Dashboard
« Reply #8 on: January 14, 2005, 04:54:00 AM »

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?

This post has been edited by jakeboy: Jan 14 2005, 12:55 PM
Logged

conners

  • Archived User
  • Full Member
  • *
  • Posts: 175
4th Menu Tab And Menu Setup With The Uix Dashboard
« Reply #9 on: February 15, 2005, 05:27:00 AM »

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
Logged

Dazza

  • Archived User
  • Newbie
  • *
  • Posts: 5
4th Menu Tab And Menu Setup With The Uix Dashboard
« Reply #10 on: February 15, 2005, 06:21:00 AM »

Try changing  this

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

into

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

conners

  • Archived User
  • Full Member
  • *
  • Posts: 175
4th Menu Tab And Menu Setup With The Uix Dashboard
« Reply #11 on: February 15, 2005, 06:23:00 AM »

still doesnt work.

This post has been edited by conners: Feb 15 2005, 02:28 PM
Logged

Dazza

  • Archived User
  • Newbie
  • *
  • Posts: 5
4th Menu Tab And Menu Setup With The Uix Dashboard
« Reply #12 on: February 15, 2005, 06:47:00 AM »

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?

This post has been edited by Dazza: Feb 15 2005, 02:48 PM
Logged

conners

  • Archived User
  • Full Member
  • *
  • Posts: 175
4th Menu Tab And Menu Setup With The Uix Dashboard
« Reply #13 on: February 15, 2005, 06:52:00 AM »

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
Logged

Millenia1x

  • Archived User
  • Full Member
  • *
  • Posts: 206
4th Menu Tab And Menu Setup With The Uix Dashboard
« Reply #14 on: February 19, 2005, 07:14:00 PM »

fu
Logged
Pages: [1] 2