xboxscene.org forums

OG Xbox Forums => Archived Forum => Official Team UIX Forums => Dashboard Forums => Official Xboxdash.net (tHc dashboards) Forum => Topic started by: cypher35 on April 20, 2004, 06:12:00 PM

Title: 5 Menues On Thc Lite ^_^
Post by: cypher35 on April 20, 2004, 06:12:00 PM
(IMG:http://db.ninjahacker.net/uploadglh77/5menu.jpg)

with some small modifications to the tutorial on xboxdash.com it can be done easily...  should i post it or not?
Title: 5 Menues On Thc Lite ^_^
Post by: GimmeTokens on April 20, 2004, 05:22:00 PM
beerchug.gif  beerchug.gif beerchug.gif  YES YES YES YES YES  beerchug.gif  beerchug.gif  beerchug.gif
Title: 5 Menues On Thc Lite ^_^
Post by: ddkore on April 20, 2004, 06:27:00 PM
NOOO!!!  Knowledge is power.  If you give them too much knowledge, how will you control them.  We must keep them ignorant and weak willed.  We shall rule FOREVER!!

jk... post it.  I wouldn't mind knowing how you did it.



Title: 5 Menues On Thc Lite ^_^
Post by: Tigroz on April 21, 2004, 12:17:00 AM
yes please! i need it,
Title: 5 Menues On Thc Lite ^_^
Post by: peterPL on April 21, 2004, 01:00:00 AM
YESSSS
Title: 5 Menues On Thc Lite ^_^
Post by: macegriffon on April 21, 2004, 01:02:00 AM
yes please beerchug.gif  biggrin.gif
Title: 5 Menues On Thc Lite ^_^
Post by: Tigroz on April 21, 2004, 01:15:00 AM
bump beerchug.gif
Title: 5 Menues On Thc Lite ^_^
Post by: Alekz on April 21, 2004, 02:43:00 AM
beerchug.gif  yea
Title: 5 Menues On Thc Lite ^_^
Post by: Gcue on April 21, 2004, 05:45:00 AM
Try this:

default.xip/default.xap
CODE

function Update4ButtonMainMenu()
{
    var c = theMainMenu.children[0].children[0];
    c.game_select_pod_inner02.visible = false;      // Button 1 Flashing Orb
    c.game_select_pod_inner.visible = false;        // Button 2 Flashing Orb
    c.game_select_pod_inner04.visible = false;      // Button 3 Flashing Orb
    c.game_select_pod_inner03.visible = false;      // Button 4 Flashing Orb
    c.game_select_pod_inner032.visible = false;

    if (nCurMainMenuItem == 0)  // Button 1
    {
        c.game_select_pod_inner02.visible = true;

        c.theMenuItems.SetRotation(0, 0, 1, -0.25);

        c.theMemoryItem.SetRotation(0, 1, 0, -0.25);
   c.theMemoryItem.SetAlpha(0.5);
        c.theMusicItem.SetRotation(0, 1, 0, -0.25);
   c.theMusicItem.SetAlpha(1);
        c.theOnlineItem.SetRotation(0, 1, 0, -0.25);
   c.theOnlineItem.SetAlpha(0.2);
        c.theSettingsItem.SetRotation(0, 1, 0, -0.25);
   c.theSettingsItem.SetAlpha(0);
   c.theExtraItem.SetRotation(0, 1, 0, -0.25);
   c.theExtraItem.SetAlpha(0);

        c.MemoryPanelMaterial.name = "GameHilite";
        c.MusicPanelMaterial.name = "FlatSurfaces2sided";
        c.OnlinePanelMaterial.name = "FlatSurfaces2sided";
        c.SettingsPanelMaterial.name = "FlatSurfaces2sided";
   c.ExtraPanelMaterial.name = "FlatSurfaces2sided";

        c.MemoryTextMaterial.name = "HilightedType";
        c.MusicTextMaterial.name = "NavType";
        c.OnlineTextMaterial.name = "NavType";
        c.SettingsTextMaterial.name = "NavType";
   c.ExtraTextMaterial.name = "NavType";

    }
    else if (nCurMainMenuItem == 1)  // Button 2 (Default position)
    {
        c.game_select_pod_inner.visible = true;

        c.theMenuItems.SetRotation(0, 0, 1, 0.0);

        c.theMemoryItem.SetRotation(0, 1, 0, 0.0);
   c.theMemoryItem.SetAlpha(1);
        c.theMusicItem.SetRotation(0, 1, 0, 0.0);
   c.theMusicItem.SetAlpha(0.5);
        c.theOnlineItem.SetRotation(0, 1, 0, 0.0);
   c.theOnlineItem.SetAlpha(0.5);
        c.theSettingsItem.SetRotation(0, 1, 0, 0.0);
   c.theSettingsItem.SetAlpha(0.2);
   c.theExtraItem.SetRotation(0, 1, 0, 0.0);
   c.theExtraItem.SetAlpha(0);

        c.MemoryPanelMaterial.name = "FlatSurfaces2sided";
        c.MusicPanelMaterial.name = "GameHilite";
        c.OnlinePanelMaterial.name = "FlatSurfaces2sided";
        c.SettingsPanelMaterial.name = "FlatSurfaces2sided";
   c.ExtraPanelMaterial.name = "FlatSurfaces2sided";

        c.MemoryTextMaterial.name = "NavType";
        c.MusicTextMaterial.name = "HilightedType";
        c.OnlineTextMaterial.name = "NavType";
        c.SettingsTextMaterial.name = "NavType";
   c.ExtraTextMaterial.name = "NavType";
    }
    else if (nCurMainMenuItem == 2) // Button 3
    {
        c.game_select_pod_inner04.visible = true;

        c.theMenuItems.SetRotation(0, 0, 1, 0.25);

        c.theMemoryItem.SetRotation(0, 1, 0, 0.25);
   c.theMemoryItem.SetAlpha(0.5);
        c.theMusicItem.SetRotation(0, 1, 0, 0.25);
   c.theMusicItem.SetAlpha(0);
        c.theOnlineItem.SetRotation(0, 1, 0, 0.25);
   c.theOnlineItem.SetAlpha(1);
        c.theSettingsItem.SetRotation(0, 1, 0, 0.25);
   c.theSettingsItem.SetAlpha(0.5);
   c.theExtraItem.SetRotation(0, 1, 0, 0.25);
   c.theExtraItem.SetAlpha(0.2);

        c.MemoryPanelMaterial.name = "FlatSurfaces2sided";
        c.MusicPanelMaterial.name = "FlatSurfaces2sided";
        c.OnlinePanelMaterial.name = "GameHilite";
        c.SettingsPanelMaterial.name = "FlatSurfaces2sided";
   c.ExtraPanelMaterial.name = "FlatSurfaces2sided";

        c.MemoryTextMaterial.name = "NavType";
        c.MusicTextMaterial.name = "NavType";
        c.OnlineTextMaterial.name = "HilightedType";
        c.SettingsTextMaterial.name = "NavType";
   c.ExtraTextMaterial.name = "NavType";
    }
    else if (nCurMainMenuItem == 3) // Button 4
    {
        c.game_select_pod_inner03.visible = true;

        c.theMenuItems.SetRotation(0, 0, 1, 0.50);

        c.theMemoryItem.SetRotation(0, 1, 0, 0.50);
   c.theMemoryItem.SetAlpha(0.2);
        c.theMusicItem.SetRotation(0, 1, 0, 0.50);
   c.theMusicItem.SetAlpha(0);
        c.theOnlineItem.SetRotation(0, 1, 0, 0.50);
   c.theOnlineItem.SetAlpha(0.5);
        c.theSettingsItem.SetRotation(0, 1, 0, 0.50);
   c.theSettingsItem.SetAlpha(1);
   c.theExtraItem.SetRotation(0, 1, 0, 0.50);
   c.theExtraItem.SetAlpha(0.5);

        c.MemoryPanelMaterial.name = "FlatSurfaces2sided";
        c.MusicPanelMaterial.name = "FlatSurfaces2sided";
        c.OnlinePanelMaterial.name = "FlatSurfaces2sided";
        c.SettingsPanelMaterial.name = "GameHilite";
   c.ExtraPanelMaterial.name = "FlatSurfaces2sided";

        c.MemoryTextMaterial.name = "NavType";
        c.MusicTextMaterial.name = "NavType";
        c.OnlineTextMaterial.name = "NavType";
        c.SettingsTextMaterial.name = "HilightedType";
   c.ExtraTextMaterial.name = "NavType";
    }
    else if (nCurMainMenuItem == 4)
    {
        c.game_select_pod_inner032.visible = true;

        c.theMenuItems.SetRotation(0, 0, 1, 0.75);

        c.theMemoryItem.SetRotation(0, 1, 0, 0.75);
   c.theMemoryItem.SetAlpha(0);
        c.theMusicItem.SetRotation(0, 1, 0, 0.75);
   c.theMusicItem.SetAlpha(0);
        c.theOnlineItem.SetRotation(0, 1, 0, 0.75);
   c.theOnlineItem.SetAlpha(0.2);
        c.theSettingsItem.SetRotation(0, 1, 0, 0.75);
   c.theSettingsItem.SetAlpha(0.5);
   c.theExtraItem.SetRotation(0, 1, 0, 0.75);
   c.theExtraItem.SetAlpha(1);

        c.MemoryPanelMaterial.name = "FlatSurfaces2sided";
        c.MusicPanelMaterial.name = "FlatSurfaces2sided";
        c.OnlinePanelMaterial.name = "FlatSurfaces2sided";
        c.SettingsPanelMaterial.name = "FlatSurfaces2sided";
   c.ExtraPanelMaterial.name = "GameHilite";

        c.MemoryTextMaterial.name = "NavType";
        c.MusicTextMaterial.name = "NavType";
        c.OnlineTextMaterial.name = "NavType";
        c.SettingsTextMaterial.name = "NavType";
   c.ExtraTextMaterial.name = "HilightedType";
    }
}


Then search for:
CODE

               c.SubmenuText1.text = SubMenuItem1;
               c.SubmenuText2.text = SubMenuItem2;
               c.SubmenuText3.text = SubMenuItem3;
               c.SubmenuText4.text = SubMenuItem4;


And make it look like:
CODE

               c.SubmenuText1.text = SubMenuItem1;
               c.SubmenuText2.text = SubMenuItem2;
               c.SubmenuText3.text = SubMenuItem3;
               c.SubmenuText4.text = SubMenuItem4;
   c.SubmenuText5.text = "XBMC";


Then in the
CODE
function OnMoveDown()


change
CODE
if (nCurMainMenuItem < 3)
to:
CODE
if (nCurMainMenuItem < 4)


And Link it in the
CODE
function OnADown()


With:
CODE

      else if (nCurMainMenuItem == 4)
      {
    gamelaunch = true;
    launchXbe = "default.xbe";
    launchPath = "\\Device\\Harddisk0\\Partition6\\XBMC";
    theLaunchGameLevel.GoTo();
      }


mainmenu5.xip/default.xap

right above this code:
CODE

     ]
  }
   ]
    scale 1.080000 1.080000 1.080000
    translation 400 0 -180
    //translation -57.980000 -13.690000 -84.760002
}

/*jbone*/
/*
DEF select Transform


Paste:

CODE

    DEF Main_memory2_ringpin_4 Transform
    {
       children
       [
DEF theExtraItem Transform { fade 0.43 children [
      DEF settings_arm03 Transform
      {
         children
         [
        DEF settings_arm_04 Transform
        {
           children
           [
          DEF settings Transform
          {
             children
             [



   DEF pod_rotate_structure4 Transform
   {
        children
        [
            Spinner
            {
                rpm 1.3
  axis 0 0 2
                children
                [
            DEF game_podsupport_14 Transform
            {
               children
               [
              Shape
              {
                 appearance Appearance
                 {
                material MaxMaterial
                {
                   name "FlatSrfc/PodParts"
                }
                 }
                 geometry DEF game_podsupport_14-FACES Mesh { url "game_podsupport_14-FACES.xm" }
              }
                 Shape
                 {
                appearance Appearance
                {
                   material MaxMaterial
                   {
                  name "PanelBacking_01"
                   }
                }
                geometry Mesh { url "game_podsupport_14-FACES.xm" }
                 }
               ]
               rotation -0.401400 0.864700 -0.302000 -1.753000
               scale 1.472000 1.472000 1.472000
               scaleOrientation -0.858200 -0.374900 0.350600 -0.663700
               translation 7.240000 4.4022000 2.441000
            }
            DEF game_podsupport_13 Transform
            {
               children
               [
              Shape
              {
                 appearance Appearance
                 {
                material MaxMaterial
                {
                   name "FlatSrfc/PodParts"
                }
                 }
                 geometry USE game_podsupport_14-FACES
              }
                 Shape
                 {
                appearance Appearance
                {
                   material MaxMaterial
                   {
                  name "PanelBacking_01"
                   }
                }
                geometry Mesh { url "game_podsupport_14-FACES.xm" }
                 }
               ]
               rotation -0.689600 0.314600 -0.652200 -2.669000
               scale 1.472000 1.472000 1.472000
               scaleOrientation 0.856700 -0.033150 0.514800 -0.586200
               translation -3.080002 7.282000 2.860000
            }
            DEF game_podsupport_15 Transform
            {
               children
               [
              Shape
              {
                 appearance Appearance
                 {
                material MaxMaterial
                {
                   name "FlatSrfc/PodParts"
                }
                 }
                 geometry USE game_podsupport_14-FACES
              }
                 Shape
                 {
                appearance Appearance
                {
                   material MaxMaterial
                   {
                  name "PanelBacking_01"
                   }
                }
                geometry Mesh { url "game_podsupport_14-FACES.xm" }
                 }
               ]
               rotation 0.672500 0.244000 0.698700 -2.514000
               scale 1.472000 1.472000 1.472000
               scaleOrientation -0.770900 0.394400 -0.500200 -0.985600
               translation -5.680000 -2.973000 1.714000
            }
            DEF game_podsupport_16 Transform
            {
               children
               [
              Shape
              {
                 appearance Appearance
                 {
                material MaxMaterial
                {
                   name "FlatSrfc/PodParts"
                }
                 }
                 geometry DEF game_podsupport_16-FACES Mesh { url "game_podsupport_16-FACES.xm" }
              }
                 Shape
                 {
                appearance Appearance
                {
                   material MaxMaterial
                   {
                  name "PanelBacking_01"
                   }
                }
                geometry Mesh { url "game_podsupport_16-FACES.xm" }
                 }
               ]
               rotation 0.315600 0.854700 0.412200 -1.672000
               scale 1.472000 1.472000 1.472000
               scaleOrientation -0.761500 -0.592900 -0.261900 -0.615200
               translation 4.639999 -5.294000 1.359000
            }
            DEF game_podsocket_inner03 Transform
            {
               children
               [
              Shape
              {
                 appearance Appearance
                 {
                material MaxMaterial
                {
                   name "MenuCell"
                }
                 }
                 geometry DEF game_podsocket_inner03-FACES Mesh { url "game_podsocket_inner03-FACES.xm" }
              }
               ]
               rotation 0.994900 -0.002650 -0.101000 -1.675000
               scale 0.329600 0.329600 0.329600
               scaleOrientation -0.310500 -0.318200 -0.895800 -0.441400
               translation 0.000000 0.000000 0.000000
            }
  ]
     }
   ]
   translation -33.250000 -4.746000 -10.290000
}

            DEF game_select_pod_inner032 Transform
            {
        children
        [
            Spinner
            {
                rpm 5.75/*jb*/
  axis 0 2 2
                children
                [
                    Shape
                    {
                        appearance Appearance
                        {
                            material MaxMaterial
                            {
                                name "InnerWall_01"
                            }
                            texture ImageTexture
                            {
                                alpha true
                                url "orbcellwall.bmp"
                            }
                        }
                        geometry Mesh { url "OrbCell-FACES.xm" }
                    }
                ]
            }
            Spinner
            {
                rpm 5.75/*jb*/
  axis 2 2 0
                children
                [
                    Shape
                    {
                        appearance Appearance
                        {
                            material MaxMaterial
                            {
                                name "EggGlowPulse"
                            }
                            texture ImageTexture
                            {
                                alpha true
                                url "orbcellwall.bmp"
                            }
                        }
                        geometry Mesh { url "OrbCell-FACES.xm" }
                    }
                ]
            }
        ]
               rotation -0.335200 0.920700 -0.199700 -0.424800
                 scale 6.598800 6.598800 6.598800/*jbone*/
                 scaleOrientation 0.000000 0.000000 0.000000 0.000000
               translation -32.200001 -4.344000 -2.936000
            }
/*
            DEF gamepod_backing03 Transform
            {
               children
               [
              Shape
              {
                 appearance Appearance
                 {
                material MaxMaterial
                {
                   name "FlatSurfaces"
                }
                 }
                 geometry DEF gamepod_backing03-FACES Mesh { url "gamepod_backing03-FACES.xm" }
              }
               ]
               rotation -0.993800 -0.111400 0.002924 -1.478000
               scale 0.329600 0.329600 0.329600
               scaleOrientation -0.344800 0.141400 0.928000 -0.345300
               translation -32.540001 -4.030000 -3.501000
            }
*/
            DEF game_podshell_11 Transform
            {
               children
               [
              Shape
              {
                 appearance Appearance
                 {
                material MaxMaterial
                {
                   name "MenuCell"
                }
                 }
                 geometry DEF game_podshell_11-FACES Mesh { url "game_podshell_11-FACES.xm" }
              }
               ]
               rotation -0.205500 -0.736100 -0.645000 -2.839000
               scale 0.329600 0.329600 0.329600
               scaleOrientation -0.176400 -0.392000 -0.902900 -0.548000
               translation -32.540001 -4.030000 -3.501000
            }
            DEF game_pod03 Transform
            {
               children
               [
              Shape
              {
                 appearance Appearance
                 {
                material MaxMaterial
                {
                   name "MenuCell"
                }
                 }
                 geometry Sphere
                 {
                radius 25.000000
                 }
              }
               ]
               rotation -0.922500 -0.329200 -0.201700 -1.575000
               scale 0.329600 0.329600 0.329600
               scaleOrientation 0.298000 0.445100 -0.844400 -0.878300
               translation -32.540001 -4.030000 -3.501000
            }
            DEF settings_panel_support Transform
            {
               children
               [
              Shape
              {
                 appearance Appearance
                 {
                material MaxMaterial
                {
                   name "FlatSurfaces"
                }
                 }
                 geometry DEF settings_panel_support-FACES Mesh { url "settings_panel_support-FACES.xm" }
              }
               ]
               rotation -0.585700 -0.570700 0.575600 -4.179000
               scale 2.040000 2.040000 2.040000
               scaleOrientation -0.968400 -0.096220 0.230000 -0.613900
               translation -23.510000 -6.908000 2.461000
            }
            DEF memory_metapanel Transform
            {
               children
               [
              Shape
              {
                 appearance Appearance
                 {
                material DEF ExtraPanelMaterial MaxMaterial
                {
                   name "GameHilite"
                }
                texture ImageTexture
                {
                   url "GameHilite_01.bmp"
                }
                 }
                 geometry DEF settings_text_metapanel-FACES Mesh { url "settings_text_metapanel-FACES.xm" }
              }
               ]
               rotation 0.002542 -0.701000 0.713100 -3.149000
               scale 1.591000 1.591000 1.591000
               scaleOrientation 0.722400 0.199200 -0.662200 -0.478000
               translation -11.790000 -17.680000 4.164000
            }
            DEF game_podshell_10 Transform
            {
               children
               [
              Shape
              {
                 appearance Appearance
                 {
                material MaxMaterial
                {
                   name "MenuCell"
                }
                 }
                 geometry DEF game_podshell_10-FACES Mesh { url "game_podshell_10-FACES.xm" }
              }
               ]
               rotation -0.996900 -0.063700 0.046460 -1.470000
               scale 0.329600 0.329600 0.329600
               scaleOrientation -0.223500 -0.021950 0.974500 -0.604800
               translation -32.540001 -4.030000 -3.501000
            }
            DEF settings_tube Transform
            {
               children
               [
              Shape
              {
                 appearance Appearance
                 {
                material MaxMaterial
                {
                   name "Tubes"
                }
                 }
                 geometry DEF settings_tube-FACES Mesh { url "settings_tube-FACES.xm" }
              }
               ]
               rotation -0.999900 -0.008726 0.008880 -1.553000
               scale 5.523000 5.523000 5.523000
               scaleOrientation -0.471600 -0.550100 -0.689200 -0.154500
               translation -16.010000 -25.790001 2.971000
            }
            DEF settings_tube_0 Transform
            {
               children
               [
              Shape
              {
                 appearance Appearance
                 {
                material MaxMaterial
                {
                   name "Tubes"
                }
                 }
                 geometry DEF settings_tube_0-FACES Mesh { url "settings_tube_0-FACES.xm" }
              }
               ]
               rotation -0.999900 -0.008726 0.008880 -1.553000
               scale 5.523000 5.523000 5.523000
               scaleOrientation -0.471600 -0.550100 -0.689200 -0.154500
               translation -14.630000 -24.740000 2.929000
            }
            DEF game_podshell_12 Transform
            {
               children
               [
              Shape
              {
                 appearance Appearance
                 {
                material MaxMaterial
                {
                   name "MenuCell"
                }
                 }
                 geometry DEF game_podshell_12-FACES Mesh { url "game_podshell_12-FACES.xm" }
              }
               ]
               rotation -0.214200 -0.735100 -0.643200 -2.820000
               scale 0.329600 0.329600 0.329600
               scaleOrientation -0.388500 -0.717300 -0.578400 -0.540400
               translation -32.540001 -4.030000 -3.501000
            }
            DEF extra_text Transform
            {
               children
               [
               Transform
              {
              rotation -1 0 0 1.571
                 children
                 [

                DEF Button_04_Text Shape
                {
                   appearance Appearance
                   {
                  material DEF ExtraTextMaterial MaxMaterial
                  {
                     name "NavType"
                  }
                   }
                   geometry DEF SubmenuText5 Text { font "Heading" translate true text "5TH TAB" }
                }
                 ]
              }

               ]
               rotation -1.000000 0.002966 0.003888 -1.551000
               scale 7.000 0.0 7.000
               scaleOrientation 0.527100 0.681300 0.508000 -0.177100
               translation -13.937000 -10.380000 4.323000
            }
             ]
             rotation -0.602100 -0.599600 -0.527300 -2.191000
             scale 0.458100 0.458100 0.458100
             //scaleOrientation 0.044600 0.985600 0.163200 -0.123500
             translation 5.641000 15.510000 -1.711000
          }
           ]
           rotation 0.001397 -0.015840 0.999900 -3.163000
           scale 1.296000 1.296000 1.296000
           scaleOrientation 0.302900 0.914000 0.270000 -0.422300
           translation -6.689000 0.236800 -4.083000
        }
         ]
         rotation 0.127600 -0.011390 -0.991800 -1.591000
         scale 0.225100 0.257500 0.257500
         scaleOrientation -0.438700 0.896100 0.067440 -0.155900
         translation -0.416600 -0.801500 0.463500
      }
      ]}
       ]
       rotation 0.997500 -0.047920 0.052590 -1.573000
       scale 6.057000 6.927000 6.057000
       scaleOrientation 0.008927 0.998300 -0.057520 -0.081130
       // Settings Position
       // translation 57.430000 -23.379999 101.500000      // - These numbers are for a 3 button menu
       // translation 57.430000 -24.379999 101.500000      // - These numbers are for a 4 button menu
    }


That should do it with a little extra  ;)

Peace
Gcue

This post has been edited by Gcue on Apr 21 2004, 01:10 PM
Title: 5 Menues On Thc Lite ^_^
Post by: Alekz on April 21, 2004, 05:53:00 AM
thaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaank you biggrin.gif  jester.gif   beerchug.gif
Title: 5 Menues On Thc Lite ^_^
Post by: macegriffon on April 21, 2004, 07:06:00 AM
mad.gif
i have done this about 10 times now. and just nothing happens??
the dash just boots up fine no error or something, but i dont have 5 buttons??
can somebody sent me his default.xip/default.xap and mainmenu5.xip/default.xap please.
[email protected]
Title: 5 Menues On Thc Lite ^_^
Post by: cypher35 on April 21, 2004, 08:20:00 AM
thanks for posting that Gcue, i'm bad at making tutorials...

anyway, it probably wouldn't be too hard to make a configurable option in config.xbx to toggle 5 menu mode and to set the name and action of menu 5...  that's my next project.

i'll post the source here when i complete it.
Title: 5 Menues On Thc Lite ^_^
Post by: crobar on April 21, 2004, 09:59:00 AM
yeah that would be sweet!
a simple way to add a 5th menu item!
Title: 5 Menues On Thc Lite ^_^
Post by: Xbox-Savage on April 21, 2004, 09:50:00 AM
blink.gif  fucking curse , doesnt work here , i get empty tabs!! and the XBMC tab way hidden at the back of the orb.



ok on:

QUOTE
mainmenu5.xip/default.xap

right above this code:



you mean add the code on top of that or replace the code that is on top of that?





Title: 5 Menues On Thc Lite ^_^
Post by: Xbox-Savage on April 21, 2004, 09:57:00 AM
QUOTE (Gcue @ Apr 21 2004, 09:42 AM)
And Link it in the
CODE
function OnADown()


With:
CODE

     else if (nCurMainMenuItem == 4)
     {
   gamelaunch = true;
   launchXbe = "default.xbe";
   launchPath = "\\Device\\Harddisk0\\Partition6\\XBMC";
   theLaunchGameLevel.GoTo();
     }



and where do i put that code , you didnt say where ,right under function OnADown() or under some code under it? , replace everything under it with it? huh.gif
Title: 5 Menues On Thc Lite ^_^
Post by: cypher35 on April 21, 2004, 10:50:00 AM
QUOTE (Xbox-Savage @ Apr 21 2004, 12:57 PM)
and where do i put that code , you didnt say where ,right under function OnADown() or under some code under it? , replace everything under it with it? huh.gif

is it really that hard to guess??

you put
CODE

    else if (nCurMainMenuItem == 4)
    {
  gamelaunch = true;
  launchXbe = "default.xbe";
  launchPath = "\\Device\\Harddisk0\\Partition6\\XBMC";
  theLaunchGameLevel.GoTo();
    }

in the function "function OnADown()" after all of the other "else if" statements.

it's not too hard to figure out what is going on in this function...  it determines what the current menu item (nCurMainMenuItem) is.  When it's 0 it will open the memory menu, if it's 1 it will open the music menu, if it's 2 it will open the hard drive menu, etc...

this tells it what to do when menu 4 is selected.

here's what it should look like:
CODE

               if (nCurMainMenuItem == 0)
               {
                       theGamesMenuIn.Play();
                       GoToMusicPlayWithSubs();
               }
               else if (nCurMainMenuItem == 1)
               {
                       theGamesMenuIn.Play();
                      GoToMemory();
               }
               else if (nCurMainMenuItem == 2)
               {
                       theMusicMenuIn.Play();
                       GoToMusic();
               }
               else if (nCurMainMenuItem == 3)
               {
                       theSettingsMenuIn.Play();
                       GoToSettings();
               }
               else if (nCurMainMenuItem == 4)
               {
  gamelaunch = true;
  launchXbe = "default.xbe";
  launchPath = "\\Device\\Harddisk0\\Partition6\\XBMC";
  theLaunchGameLevel.GoTo();
               }



or you could do what i did and make it look like this:
CODE

               if (nCurMainMenuItem == 0)
               {
                       theGamesMenuIn.Play();
                       GoToMusicPlayWithSubs();
               }
               else if (nCurMainMenuItem == 1)
               {
                       theGamesMenuIn.Play();
                      GoToMemory();
               }
               else if (nCurMainMenuItem == 2)
               {
                       theMusicMenuIn.Play();
                       GoToMusic();
               }
               else if (nCurMainMenuItem == 3)
               {
                       theSettingsMenuIn.Play();
                       GoToSettings();
               }
               else if (nCurMainMenuItem == 4)
               {
                  QuickLaunch("Menu5");
               }


then open up config.xbx and add the following line anywhere you want (just as long as it is it's own line and you don't change anything before the '=' sign)
CODE
Quick Launch Menu5=F:\\Apps\\XBMC\\default.xbe


you can then set that to whatever you want menu 5 to launch to.
Title: 5 Menues On Thc Lite ^_^
Post by: cypher35 on April 21, 2004, 11:00:00 AM
CODE
Menu5 Text=.:MENU 5:.
under the other menu name configurations in config.xbx

go to:
CODE
var SubMenuItem4;

and add
CODE
var SubMenuItem5;


then go to this function:
CODE
function GetSubmenuText()
{
   var info = new Settings;
   info.file = "Y:\\config.xbx";
   SubMenuItem1 = info.GetValue("HardDrive Text");
   SubMenuItem2 = info.GetValue("Memory Text");
   SubMenuItem3 = info.GetValue("Music Text");
   SubMenuItem4 = info.GetValue("Settings Text");
}

and make it look like this:
CODE
function GetSubmenuText()
{
   var info = new Settings;
   info.file = "Y:\\config.xbx";
   SubMenuItem1 = info.GetValue("HardDrive Text");
   SubMenuItem2 = info.GetValue("Memory Text");
   SubMenuItem3 = info.GetValue("Music Text");
   SubMenuItem4 = info.GetValue("Settings Text");
   SubMenuItem5 = info.GetValue("Menu5 Text");
}


then finally, go to where it says
CODE

              GetSubmenuText();
              c.SubmenuText1.text = SubMenuItem1;
              c.SubmenuText2.text = SubMenuItem2;
              c.SubmenuText3.text = SubMenuItem3;
              c.SubmenuText4.text = SubMenuItem4;

(this should be just under "function onLoad()" in "DEF theMainMenu Level")

and add the following line:
CODE

              c.SubmenuText5.text = SubMenuItem5;


there ya go...  your manu name and launch path are now definabel via config.xbx
Title: 5 Menues On Thc Lite ^_^
Post by: cypher35 on April 21, 2004, 11:08:00 AM
QUOTE (WarriorSan @ Apr 21 2004, 01:48 PM)
@Gcue,

I also edit the mainmenu5.xip/default.xap and default.xip/default.xap how you explained. The 5th tab is working correctly (I edit it to startup Evox for FTP) but it's not visible sad.gif also when I standing on the 5th invisible tab, the 1 tab (.: MEMORY:.) also disapear...

I can't understand what I did wrong. Can you help me out?

I'm using tHc LITE 1.2 Blue

P.s Gcue and Jb0nE nice work!

this is just because of a little extra touch that Gcue added in...

i'm not going to go too deep into this, but in a nutshell, you can remove it by going to where he said to edit
CODE
[CODE]
function Update4ButtonMainMenu()
{
   var c = theMainMenu.children[0].children[0];
   c.game_select_pod_inner02.visible = false;      // Button 1 Flashing Orb
   c.game_select_pod_inner.visible = false;        // Button 2 Flashing Orb
   c.game_select_pod_inner04.visible = false;      // Button 3 Flashing Orb
   c.game_select_pod_inner03.visible = false;      // Button 4 Flashing Orb
   c.game_select_pod_inner032.visible = false;

   if (nCurMainMenuItem == 0)  // Button 1
   {
       c.game_select_pod_inner02.visible = true;

       c.theMenuItems.SetRotation(0, 0, 1, -0.25);

       c.theMemoryItem.SetRotation(0, 1, 0, -0.25);
  c.theMemoryItem.SetAlpha(0.5);
       c.theMusicItem.SetRotation(0, 1, 0, -0.25);
  c.theMusicItem.SetAlpha(1);
       c.theOnlineItem.SetRotation(0, 1, 0, -0.25);
  c.theOnlineItem.SetAlpha(0.2);
       c.theSettingsItem.SetRotation(0, 1, 0, -0.25);
  c.theSettingsItem.SetAlpha(0);
  c.theExtraItem.SetRotation(0, 1, 0, -0.25);
  c.theExtraItem.SetAlpha(0);

       c.MemoryPanelMaterial.name = "GameHilite";
       c.MusicPanelMaterial.name = "FlatSurfaces2sided";
       c.OnlinePanelMaterial.name = "FlatSurfaces2sided";
       c.SettingsPanelMaterial.name = "FlatSurfaces2sided";
  c.ExtraPanelMaterial.name = "FlatSurfaces2sided";

       c.MemoryTextMaterial.name = "HilightedType";
       c.MusicTextMaterial.name = "NavType";
       c.OnlineTextMaterial.name = "NavType";
       c.SettingsTextMaterial.name = "NavType";
  c.ExtraTextMaterial.name = "NavType";

   }
   else if (nCurMainMenuItem == 1)  // Button 2 (Default position)
   {

etc...
...
...


the same code is basicly repeated for each menu item...  if you look closely, he is changing the alpha (transparency) level of the menu items as they move farther away from the selection.
example:
CODE
  c.theOnlineItem.SetAlpha(0.2);


just delete the lines where it says something like
"c.the*Something*Item.SetAlpha(*some number*)"

there should be about 25 of them (5 for each "if (nCurMainMenuItem ==)" statement)
Title: 5 Menues On Thc Lite ^_^
Post by: Xbox-Savage on April 21, 2004, 11:47:00 AM
QUOTE (cypher35 @ Apr 21 2004, 03:50 PM)
is it really that hard to guess??

you put
CODE

    else if (nCurMainMenuItem == 4)
    {
  gamelaunch = true;
  launchXbe = "default.xbe";
  launchPath = "\\Device\\Harddisk0\\Partition6\\XBMC";
  theLaunchGameLevel.GoTo();
    }

in the function "function OnADown()" after all of the other "else if" statements.

it's not too hard to figure out what is going on in this function...  it determines what the current menu item (nCurMainMenuItem) is.  When it's 0 it will open the memory menu, if it's 1 it will open the music menu, if it's 2 it will open the hard drive menu, etc...

this tells it what to do when menu 4 is selected.

here's what it should look like:
CODE

               if (nCurMainMenuItem == 0)
               {
                       theGamesMenuIn.Play();
                       GoToMusicPlayWithSubs();
               }
               else if (nCurMainMenuItem == 1)
               {
                       theGamesMenuIn.Play();
                      GoToMemory();
               }
               else if (nCurMainMenuItem == 2)
               {
                       theMusicMenuIn.Play();
                       GoToMusic();
               }
               else if (nCurMainMenuItem == 3)
               {
                       theSettingsMenuIn.Play();
                       GoToSettings();
               }
               else if (nCurMainMenuItem == 4)
               {
  gamelaunch = true;
  launchXbe = "default.xbe";
  launchPath = "\\Device\\Harddisk0\\Partition6\\XBMC";
  theLaunchGameLevel.GoTo();
               }



or you could do what i did and make it look like this:
CODE

               if (nCurMainMenuItem == 0)
               {
                       theGamesMenuIn.Play();
                       GoToMusicPlayWithSubs();
               }
               else if (nCurMainMenuItem == 1)
               {
                       theGamesMenuIn.Play();
                      GoToMemory();
               }
               else if (nCurMainMenuItem == 2)
               {
                       theMusicMenuIn.Play();
                       GoToMusic();
               }
               else if (nCurMainMenuItem == 3)
               {
                       theSettingsMenuIn.Play();
                       GoToSettings();
               }
               else if (nCurMainMenuItem == 4)
               {
                  QuickLaunch("Menu5");
               }


then open up config.xbx and add the following line anywhere you want (just as long as it is it's own line and you don't change anything before the '=' sign)
CODE
Quick Launch Menu5=F:\\Apps\\XBMC\\default.xbe


you can then set that to whatever you want menu 5 to launch to.

wink.gif i dont see that

when i search for

CODE
function OnADown()


it gives me this:

CODE


function OnADown()
   {
       if (nCurMessageButton != -1)
       {
           PlaySoundA();
           if (nCurMessageButton == 0)
               OnQuestionYes();
           else
               OnQuestionNo();
       }
   }

   function OnBDown()
   {
       if (nMessageButtonCount == 1)
       {
           // Just an OK button; B is the same as A
           OnADown();
           return;
       }

       if (nCurMessageButton != -1)
       {
           PlaySoundB();
           nCurMessageButton = 1;
           UpdateMessageButtonHighlight();
           OnQuestionNo();
       }
   }

   function OnMoveLeft()
   {
       if (nMessageButtonCount < 2)
           return;

       if (nCurMessageButton == 1)
       {
           PlaySoundMenuChange();
           nCurMessageButton = 0;
           UpdateMessageButtonHighlight();
       }
   }

   function OnMoveRight()
   {
       if (nMessageButtonCount < 2)
           return;

       if (nCurMessageButton == 0)
       {
           PlaySoundMenuChange();
           nCurMessageButton = 1;
           UpdateMessageButtonHighlight();
       }
   }
}
Title: 5 Menues On Thc Lite ^_^
Post by: Xbox-Savage on April 21, 2004, 11:54:00 AM
CODE

if (nCurMainMenuItem == 0)
              {
                      theGamesMenuIn.Play();
                      GoToMusicPlayWithSubs();
              }
              else if (nCurMainMenuItem == 1)
              {
                      theGamesMenuIn.Play();
                   GoToMemory();
              }
              else if (nCurMainMenuItem == 2)
              {
                      theMusicMenuIn.Play();
                      GoToMusic();
              }
              else if (nCurMainMenuItem == 3)
              {
                      theSettingsMenuIn.Play();
                      GoToSettings();

i cant find that on default-default.  sad.gif
Title: 5 Menues On Thc Lite ^_^
Post by: Xbox-Savage on April 21, 2004, 12:13:00 PM
biggrin.gif k, found the problem , looks like Gcue had a little too much alcohol.

is not!!!

CODE
function OnADown()


is

CODE
control DEF theMainMenuJoy Joystick


That ^^^ will give you this:

QUOTE

control DEF theMainMenuJoy Joystick <---- The real thing
    {
        function OnADown() <--- Gcue's Mistake!!!
        {
            PlaySoundA();
        if((LeftTrigger == true) & (RightTrigger == true))
        {
            QuickLaunch("A");
        }
        else
        {
                if (nCurMainMenuItem == 0)
                {
                        theGamesMenuIn.Play();
                    GoToMemory();
                }
                else if (nCurMainMenuItem == 1)
                {
                        theMusicMenuIn.Play();
                        GoToMusic();
                }
                else if (nCurMainMenuItem == 2)
                {
                        theGamesMenuIn.Play();
                        GoToMusicPlayWithSubs();
                }
                else if (nCurMainMenuItem == 3)
                {
                        theSettingsMenuIn.Play();
                        GoToSettings();
               
Title: 5 Menues On Thc Lite ^_^
Post by: cypher35 on April 21, 2004, 12:28:00 PM
QUOTE (Xbox-Savage @ Apr 21 2004, 03:13 PM)
biggrin.gif k, found the problem , looks like Gcue had a little too much alcohol.

is not!!!

CODE
function OnADown()


is

CODE
control DEF theMainMenuJoy Joystick


That ^^^ will give you this:


sorry to burst your bubble, but that isn't technicly a mistake...

the part he wanted you to edit *is* still inside the "function OnADown()" brackets, however there just so happen to be several occurances of this function throughout the code.

QUOTE
I made this so that only 4 tabs was visible and when you move down the 5th tab shows up. So your mainmenu wont be clogged up with a crap load of tabs damn. You guys are thick.

lol, i couldn't agree more, but cut 'em a little slack...  not everyone can decipher this stuff so easily.
Title: 5 Menues On Thc Lite ^_^
Post by: Xbox-Savage on April 21, 2004, 12:44:00 PM
QUOTE (cypher35 @ Apr 21 2004, 05:28 PM)
sorry to burst your bubble, but that isn't technicly a mistake...

the part he wanted you to edit *is* still inside the "function OnADown()" brackets, however there just so happen to be several occurances of this function throughout the code.


 huh.gif it is a mistake , when i searched for "function OnADown()"

it gave me this every time:

CODE

function OnADown()
  {
      if (nCurMessageButton != -1)
      {
          PlaySoundA();
          if (nCurMessageButton == 0)
              OnQuestionYes();
          else
              OnQuestionNo();
      }
  }

  function OnBDown()
  {
      if (nMessageButtonCount == 1)
      {
          // Just an OK button; B is the same as A
          OnADown();
          return;
      }

      if (nCurMessageButton != -1)
      {
          PlaySoundB();
          nCurMessageButton = 1;
          UpdateMessageButtonHighlight();
          OnQuestionNo();
      }
  }

  function OnMoveLeft()
  {
      if (nMessageButtonCount < 2)
          return;

      if (nCurMessageButton == 1)
      {
          PlaySoundMenuChange();
          nCurMessageButton = 0;
          UpdateMessageButtonHighlight();
      }
  }

  function OnMoveRight()
  {
      if (nMessageButtonCount < 2)
          return;

      if (nCurMessageButton == 0)
      {
          PlaySoundMenuChange();
          nCurMessageButton = 1;
          UpdateMessageButtonHighlight();
      }
  }
}


but with

CODE
control DEF theMainMenuJoy Joystick


it takes you right where you want to edit.

CODE

control DEF theMainMenuJoy Joystick
   {
       function OnADown() <--- Gcue's Mistake!!!
       {
           PlaySoundA();
       if((LeftTrigger == true) & (RightTrigger == true))
       {
           QuickLaunch("A");
       }
       else
       {
               if (nCurMainMenuItem == 0)
               {
                       theGamesMenuIn.Play();
                   GoToMemory();
               }
               else if (nCurMainMenuItem == 1)
               {
                       theMusicMenuIn.Play();
                       GoToMusic();
               }
               else if (nCurMainMenuItem == 2)
               {
                       theGamesMenuIn.Play();
                       GoToMusicPlayWithSubs();
               }
               else if (nCurMainMenuItem == 3)
               {
                       theSettingsMenuIn.Play();
                       GoToSettings();


Title: 5 Menues On Thc Lite ^_^
Post by: cypher35 on April 21, 2004, 01:07:00 PM
QUOTE (WarriorSan @ Apr 21 2004, 03:51 PM)
@cypher35,

oke I did what you said and yes the menu aren't transparent any more (so thank you) I also edit the default.xip/default.xap so that I can easily change the config.xbx and set that to whatever you want menu 5 to launch to. That's also working fine...

good to know...

QUOTE
@Gcue how come when I select the 5th tab and it shows up. It's still way hidden at the back of the orb (just like what Xbox-Savage said). Was it the reason to show up like that at the back of the orb??

Can you maybe tell me how to edit the default.xip/default.xap so that the 5th tab is solid and right under the 4th tab..just like the picture of Cypher35.


if the menu is appearing in the wrong place, then you probably misplaced the code you were supposed to add before this:
CODE
 ]
}
]
  scale 1.080000 1.080000 1.080000
  translation 400 0 -180
  //translation -57.980000 -13.690000 -84.760002
}

/*jbone*/
/*
DEF select Transform
Title: 5 Menues On Thc Lite ^_^
Post by: Xsmurf on April 21, 2004, 03:52:00 PM
sad.gif

can someone help me out


Title: 5 Menues On Thc Lite ^_^
Post by: Savejonas on April 21, 2004, 04:00:00 PM
QUOTE
anyway, it probably wouldn't be too hard to make a configurable option in config.xbx to toggle 5 menu mode and to set the name and action of menu 5... that's my next project

That would be great, I've spent the past hour trying to use the config file to make a fif menu. Thats right,  da FIF!!
Title: 5 Menues On Thc Lite ^_^
Post by: Tigroz on April 22, 2004, 01:12:00 AM
blink.gif  fucking curse , doesnt work here , i get empty tabs!! and the XBMC tab way hidden at the back of the orb.
Title: 5 Menues On Thc Lite ^_^
Post by: X-eQteR on April 22, 2004, 03:12:00 AM
QUOTE

]
}
]
  scale 1.080000 1.080000 1.080000
  translation 400 0 -180
  //translation -57.980000 -13.690000 -84.760002
}

/*jbone*/
/*
DEF select Transform


I cant really find a solution to this....follow the tutorial step by step(even repeated with each color dash available 3 times) until i got all five tabs with names and was able to edit the name on the config.xbx, HOWEVER, the fifth tab STill is hidden way back in the background. I try putting the code on top of that bracket, nothing works...changed to end of the Translation line after the closing bracket and Nothing works. if this is the only part keeping me from using tHc Lite, please anyone that successfully has all their five tabs showing as they are suppose to, show the code how is suppose to be added. Thanks in advance and Thanks to all of you for helping adding more features to this tHc Lite and the tHc regular/or pre-final.

XeQteR
Title: 5 Menues On Thc Lite ^_^
Post by: cypher35 on April 22, 2004, 06:52:00 AM
CODE
]
}
]
 scale 1.080000 1.080000 1.080000
 translation 400 0 -180
 //translation -57.980000 -13.690000 -84.760002
}

/*jbone*/
/*
DEF select Transform


no replacing anything...
Title: 5 Menues On Thc Lite ^_^
Post by: Tigroz on April 22, 2004, 11:53:00 AM
QUOTE (cypher35 @ Apr 22 2004, 03:52 PM)
for that code segment, it should be pasted before
CODE
]
}
]
 scale 1.080000 1.080000 1.080000
 translation 400 0 -180
 //translation -57.980000 -13.690000 -84.760002
}

/*jbone*/
/*
DEF select Transform


no replacing anything...

i've done it, but... like others there... the 5 tab it's at the back of the orb
plz... help
smile.gif
great dash the lite
W THC
Title: 5 Menues On Thc Lite ^_^
Post by: Aron Parsons on April 22, 2004, 12:50:00 PM
Same problem here.  Pasting the code right before the sqaure bracket puts the tab far away and centered on the orb.  I can still select it and launch XBMC just fine, but it doesn't appear as it should.  Was this centered on the green dash, b/c I'm using the blue dash for it.
Title: 5 Menues On Thc Lite ^_^
Post by: WarriorSan on April 23, 2004, 03:41:00 AM
@Aron Parsons,

I've also got the blue version and I think that we don't do anything wrong. This is because the code that Gcue gave us was meant to be that only 4 tabs are visible and when you move down the 5th tab shows up. So your mainmenu won't be clogged up with a crap load of tabs.

So I (we) hope that maybe Gcue can say how to make the 5th tab solid and underneath the 4th tab?

THNX
Title: 5 Menues On Thc Lite ^_^
Post by: Tigroz on April 23, 2004, 04:23:00 AM
@WarriorSan,
i've the blue thc lite 1.2 too , and cheked 10 times, it's like Gcue's tutorial no errors, but the 5th tab it's where is your.

Title: 5 Menues On Thc Lite ^_^
Post by: Alekz on April 24, 2004, 02:55:00 AM
pop.gif
Title: 5 Menues On Thc Lite ^_^
Post by: cypher35 on April 24, 2004, 06:50:00 AM
if i find time in the next few days, i'll take a look at i and see if i can find where everybody is going wrong with this tutorial...

Title: 5 Menues On Thc Lite ^_^
Post by: cypher35 on April 24, 2004, 06:56:00 AM
CODE
       DEF theMenuItems Transform
   {
    fade 0.43
    //fade 0.25

    children
    [   
    
    
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///                           <-- insert menu5 here!! -->
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

   DEF Main_memory_ringpin_2 Transform
   {
      children
      [


maybe this will work for some of you who are having trouble...
Title: 5 Menues On Thc Lite ^_^
Post by: MrSelfDestruct on April 24, 2004, 11:21:00 AM
I followed this tut step by step, 3 times, and every time I try to run thc with this hack, thclite.xbe just reboots my xbox, instead of actually launching the application. not quite sure what the problem is....

Any chance someone could send me the hacked default.xip, and the mainmenu5.xip, or maybe get them hosted on xbins?
Title: 5 Menues On Thc Lite ^_^
Post by: Xbox-Savage on April 24, 2004, 06:42:00 PM
biggrin.gif  weee i did it!!!

huh.gif  I didnt do the 5th tab , but i removed the Music Tab and made the edit to make the path to launch editable from the config.

cool.gif  will try to add Shortcut for Games on Music
Title: 5 Menues On Thc Lite ^_^
Post by: MrSelfDestruct on April 25, 2004, 06:58:00 PM
QUOTE (soundentertainm @ Apr 26 2004, 03:57 AM)
If someone could send me the xip's I would be very greatfull.

agreed.....   rolleyes.gif
Title: 5 Menues On Thc Lite ^_^
Post by: MrSelfDestruct on April 25, 2004, 09:39:00 PM
cypher ownz beerchug.gif

thank you sooooooooooooooooooo much
Title: 5 Menues On Thc Lite ^_^
Post by: Xbox-Savage on April 25, 2004, 09:51:00 PM
QUOTE (cypher35 @ Apr 26 2004, 02:06 AM)
ok..  i don't really have the time to try to understand what all of you are doing wrong with this tutorial, so i've just decided to post my entire code for mainmenu5.xip and default.xip

i'm not sure how legal this is, so if any moderator want's me to remove this link, just let me know...  i'll probably be taking it down in a week or so, so get it while it lasts:

EDIT.rar

is legal to post xaps but not the xips so youre ok.
Title: 5 Menues On Thc Lite ^_^
Post by: Xbox-Savage on April 25, 2004, 10:26:00 PM
QUOTE (-ViciouS- @ Apr 26 2004, 03:09 AM)
I didn't make a fifth tab, I just rearranged the bracket contents around, and made my now ex-memory menu simply launch XBMP.

Here it is for anyone who doesn't want the five tabs:


Search for:
CODE
control DEF theMainMenuJoy Joystick


Do this:


Voila.  One simple line.

 rolleyes.gif i did the same thing , only that i used the code QuickLaunch ("Menu5") instead of launch ("default.xbe","\\Device\\Harddisk0\\partition6\\Apps\\XBMP");   , that way you can edit it on the config.xbx like this :

CODE
Quick Launches
Holding L+R + button launches your app

Quick Launch A=F:\\Apps\\DVD\\default.xbe
Quick Launch B=F:\\Apps\\Media Center\\default.xbe
Quick Launch X=
Quick Launch Y=
Quick Launch Menu5=F:\\Apps\\Media Center\\default.xbe
Title: 5 Menues On Thc Lite ^_^
Post by: Alekz on April 26, 2004, 04:53:00 AM
QUOTE (cypher35 @ Apr 26 2004, 05:06 AM)
ok..  i don't really have the time to try to understand what all of you are doing wrong with this tutorial, so i've just decided to post my entire code for mainmenu5.xip and default.xip

i'm not sure how legal this is, so if any moderator want's me to remove this link, just let me know...  i'll probably be taking it down in a week or so, so get it while it lasts:

EDIT.rar


sorry for n00bishness...
but where to insert? i inserted the xap into the default xip ... and when i load up i get something that looks like more like a wildstyle than thc lite dash :/ the tabs are on the left side and they are as small as a penny :/(

what is wrong?? i only pasted,... nothing modified..
Title: 5 Menues On Thc Lite ^_^
Post by: Alekz on April 26, 2004, 05:14:00 AM
QUOTE (macegriffon @ Apr 26 2004, 11:50 AM)
first of all thanks to cypher for posting his xap´s. beerchug.gif

i have one more question, now the 5th tab is there, but empty.
how do i make it display "Media Center" and launch the xbmc?

thanks

open the file with a notepad and search for "xpmp" and change it into "xbmc" wink.gif or change the hole path, if your xbmc isn't in your apps folder..
Title: 5 Menues On Thc Lite ^_^
Post by: WarriorSan on April 26, 2004, 05:14:00 AM
@ cypher35,

Thanks for all your help rolleyes.gif

@ macegriffon,

I think you forgot to edit your config.xbx explained by cypher35

@Alekz,

[Inside the folder called EDIT you see a file called default.xap (<= this one goes into the default.XIP) and the other default.xap inside the folder mainmenu5 goes into suprise....the mainmenu5.XIP]

With WinXIP you open the default.XIP then push Edit and then choose Insert. Now open the file EDIT/default.xap and when it ask to replace/overwrite click yes. Now save the file as default.XIP.

Now open the mainmenu5.XIP with WinXIP and insert the other default.xap (EDIT/mainmenu5/default.xap) and save as mainmenu5.XIP

And edit the config.xbx (Credits to cypher35)

QUOTE


while we're on the subject of making things easily configurable, let's make the menu name editable from config.xbx also...

first off, add the line
CODE 
Menu5 Text=.:MENU 5:.

under the other menu name configurations in config.xbx

there ya go... your manu name and launch path are now definabel via config.xbx


and

QUOTE


and add the following line anywhere you want (just as long as it is it's own line and you don't change anything before the '=' sign)

CODE 
Quick Launch Menu5=F:\\Apps\\XBMC\\default.xbe

you can then set that to whatever you want menu 5 to launch to.
Title: 5 Menues On Thc Lite ^_^
Post by: WarriorSan on April 26, 2004, 05:30:00 AM
With cypher35 EDIT.rar and your config.xbx looks like this (ofcourse you can edit to what you want) then there is no excuse for a 5th menu..

CODE

Memory Text=.:MEMORY:.
Music Text=.:MUSIC:.
HardDrive Text=.:HARD DRIVE:.
Settings Text=.:SETTINGS:.
Menu5 Text=.:FTP:.

Quick Launches
Holding L+R + button launches your app

Quick Launch A=F:\\apps\\Xbox Media Center\\default.xbe
Quick Launch B=F:\\apps\\Xcommander\\default.xbe
Quick Launch X=C:\\xbe\\ejecttray.xbe
Quick Launch Y=C:\\xbe\\loadtray.xbe
Quick Launch Menu5=C:\\evoxdash.xbe

Submenu Options:
Can Only Have 5 Sections Or Less

Total Sections=5

[section0]
Title=Xbox Games
Path=games

[section1]
Title=Applications
Path=apps

[section2]
Title=Arcade Emulators
Path=emulators\\arcade

[section3]
Title=Gameconsole Emulators
Path=emulators\\spelcomputers

[section4]
Title=Handheld Emulators
Path=emulators\\handheld
Title: 5 Menues On Thc Lite ^_^
Post by: Alekz on April 26, 2004, 05:42:00 AM
thanks  laugh.gif now i see my mistake,... my downloads folder is so messed up, that i didn't see the mainmenu5 folder :/ cuz i extracted in the folder i downloaded :////
sorry for makin stupid questions,..  i tried it! and it works!! i also edited the other menu items, thanks to -ViciouS- and Xbox-Savage,... and cypher (do you know what a cypher really is??1 wink.gif

well,.. next task is a skin  rolleyes.gif
Title: 5 Menues On Thc Lite ^_^
Post by: cypher35 on April 26, 2004, 07:13:00 AM
edit:  oops, question already answered...
Title: 5 Menues On Thc Lite ^_^
Post by: Alekz on April 26, 2004, 10:52:00 AM
i finished my menu biggrin.gif
found something new to change!!
the games menu looks a little bit naked, does somebody know how to change the
hdd/games/ (this menu) into the style i meant? i don't want to to change a menu tab onto a memory style game tab, i just want to make the menu, that appears when i open the games menu in the hdd menu, to run with images biggrin.gif
sorry my englisch isn't as good to explain directly what i mean

beerchug.gif

thanks for the help !!
Title: 5 Menues On Thc Lite ^_^
Post by: ImOkRuOk on April 28, 2004, 02:19:00 AM
so ya;) was tryin this out, and got it on the first try... but it is still way under the orb... and your xaps... nope... nadda... so... im too high to figure this one out;) could one of you just tell me which set is the 5th tabs xys?  <
Title: 5 Menues On Thc Lite ^_^
Post by: WarriorSan on April 28, 2004, 05:04:00 AM
@ImOkRuOk,

If you follow the code for 5th menu tab given by Gcue I think it was meant to be back at the end of the orb, because I tried the code many times and just like many others it's showing up way there...

and Gcue also said:

QUOTE

I made this so that only 4 tabs was visible and when you move down the 5th tab shows up. So your mainmenu wont be clogged up with a crap load of tabs damn. You guys are thick.


But I downloaded cypher35 EDIT.rar and to make the 5th menu tab easy configurable for changing the name of the 5th menu and set to whatever you want to launch it we have to edit the config.xbx (Credits to cypher35)

Add the line
CODE

Menu5 Text=.:MENU 5:.  <= call it whatever you want


under the other menu name configurations in config.xbx, like this:
CODE

Memory Text=.:MEMORY:.
Music Text=.:MUSIC:.
HardDrive Text=.:HARD DRIVE:.
Settings Text=.:SETTINGS:.
Menu5 Text=.:MENU 5:.


and add the following line:
CODE

Quick Launch Menu5=F:\\Apps\\XBMC\\default.xbe  <= and set to whatever you want to launch it


under the other Quick Launches, like this:
CODE

Quick Launches
Holding L+R + button launches your app

Quick Launch A=F:\\apps\\Xbox Media Center\\default.xbe
Quick Launch B=F:\\apps\\Xcommander\\default.xbe
Quick Launch X=C:\\xbe\\ejecttray.xbe
Quick Launch Y=C:\\xbe\\loadtray.xbe
Quick Launch Menu5=F:\\Apps\\XBMC\\default.xbe


It worked for me and I renamed the 5th tab to .: FTP:. and set it to launch evox :D   <
Title: 5 Menues On Thc Lite ^_^
Post by: dem1980 on April 30, 2004, 12:09:00 PM
thank you very much for this tutorial
it s great :-)  <
Title: 5 Menues On Thc Lite ^_^
Post by: ANGEL2001ad on May 04, 2004, 09:59:00 PM
:D Fist of all I want to say you guys ROCK! I have wanted to do the 5th tab for some time now. I am more then happier that I switched from neXgen.

:unsure: So I hate to sound picky when I ask the next two questions I grabbed the edit.rar file and I must say cypher35 you are god. And followed the steps to change the config.xbx file. And all is working good.

:( But my original order is different. Can I arrange it in the order it was originally and if so how? If I missed that here in the post please for give me.  :huh:

;) And also is there possibility for a 6th tab or more?  <
Title: 5 Menues On Thc Lite ^_^
Post by: blaze_1ne on May 04, 2004, 08:57:00 PM
smile.gif
but... wink.gif

user posted image

as you can see on the left picture, some of the buttons were rearranged. the right picture is of the hard drive submenu. the submenu's title is wrong, and i was wondering if this could be fixed? i know its not a huge problem, i guess more of a preference... dry.gif
any help guys??
Title: 5 Menues On Thc Lite ^_^
Post by: chulo333 on May 05, 2004, 12:44:00 AM
*blaze_1ne: just read your post again and i don't think this was what you were looking for, but I'll leave it up for anyone else that doesn't know.

To change the order of your menus:
(it's a little complicated so try to follow the color coordination)
just search in default.xip/default.xap for:

function GetSubmenuText()
{
   var info = new Settings;
   info.file = "Y:\\config.xbx";
   SubMenuItem1 = info.GetValue("Memory Text");
   SubMenuItem2 = info.GetValue("Music Text");
   SubMenuItem3 = info.GetValue("HardDrive Text");
   SubMenuItem4 = info.GetValue("Settings Text");
   SubMenuItem5 = info.GetValue("Menu5 Text");
}
                     

and rearrange the order (of the items I colored below) to your liking. They'll be in the same order top to bottom in thC as what you use here.

I have mine set up like:
function GetSubmenuText()
{
   var info = new Settings;
   info.file = "Y:\\config.xbx";
   SubMenuItem1 = info.GetValue("HardDrive Text");
   SubMenuItem2 = info.GetValue("Menu5 Text");
   SubMenuItem3 = info.GetValue("Music Text");
   SubMenuItem4 = info.GetValue("Memory Text");
   SubMenuItem5 = info.GetValue("Settings Text");
}


___________________________________________________________________

then find this section:

   control DEF theMainMenuJoy Joystick
   {
       function OnADown()


and a little below that, change the order of what's in the if statements to match what you did above (this is mine, yours will look similar but rearranged):

               if (nCurMainMenuItem == 0)
               {
                       theGamesMenuIn.Play();
                       GoToMusicPlayWithSubs();
 <--move these around to match the order above                
               }
               else if (nCurMainMenuItem == 1)
               {
                       QuickLaunch("Menu5");    
               }
               else if (nCurMainMenuItem == 2)
               {
                       theMusicMenuIn.Play();
                       GoToMusic();

               }
               else if (nCurMainMenuItem == 3)
               {
                       theGamesMenuIn.Play();
                       GoToMemory();

               }
               else if (nCurMainMenuItem == 4)
               {
                       theSettingsMenuIn.Play();
                       GoToSettings();

               }
       }
       }


______________________________________________________________

and lastly from the config.xbx edit it to coordinate with the others (just label them based on what they say):

Memory Text=.: MEMORY :.
Music Text=.: MUSIC :.
HardDrive Text=.: LAUNCH :.
Settings Text=.: SETTINGS :.
Menu5 Text=.: FTP :.


this is how I did it. hope it helps some of you...if i got too complicated...oh well. sorry. If there's an easier way, someone else can post it. I'm too tired right now.

ps. Thanks Cypher for helping everyone (including me) with getting the 5th menu up and running!

This post has been edited by chulo333: May 5 2004, 07:52 AM <
Title: 5 Menues On Thc Lite ^_^
Post by: Annihil8or on May 05, 2004, 03:40:00 PM
beerchug.gif , and thanks chulo333 for helping fix the tab's correctly.  i've got everthing working and i have the renaming setup using config.xbx as cypher directed, but for some reason when i try to launch the 5th tab it just acts like it's launching a program and restarts THC again.  not sure the reason, i've also tried other paths to other quick launch apps that i have currently working and it does the same thing.  any help would be appreciated.  thanks again.
Title: 5 Menues On Thc Lite ^_^
Post by: First_Degree on May 06, 2004, 04:10:00 PM
QUOTE
as you can see on the left picture, some of the buttons were rearranged. the right picture is of the hard drive submenu. the submenu's title is wrong, and i was wondering if this could be fixed? i know its not a huge problem, i guess more of a preference...
any help guys??

i'm having this same problem.  In my Hard Drive submenu it say ".::soundz::." instead ".::Hard Drive::."  Its probably something fairly simple, but I'm not very experienced with coding, and I haven't been able to figure it out.  Other than that, the xaps worked great!  This dash, in conjunction with UnleashX is the ultimate! beerchug.gif
Title: 5 Menues On Thc Lite ^_^
Post by: RjT on May 06, 2004, 09:36:00 PM
Annihil8or ur paths are wrong if its just rebooting to THC double check em and try again  <
Title: 5 Menues On Thc Lite ^_^
Post by: n3wbie on May 10, 2004, 05:27:00 PM
First of, Thank you Cypher35 for the 5th orb code.  I'm really suck with adding the code manually.  Thank you again.

I added the code and found out that my usual menu was changed.  So I did some coding to be able to freely move the menu around the 5 orbs using the config file instead of having to make fix changes to the program.

in the default.xip/default.xap, I make changes to the GetSubmenuText function to retrieve the menu text under a different name, Menu1, Menu2 and so forth so that it can be generic and won't confuse me.
CODE

function GetSubmenuText()
{
   var info = new Settings;
   info.file = "Y:\\config.xbx";
   SubMenuItem1 = info.GetValue("Menu1 Text");
   SubMenuItem2 = info.GetValue("Menu2 Text");
   SubMenuItem3 = info.GetValue("Menu3 Text");
   SubMenuItem4 = info.GetValue("Menu4 Text");
   SubMenuItem5 = info.GetValue("Menu5 Text");
}


Then I added another function called MenuAction(x).  This function take 1 input and retrieve the static code that I defined to for each action: i.e.
RunMem = Run the Memory
RunMusic = Run Music
RunMenu = Run Harddrive Menu
RunSetting = Run Setting
Anything else = a quick launch of that name.

CODE

function MenuAction(x)
{
   var menu = x;
   var info = new Settings;
   info.file = "Y:\\config.xbx";
   var a = info.GetValue(menu + "Action");
   if (a == "RunMem")
   {
      theGamesMenuIn.Play();
       GoToMemory();
   }
   else if (a == "RunMusic")
   {
   theMusicMenuIn.Play();
   GoToMusic();
   }
   else if (a == "RunMenu")
   {
      theGamesMenuIn.Play();
      GoToMusicPlayWithSubs();
   }
   else if (a == "RunSetting")
   {
   theSettingsMenuIn.Play();
   GoToSettings();
   }
   else if (a != " ")
   {
      QuickLaunch(a);
   }
   return;
}


Now in the MainMenuJoy section (define joystick action at the main menu I guess???).   I changed the code as follow:

CODE

control DEF theMainMenuJoy Joystick
   {
       function OnADown()
       {
           PlaySoundA();
       if((LeftTrigger == true) & (RightTrigger == true))
       {
           QuickLaunch("A");
       }
       else
       {
               if (nCurMainMenuItem == 0)
               {
                       MenuAction("Menu1");
               }
               else if (nCurMainMenuItem == 1)
               {
                       MenuAction("Menu2");
               }
               else if (nCurMainMenuItem == 2)
               {
                       MenuAction("Menu3");
               }
               else if (nCurMainMenuItem == 3)
               {
                       MenuAction("Menu4");
               }
               else if (nCurMainMenuItem == 4)
               {
                       MenuAction("Menu5");
               }
       }
       }
...


Added the default.xap back into the default.xip.  Now it's time for the config.xbx file.

CODE

Background Music=Yes
Use Thc Orb=No

Menu1 Text=.:MEMORY:.                 <-- I change these to Menu1 to Menu5 Text
Menu2 Text=.:MUSIC:.
Menu3 Text=.:START MENU:.
Menu4 Text=.:MEDIA CENTER:.
Menu5 Text=.:SETTINGS:.

Menus Action code:        <-- I added this description
Value         Description
RunMem        Run Memory
RunMusic      Run Music
RunMenu       Run Harddrive Menu.
RunSetting    Run Setting
QL Name       Run Quick Launches.  Example: Menu5 will cause it to run QL Menu5

Menu1Action=RunMem  <-- Here are the 5 menu actions.
Menu2Action=RunMusic
Menu3Action=RunMenu
Menu4Action=XBMC      
Menu5Action=RunSetting

Quick Launches
Holding L+R + button launches your app

Quick Launch A=
Quick Launch B=
Quick Launch X=
Quick Launch Y=
Quick Launch XBMC=F:\\XBMedia\\default.xbe


You can see that Menu1 is to run Memory, Menu2 to run Music, Menu 3 to run Harddrive menu, Menu4 to run a quick launch called XBMC, and menu 5 to run Setting.

If you desire to get rid of RunMusic and run Evox for ftp instead, just change one of the menu text to reflect that and then change the associated Menu action to run the quick launch. For example:

CODE

Menu2 Text=.:EVOX FTP:.
...


Then change the menu action
CODE

Menu2Action=Evox
...


Now add a quick launch with a Evox name to run evox.

CODE

Quick Launch Evox=F:\\Evox\\default.xbe


Hope it helps someone.

I'm not sure if this is relevant, but I found out that by modifying the .xap file using a text editor program, such as notepad, ultraedit or some of those, I didn't have the stupid 21 error.  Probably this is just me.  <
Title: 5 Menues On Thc Lite ^_^
Post by: vintster on May 10, 2004, 05:38:00 PM
n3wbie,  great code man!  I think this should help a lot of people who have trouble editing code.  I'm a original tHc guy myself but I might try to adapt your code for that (if you don't mind of course  ;) ).  Anyways, great coding!  Keep it up.

This post has been edited by vintster: May 11 2004, 12:40 AM <
Title: 5 Menues On Thc Lite ^_^
Post by: nmajin on May 10, 2004, 08:10:00 PM
sad.gif  everything else works fine though

CODE
function MenuAction(x)
{
  var menu = x;
  var info = new Settings;
  info.file = "Y:\\config.xbx";
  var a = info.GetValue(menu + "Action");
  if (a == "RunMem")
  {
   theGamesMenuIn.Play();
      GoToMemory();
  }
  else if (a == "RunMusic")
  {
theMusicMenuIn.Play();
GoToMusic();
  }
  else if (a == "RunMenu")
  {
   theGamesMenuIn.Play();
   GoToMusicPlayWithSubs();
  }
  else if (a == "RunSetting")
  {
theSettingsMenuIn.Play();
GoToSettings();
  }
  else if (a != "EVOX")           <----- I assume this is correct?
  {
   QuickLaunch(a);
  }
  return;
}


CODE
Background Music=Yes
Use Thc Orb=Yes

Menu1 Text=.:MEMORY:.  
Menu2 Text=.:MUSIC:.
Menu3 Text=.:HARD DRIVE:.
Menu4 Text=.:EVOX FTP:.
Menu5 Text=.:SETTINGS:.

Menus Action code:        <-- I added this description
Value         Description
RunMem        Run Memory
RunMusic      Run Music
RunMenu       Run Harddrive Menu.
RunSetting    Run Setting
QL Name       Run Quick Launches.  Example: Menu5 will cause it to run QL Menu5

Menu1Action=RunMem
Menu2Action=RunMusic
Menu3Action=RunMenu
Menu4Action=EVOX      
Menu5Action=RunSetting

Quick Launches
Holding L+R + button launches your app

Quick Launch A=F:\\Applications\\XBOX Media Center\\default.xbe
Quick Launch B=F:\\Utilities\\xToolBox\\default.xbe
Quick Launch X=
Quick Launch Y=
Quick Launch EVOX=F:\\Dashboards\\EvolutionX\\default.xbe

Submenu Options:
Can Only Have 5 Sections Or Less

Total Sections=5

[section0]
Title=Applications
Path=Applications

[section1]
Title=Dashboards
Path=Dashboards

[section2]
Title=Emulators
Path=Emulators

[section3]
Title=Games
Path=Games

[section4]
Title=Utilities
Path=Utilities


I'm a n00b with coding so if i did something stupid please let me know
Title: 5 Menues On Thc Lite ^_^
Post by: vintster on May 10, 2004, 09:44:00 PM
QUOTE
else if (a != "EVOX")           <----- I assume this is correct?


I think you have to leave it like this:
CODE
  else if (a != " ")  


since != means "not equal", the code below it will only execute with that condition.  That way it will run your quicklaunch if you have ANY item written in "MenuXAction".  <
Title: 5 Menues On Thc Lite ^_^
Post by: n3wbie on May 11, 2004, 10:03:00 AM
nmajin,

As vintster already pointed out, you should leave the code as mentioned because it will allows you to fire off multiple different program using the quick launch.  The code basically say that if the MenuXAction is not blank and is not RunMem, RunMusic, RunMenu, or RunSetting, then quick launch it.

Vintster,
Thank you for the comment, I'm just a starter so my code may be clumpsy.  Feel free to make changes to it  :) ...
 <
Title: 5 Menues On Thc Lite ^_^
Post by: nmajin on May 11, 2004, 10:50:00 AM
hmmm yea i know what you mean. i have no idea why i cant launch anything, everything else works fine though...would it be to much of a headache to post your default.xap file...i just been trying over and over lol im sorry  <
Title: 5 Menues On Thc Lite ^_^
Post by: kraus on May 15, 2004, 08:02:00 PM
blaze_1ne:
i found what your looking for
default.xip - harddrive.xap
do a search for this
c.TitleText1.text = SubMenuItem3;
change the 3 to 1 (if its the first menu item)
2 if its the second..  you get the idea

i also figuired out how to make it an entry in config.xbx

in default.xip edit harddrive.xap

do a search for this line
    c.TitleText1.text = SubMenuItem3;

change that to

   // c.TitleText1.text = SubMenuItem3;
   var info = new Settings;
   info.file = "Y:\\config.xbx";
   var a = info.GetValue("HardDriveMenu");
   if (a  == "1")
   {
    c.TitleText1.text = SubMenuItem1;
   }
   else if (a == "2")
   {
    c.TitleText1.text = SubMenuItem2;
   }
   else if (a == "3")
   {
    c.TitleText1.text = SubMenuItem3;
   }
   else if (a == "4")
   {
    c.TitleText1.text = SubMenuItem4;
   }
   else if (a == "5")
   {
    c.TitleText1.text = SubMenuItem5;
   }
   else
   {
    c.TitleText1.text = SubMenuItem3;
   }



then add this line to you config.xbx

// Define where runmenu is
// 1 thru 5
HardDriveMenu=1

now you can have the right title when you open RunMenu
kraus.
Title: 5 Menues On Thc Lite ^_^
Post by: ANGEL2001ad on May 19, 2004, 12:50:00 AM
rolleyes.gif Can We Do 6 Please Just one more would help me out?
Title: 5 Menues On Thc Lite ^_^
Post by: Dell123 on May 19, 2004, 06:45:00 AM
many thanks to cypher35 for your edit.rar and kraus for showing me how to change the submenu's name, my hardrive menue is no longer named music haha.
Title: 5 Menues On Thc Lite ^_^
Post by: dazzysima on May 29, 2004, 10:35:00 AM
ohmy.gif

I can hear the menu moving up and down but no picture sad.gif

Any ideas?
Title: 5 Menues On Thc Lite ^_^
Post by: Savejonas on June 02, 2004, 04:31:00 PM
@Dazzysima
Yeah, I just did the same thing. At first after using the Edit.rar file on my menu5, my menu got really small and went to the left side of the screeen. Then when I used it on my default, the menu disappeared but I can still choose go to my programs and hear the menu move.
Title: 5 Menues On Thc Lite ^_^
Post by: Savejonas on June 02, 2004, 05:24:00 PM
CODE
<-- insert menu5 here!! -->

but you shouldn't modify the file in any way.
Thank you Cypher jester.gif
Title: 5 Menues On Thc Lite ^_^
Post by: Alcofrolic on June 06, 2004, 02:35:00 PM
can someone us tpost up the entire code for that file?

then i can simply copy and paste it into my one and adjust names etc to my liking

thanks
Title: 5 Menues On Thc Lite ^_^
Post by: dazzysima on June 08, 2004, 02:12:00 AM
sad.gif

I'm confused as to what to do. I think I'll be stuck with 4 buttons and faffing about through the apps to get to Media Centre
Title: 5 Menues On Thc Lite ^_^
Post by: jaNN0 on July 13, 2004, 08:36:00 PM
yaa man.. i got the exact same problem.. some thing fishy is goin on... its ALL black .. and nothings appearing but i hear the menus =( anyone help pls pls pls?
Title: 5 Menues On Thc Lite ^_^
Post by: coltxL2717 on July 14, 2004, 12:20:00 PM
Hey amn make sure that the path to your xbe has the apprprate backslashes.
Title: 5 Menues On Thc Lite ^_^
Post by: coltxL2717 on July 14, 2004, 06:01:00 PM
CODE
else if (nCurMainMenuItem == 3)
               {
               launch ("default.xbe","\\Device\\Harddisk0\\partition2");        
               }


Look like this:

CODE
else if (nCurMainMenuItem == 3)
                  {
                  launch( "default.xbe", "\\Device\\Harddisk0\\Partition2" );
                  }


Make sure you cut and paste what i put up there.  You need to have some spaces in there.  Wierd i know, but it wont work without them.  

Have Fun!
Title: 5 Menues On Thc Lite ^_^
Post by: Piracy the Clown on July 27, 2004, 05:19:00 AM
pop.gif  beerchug.gif
Title: 5 Menues On Thc Lite ^_^
Post by: la7eralus on November 17, 2004, 09:43:00 PM
Ok, i have done this over a million times and am now the closest, i have the 5th tab showing up and in place, moving correctly and launching what its supposed to.  The only problem i have now is that there is another tab behind the orb.  if anyone would be willin to take a look @ my xap.'s id muchly appreciate it.
Title: 5 Menues On Thc Lite ^_^
Post by: INSB_GLOCK on November 19, 2004, 03:51:00 AM
he posted his xaps. but the menus are all f--ked up "harddrive being first and so on. i dunno about this one but i think someone should paste some code where there are 4 tabs visable upfront
and when you move to the next fifth one the first tab swings back to the back of the orb and the 5th one swings foward. and get it so theirs more than just five tabs, and post their xaps. this shit is whack and everytime i try to do it i end up fuckin somefin up. and itd be nice if all them tabs would be configurable by config.xbx. 10 to 15 tabs sounds nice
Title: 5 Menues On Thc Lite ^_^
Post by: la7eralus on November 19, 2004, 11:24:00 AM
biggrin.gif

FYI:  if u want 10-15 tabs on your lite you might as well go with evox and make a skin that looks like lite...lol
Title: 5 Menues On Thc Lite ^_^
Post by: INSB_GLOCK on November 19, 2004, 04:46:00 PM
naww ill jus stick to this if thats the case
Title: 5 Menues On Thc Lite ^_^
Post by: la7eralus on December 17, 2004, 02:28:00 AM
CODE

 DEF game_select_pod_inner02 Transform
   {
       children
       [
           Spinner
           {
               rpm 5.75/*jb*/
 axis 2 2 2
               children
               [
                   Shape
                   {
                       appearance Appearance
                       {
                           material MaxMaterial
                           {
                               //name "EggGlowPulse"
   //name "MenuCell"
   //name "Black80"
   //name "ReflectSurface"
   name "Tubes"     
                           }
                           texture ImageTexture
      {
                               //alpha true
   url "texture.xbx"
                           }
                       }
                       //geometry Mesh { url "OrbCell-FACES.xm" }
    //geometry Mesh { url "setup_fl.xm" }
    geometry Mesh { url "iconname.xm" }
                   }
               ]
           }
   
           Spinner
           {
               rpm 5.75/*jb*/
 axis 2 2 0
               children
               [
                   Shape
                   {
                       appearance Appearance
                       {
                           material MaxMaterial
                           {
                               name "EggGlowPulse"
                               //name "ReflectSurface"
                           }
                           texture ImageTexture
                           {
                               alpha true
                               //url "orbcellwall.bmp"
   url "texture.xbx"
                           }
                       }
                       //geometry Mesh { url "OrbCell-FACES.xm" }
                       geometry Mesh { url "fakeorb.xm" }
                   }
               ]
           }
       ]
rotation -0.335200 0.920700 -0.199700 -0.424800 // <- how it rotates
                scale 0.25 0.25 0.25/*jbone*/ //  <- size of the model
                scaleOrientation 0.000000 0.000000 0.000000 0.000000 //
                translation -31.959999 -3.733000 -3.075000 // <- where it is in the dash
}


After the WHOLE DEF's for:

1st menu item:
CODE

DEF music_tube_0 Transform

2ndmenu item:
CODE

DEF games_tube_0 Transform (the first one)

3rd menu item:
CODE

DEF games_tube_0 Transform (the second one)

4th menu item:
CODE

DEF game_podsocket_inner03 Transform
(make sure its after:

 ]
    }
   ]
   translation -33.250000 -4.746000 -10.290000
}

5th menu item (if you have one):
CODE

DEF games_tube_0 Transform (the third one)


good luck biggrin.gif
Title: 5 Menues On Thc Lite ^_^
Post by: SEHF on December 24, 2004, 10:42:00 AM
I correctly added the 5th tab which launches Evolution X for FTP.  Now When I start up THC lite, the higlited TAB is usually the Memory one.  MY order of TABs from top to bottom is:

.::STORAGE::.(harddrive)
.::MEMORY::.
.::MUSIC::.
.::SETTINGS::.
.::EVOLUTION X::.

When the dash launches it automatically higlights Memory, but I want it to automatically highlight Music, which is right in the middle and looks better.  Can anybody tell me what code I have to modify to get this to work?  Thanks!

I think it is in the default.xip/default.xap, but I'm not sure...

Title: 5 Menues On Thc Lite ^_^
Post by: SEHF on December 25, 2004, 07:51:00 PM
Anyone on my above post?  It seems pretty simple, but somebody with experience knows this...
Title: 5 Menues On Thc Lite ^_^
Post by: SEHF on December 26, 2004, 11:43:00 PM
Alright, nevermind.  I figued it out!  I feel so good, even though it was so simple!

If anybody else needs this here's a tut:

Open up default.xip/default.xap

Search for this code:

nCurMainMenuItem =1;

It should bring you right to the value you have to change.  Change the above 1 to a 2 to get it right in the middle if you have 5 tabs!  Sweet!

Save and FTP back!
Title: 5 Menues On Thc Lite ^_^
Post by: la7eralus on December 28, 2004, 01:15:00 PM
biggrin.gif
Title: 5 Menues On Thc Lite ^_^
Post by: SEHF on December 29, 2004, 06:27:00 PM
Yeah, it does! I spent about 45 minutes looking at all the .xips and .xaps, but I found it eventually...

Anyways, now I got to figure out how to get the xbox model to appear the orb in the Hard Drive menu when you enter it.  That's gona be difficult, unless someone can give me a tutorial?

Thanks, man!