Help - Search - Members - Calendar
Full Version: 5 Menues On Thc Lite ^_^
Scenyx Entertainment Community > Xbox1 Forums > Dashboard Forums > Official Team UIX Forums > Archived Forum > Official Xboxdash.net (tHc dashboards) Forum
Pages: 1, 2, 3
-ViciouS-
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:
QUOTE
function OnADown()
        {
            PlaySoundA();
        if((LeftTrigger == true) & (RightTrigger == true))
        {
            QuickLaunch("A");
        }
        else
        {
                if (nCurMainMenuItem == 0)
                {
                        theGamesMenuIn.Play();   
                    GoToMusicPlayWithSubs();
                }
                else if (nCurMainMenuItem == 1)
                {
                        launch ("default.xbe","\\Device\\Harddisk0\\partition6\\Apps\\XBMP");   
                }
                else if (nCurMainMenuItem == 2)
                {
                        theMusicMenuIn.Play();
                        GoToMusic();
                }
                else if (nCurMainMenuItem == 3)
                {
                        theSettingsMenuIn.Play();
                        GoToSettings();
                }
        }
        }


Voila. One simple line.
Xbox-Savage
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
macegriffon
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
Alekz
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..
Alekz
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..
WarriorSan
@ 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.
WarriorSan
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
Alekz
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
cypher35
edit: oops, question already answered...
Alekz
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 !!
ImOkRuOk
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?
WarriorSan
@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 biggrin.gif
dem1980
thank you very much for this tutorial
it s great :-)
ANGEL2001ad
biggrin.gif 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.gif 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.

sad.gif 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.gif

wink.gif And also is there possibility for a 6th tab or more?
blaze_1ne
i was able to fully implement the 5th button and it works perfectly. got it link to xbox media centre. 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??
chulo333
*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!
Annihil8or
Big thanks to Gcue and Cyper for all the coding 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.
First_Degree
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
RjT
Annihil8or ur paths are wrong if its just rebooting to THC double check em and try again
n3wbie
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.
vintster
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 wink.gif ). Anyways, great coding! Keep it up.
nmajin
Can someone point where i went wrong...i did everything like you said in your tutorial and only things i changed were in these and i cant get the evox ftp to launch 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
vintster
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".
n3wbie
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 smile.gif ...
nmajin
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
n3wbie
I don't know how to add it, but here is the link to download it from my FTP.
ftp://xbox:xbox@24.24.255.35/thclitemod.rar

The file has the sample of the config file.
The default.xap of the default.xip
The default.xap of the mainmenu5.xip

kraus
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.
ANGEL2001ad
rolleyes.gif Can We Do 6 Please Just one more would help me out?
Dell123
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.
dazzysima
I've inserted the two files where they should be but now I have no image on the screen ohmy.gif

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

Any ideas?
Savejonas
@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.
Savejonas
Ok, its working. All I did was replace the .xap's again with the ones cypher supplied. The reason the menu dissapeared was because I tried modifying cypher's menu5 file because it still contains a line that says
CODE
<-- insert menu5 here!! -->

but you shouldn't modify the file in any way.
Thank you Cypher jester.gif
brent4president
first i would like to say thanks for everyone's work on this menu.


now for n3wbie and nmajin...

i believe there is an error with that code. I changed my config file to this and it fixed everything:

CODE

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

Quick Launches
Holding L+R + button launches your app

Quick Launch A=
Quick Launch B=
Quick Launch X=
Quick Launch Y=F:\\Apps\\XBMC\\default.xbe
Quick Launch 1=
Quick Launch 2=
Quick Launch 3=
Quick Launch 4=F:\\Apps\\XBMC\\default.xbe
Quick Launch 5=


for some reason the quick launch names have to be one character long. (or at least shorter than what i was trying, but 1 character quick launch names fixed it.)


Alcofrolic
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
dazzysima
I've done it with Cypher's code not modifying everyting and I still get the same problem 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
jaNN0
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?
Alekz
i did the same as xbox-savage without adding a forth tab (by the way, i got a 5th one working, so this tutorial was correkt wink.gif
but everytime i execute unleashX with my forth tab i loads up with a messed up cfg and the default skin,... i allready posted in both dashboard forums and asked in several treats, but nothing :/
iam staring unleash x located on c: as default.xbe on the 4th tab
but it shows up like described before, but when i execute it from evoX it works perfectly.---
and don'T know where to ask or look for help,.. but this suxx,.. my THC and UX skinswapper are both configured perfectly except this SHIT!!
please help!!!

you can also look here
UX skin swapper treat

unsure.gif

please share your knowledge biggrin.gif
coltxL2717
Hey amn make sure that the path to your xbe has the apprprate backslashes.
Alekz
pardon, my english is not very good so i don't actually know which of the backslashes you mean by saying "apprprate" i used this ( \ ) one

here is my default.xap part

coltxL2717
Ok, make this:

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!
Alekz
wow thanks smile.gif
everythings works perfect now!!!

luvnpeace beerchug.gif
Piracy the Clown
Sorry so long..but here is a working copy of default.xap(WinXIP it into default.xip) pop.gif beerchug.gif

QUOTE

////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////

DEF theScreen Screen
{
    width 640
    height 480
}


DEF theAmbientSounds Group
{
    children
    [
        DEF theAmbientSound0 AudioClip { url "Audio/AmbientAudio/AMB_12_HYDROTHUNDER_LR.wav" loop true volume 0 fade 2 pause_on_moving true }
        DEF theAmbientSound1 AudioClip { url "Audio/AmbientAudio/AMB_06_COMMUNICATION_LR.wav" loop true volume 0 fade 2 pause_on_moving true }
        DEF theAmbientSound2 AudioClip { url "Audio/AmbientAudio/AMB_05_ENGINEROOM_LR.wav" loop true volume 0 fade 2 pause_on_moving true }
    ]
}

DEF thePeriodicSounds Group
{
    children
    [
        PeriodicAudioGroup
        {
            period 60
            periodNoise 20
            children
            [
                AudioClip { url "Audio/AmbientAudio/AMB_EC_Steam1.wav" volume 0.80 }
                AudioClip { url "Audio/AmbientAudio/AMB_EC_Steam2.wav" volume 0.80 }
                AudioClip { url "Audio/AmbientAudio/AMB_EC_Steam3.wav" volume 0.80 }
                AudioClip { url "Audio/AmbientAudio/AMB_EC_Steam4.wav" volume 0.80 }
                AudioClip { url "Audio/AmbientAudio/AMB_EC_Steam5.wav" volume 0.80 }
                AudioClip { url "Audio/AmbientAudio/AMB_EC_Steam6.wav" volume 0.80 }
                AudioClip { url "Audio/AmbientAudio/AMB_EC_Steam7.wav" volume 0.80 }
            ]
        }

        PeriodicAudioGroup
        {
            period 120
            periodNoise 30
            children
            [
                AudioClip { url "Audio/AmbientAudio/AMB_EC_Voices1.wav" volume 0.80 }
                AudioClip { url "Audio/AmbientAudio/AMB_EC_Voices2.wav" volume 0.80 }
                AudioClip { url "Audio/AmbientAudio/AMB_EC_Voices3.wav" volume 0.80 }
                AudioClip { url "Audio/AmbientAudio/AMB_EC_Voices4.wav" volume 0.80 }
                AudioClip { url "Audio/AmbientAudio/AMB_EC_Voices5.wav" volume 0.80 }
                AudioClip { url "Audio/AmbientAudio/AMB_EC_Voices6.wav" volume 0.80 }
                AudioClip { url "Audio/AmbientAudio/AMB_EC_Voices7.wav" volume 0.80 }
                AudioClip { url "Audio/AmbientAudio/AMB_EC_Voices8.wav" volume 0.80 }
                AudioClip { url "Audio/AmbientAudio/AMB_EC_Voices9.wav" volume 0.80 }
                AudioClip { url "Audio/AmbientAudio/AMB_EC_Voices10.wav" volume 0.80 }
                AudioClip { url "Audio/AmbientAudio/AMB_EC_Voices11.wav" volume 0.80 }
                AudioClip { url "Audio/AmbientAudio/AMB_EC_Voices12.wav" volume 0.80 }
            ]
        }

        PeriodicAudioGroup
        {
            period 45
            periodNoise 15
            children
            [
                AudioClip { url "Audio/AmbientAudio/comm voice 1.wav"  fade 2 volume 0.85 }
                AudioClip { url "Audio/AmbientAudio/comm voice 2.wav"  fade 2 volume 0.85 }
                AudioClip { url "Audio/AmbientAudio/comm static 1.wav" fade 2 volume 0.85 }
                AudioClip { url "Audio/AmbientAudio/comm voice 3.wav"  fade 2 volume 0.85 }
                AudioClip { url "Audio/AmbientAudio/comm voice 4.wav"  fade 2 volume 0.85 }
                AudioClip { url "Audio/AmbientAudio/comm static 2.wav" fade 2 volume 0.85 }
                AudioClip { url "Audio/AmbientAudio/comm voice 5.wav"  fade 2 volume 0.85 }
                AudioClip { url "Audio/AmbientAudio/comm voice 6.wav"  fade 2 volume 0.85 }
                AudioClip { url "Audio/AmbientAudio/comm static 3.wav" fade 2 volume 0.85 }
                AudioClip { url "Audio/AmbientAudio/comm voice 7.wav"  fade 2 volume 0.85 }
                AudioClip { url "Audio/AmbientAudio/comm voice 8.wav"  fade 2 volume 0.85 }
                AudioClip { url "Audio/AmbientAudio/comm static 4.wav" fade 2 volume 0.85 }
                AudioClip { url "Audio/AmbientAudio/comm voice 9.wav"  fade 2 volume 0.85 }
            ]
        }

        PeriodicAudioGroup
        {
            period 300
            periodNoise 60
            children
            [
                AudioClip { url "Audio/AmbientAudio/AMB_EC_Pinger1.wav" volume 0.85 }
                AudioClip { url "Audio/AmbientAudio/Control Room Loop.wav" volume 0.85 }
                AudioClip { url "Audio/AmbientAudio/Control Room Loop ver2.wav" volume 0.85 }
            ]
        }
    ]
}


function EnableAmbientAudio()
{
    var n = Math.round(Math.random() * (theAmbientSounds.children.length() - 1));

    log("Picking ambient track " + (n + 1));

    for (var i = 0; i < theAmbientSounds.children.length(); i = i + 1)
        theAmbientSounds.children[i].isActive = false;

    theAmbientSounds.children[n].volume = 0.95;
    theAmbientSounds.children[n].isActive = true;

    for (i = 0; i < thePeriodicSounds.children.length(); i = i + 1)
        thePeriodicSounds.children[i].isActive = true;
}

function DisableAmbientAudio()
{
    log("Disabling ambient audio...");

    for (var i = 0; i < theAmbientSounds.children.length(); i = i + 1)
        theAmbientSounds.children[i].isActive = false;

    for (i = 0; i < thePeriodicSounds.children.length(); i = i + 1)
        thePeriodicSounds.children[i].isActive = false;
}

DEF theGamesMenuIn AudioClip { url "Audio/TransitionAudio/Games Main Menu In_LR.wav" volume 0.92 }
DEF theGamesMenuOut AudioClip { url "Audio/TransitionAudio/Games Main Menu Out_LR.wav" volume 0.92 }
DEF theGamesSubMenuIn AudioClip {url "Audio/TransitionAudio/Games Sub Menu In_LR.wav" volume 0.92 }
DEF theGamesSubMenuOut AudioClip {url "Audio/TransitionAudio/Games Sub Menu Out_LR.wav" volume 0.92 }
DEF theMusicMenuIn AudioClip { url "Audio/TransitionAudio/Music Main Menu In_LR.wav" volume 0.92 }
DEF theMusicMenuOut AudioClip { url "Audio/TransitionAudio/Music Main Menu Out_LR.wav" volume 0.92 }
DEF theMusicSubMenuIn AudioClip { url "Audio/TransitionAudio/Music Select Track In_LR.wav" volume 0.92 }
DEF theMusicSubMenuOut AudioClip { url "Audio/TransitionAudio/Music Select Track Out_LR.wav" volume 0.92 }
DEF theSettingsMenuIn AudioClip { url "Audio/TransitionAudio/Settings Main Menu In_LR.wav" volume 0.92 }
DEF theSettingsMenuOut AudioClip { url "Audio/TransitionAudio/Settings Main Menu Out_LR.wav" volume 0.92 }
DEF theSettingsSubMenuIn AudioClip { url "Audio/TransitionAudio/Settings Sub Menu In_LR.wav" volume 0.92 }
DEF theSettingsSubMenuOut AudioClip { url "Audio/TransitionAudio/Settings Sub Menu Out_LR.wav" volume 0.92 }
DEF theCDExpand AudioClip { url "Audio/MusicAudio/Music CD Select.wav" volume 0.85 }
DEF thePlayerPanelIn AudioClip { url "Audio/MusicAudio/Games Info Screen In MSurr.wav" volume 0.92 }
DEF thePlayerPanelOut AudioClip { url "Audio/MusicAudio/Games Info Screen Out MSurr.wav" volume 0.92 }
DEF theMainMenuForward AudioClip { url "Audio/MainAudio/Global Main MenuFwd3ver2.wav" volume 0.90 }
DEF theMainMenuBackward AudioClip { url "Audio/MainAudio/Global Main MenuBack3ver2.wav" volume 0.90 }
DEF theASound AudioClip { url "Audio/MainAudio/Global A Button Select.wav" pan 75 volume 0.92 }
DEF theBSound AudioClip { url "Audio/MainAudio/Global B Button Back.wav" pan -75 volume 0.92 }
DEF theMenuChangeSound AudioClip { url "Audio/MainAudio/Global Scroll Beep.wav" volume 0.85 }
DEF theErrorSound AudioClip { url "Audio/MainAudio/Global Error Message B.wav" volume 0.85 }
DEF theDeleteSound AudioClip { url "Audio/MainAudio/Global Delete_Destroy.wav" volume 0.85 }
DEF theProgressSound AudioClip { url "Audio/MainAudio/Global Progress Bar.wav" loop true volume 0.85 }
DEF theCompleteSound AudioClip { url "Audio/MainAudio/Global Completion Beep.wav" volume 0.85 }
DEF theMemoryControllerSelectSound AudioClip { url "Audio/MemoryAudio/Memory Controller Select.wav" volume 0.90 }
DEF theMemoryTitleSelectSound AudioClip { url "Audio/MemoryAudio/Memory Games Select.wav" volume 0.90 }
DEF theMemorySaveSelectSound AudioClip { url "Audio/MemoryAudio/Memory Memory Slot Select.wav" volume 0.90 }
DEF theSettingsLangSound AudioClip { url "Audio/SettingsAudio/Settings Lang SubMenu Sel.wav" volume 0.90 }
DEF theSettingsParentSound AudioClip { url "Audio/SettingsAudio/Settings Parent SubMenu Sel.wav" volume 0.90 }

function PlaySoundError()
{
    theErrorSound.Play();
}

function PlaySoundDelete()
{
    theDeleteSound.Play();
}

function PlaySoundA()
{
    theASound.Play();
}

function PlaySoundB()
{
    theBSound.Play();
}

function PlaySoundMenuChange()
{
    theMenuChangeSound.Play();
}

DEF theScreenSaver ScreenSaver
{
    function OnStart()
    {
    theScreen.brightness = 0.1;
    }

    function OnEnd()
    {
    theScreen.brightness = 1;
    }
}

NavigationInfo
{
    type "walk"
    headlight false
}

DEF theBackground Background
{
    skyColor 0 0 0
}


DEF theSkinBackground Background
{
    backdrop ImageTexture { url "background.bmp" }
    skyColor 0 0 0
}

DEF theConfig Config

function GetLanguage()
{
    return theConfig.GetLanguage();
}

function SetLanguage(nLanguage)
{
    return theConfig.SetLanguage(nLanguage);
}

function ClosePopup()
{
    if (g_bKeyboardDisplayed)
    {
        CloseKeyboard();
    }

    if (g_bPanelDisplayed)
    {
        CloseMessage();
    }
}

DEF theDVDPlayerInline Inline
{
    visible false
    url "dvd.xap"

    function onLoad()
    {
        theDVDPlayerInline.children[0].theDVDLevel.GoTo();
    }
}

DEF theDiscDrive DiscDrive
{
    function OnDiscRemoved()
    {
        if (theDVDPlayerInline.visible)
        {
            bShowDVDStopBackground = false;
            theDVDPlayerInline.children[0].theDVDPlayer.stop();
            theDVDPlayerInline.children[0].ClearOnScreenInfo();

            if (g_bPanelDisplayed)
            {
                CloseMessage();
            }

            theLauncherLevel.GoTo();
            return;
        }
    }

    function OnDiscInserted()
    {
        if (discType == "Audio")
        {
        return;
        }
        else if (discType == "Video")
        {
        theLauncherLevel.GoTo();
        }
        else if (discType == "Title")
        {
            theLauncherLevel.GoTo();
        }
        else if (discType == "unknown")
        {
            return;
        }
    }
}

function StartDVDPlayer()
{
    log("Starting the DVD player!");
    theDVDPlayerInline.visible = true;
}

function StartCDPlayer()
{
    log("Should start the CD player now!");
    bGoToCDPlayer = true;
    EnableInput(false);
    GoToMusic();
}

DEF theTranslator Translator

///////////////////////////////////////////////////////////////////
DEF theMusicPlayWithSubsInline Inline
{
    visible false
    url "harddrive.xap"

    function onLoad()
    {
        theMusicPlayWithSubsInline.children[0].theMusicPlayWithSubs.GoTo();
    }
}

function GoToMusicPlayWithSubs()
{
    if (theMusicPlayWithSubsInline.visible)
        theMusicPlayWithSubsInline.children[0].theMusicPlayWithSubs.GoTo();
    else
        theMusicPlayWithSubsInline.visible = true;
}
////////////////////////////////////////////////////////////////////

DEF theSkinInline Inline
{
    visible false
    url "Skin.xap"

    function onLoad()
    {
      theSkinInline.children[0].theSkin.GoTo();
    }
}

function GoToSkin()
{
    if (theSkinInline.visible)
      theSkinInline.children[0].theSkin.GoTo();
    else
      theSkinInline.visible = true;
}

////////////////////////////////////////////////////////////////////////////

DEF theMusicInline Inline
{

    visible false
    url "Music2.xap"

    function onLoad()
    {
        theMusicInline.children[0].theMusicMenu.GoTo();
    }
}

function GoToMusic()
{

    if (theMusicInline.visible)
        theMusicInline.children[0].theMusicMenu.GoTo();
    else
    {
        BlockMemoryUnitInsert();
        theMusicInline.visible = true;
    }
}

////////////////////////////////////////////////////////////////////////////

DEF theMemoryInline Inline
{
    visible false
    url "Memory3.xap"

    function onLoad()
    {
        theMemoryInline.children[0].theMemoryMenu.GoTo();
    }
}

function GoToMemory()
{
    if (theMemoryInline.visible)
        theMemoryInline.children[0].theMemoryMenu.GoTo();
    else
        theMemoryInline.visible = true;
}

////////////////////////////////////////////////////////////////////////////

DEF theSettingsInline Inline
{
    visible false
    url "Settings3.xap"

    function onLoad()
    {
        theSettingsInline.children[0].theSettingsMenu.GoTo();
    }
}

function GoToSettings()
{
    bBackToDVDPlayer = false;

    if (theSettingsInline.visible)
        theSettingsInline.children[0].theSettingsMenu.GoTo();
    else
        theSettingsInline.visible = true;
}

//////////////////////////////////////////////////////////////////////////////
var nCurMainMenuItem;

function UpdateMainMenu()
{
  if( g_bXOnDashExists )
  {
      //Update4ButtonMainMenu();
      Update5ButtonMainMenu();
  }
  else
  {
      //Update3ButtonMainMenu();
      Update4ButtonMainMenu();
  }
}

function Update5ButtonMainMenu()
{
  var c = theMainMenu.children[0].children[0];
  c.game_select_pod_inner02.visible = false;  // Memory Flashing Orb
  c.game_select_pod_inner.visible = false;  // Music Flashing Orb
  c.game_select_pod_inner04.visible = false;  // Xbox Live Flashing Orb
  c.game_select_pod_inner03.visible = false;  // Settings Flashing Orb
  c.game_select_pod_inner03custom.visible = false; // Custom Flashing Orb

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

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

      c.theMemoryItem.SetRotation(0, 1, 0, -0.25);
      c.theMusicItem.SetRotation(0, 1, 0, -0.25);
      c.theOnlineItem.SetRotation(0, 1, 0, -0.25);
      c.theSettingsItem.SetRotation(0, 1, 0, -0.25);
      c.theCustomItem.SetRotation(0, 1, 0, -0.25);

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

      c.MemoryTextMaterial.name = "HilightedType";
      c.MusicTextMaterial.name = "NavType";
      c.OnlineTextMaterial.name = "NavType";
      c.SettingsTextMaterial.name = "NavType";
      c.CustomTextMaterial.name = "NavType";
  }
  else if (nCurMainMenuItem == 1)  // Music Button (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.theMusicItem.SetRotation(0, 1, 0, 0.0);
      c.theOnlineItem.SetRotation(0, 1, 0, 0.0);
      c.theSettingsItem.SetRotation(0, 1, 0, 0.0);
      c.theCustomItem.SetRotation(0, 1, 0, 0);

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

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

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

      c.theMemoryItem.SetRotation(0, 1, 0, 0.25);
      c.theMusicItem.SetRotation(0, 1, 0, 0.25);
      c.theOnlineItem.SetRotation(0, 1, 0, 0.25);
      c.theSettingsItem.SetRotation(0, 1, 0, 0.25);
      c.theCustomItem.SetRotation(0, 1, 0, 0.25);

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

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

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

      c.theMemoryItem.SetRotation(0, 1, 0, 0.50);
      c.theMusicItem.SetRotation(0, 1, 0, 0.50);
      c.theOnlineItem.SetRotation(0, 1, 0, 0.50);
      c.theSettingsItem.SetRotation(0, 1, 0, 0.50);
      c.theCustomItem.SetRotation(0, 1, 0, 0.50);

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

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

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

      c.theMemoryItem.SetRotation(0, 1, 0, 0.75);
      c.theMusicItem.SetRotation(0, 1, 0, 0.75);
      c.theOnlineItem.SetRotation(0, 1, 0, 0.75);
      c.theSettingsItem.SetRotation(0, 1, 0, 0.75);
      c.theCustomItem.SetRotation(0, 1, 0, 0.75);

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

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


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

    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.theMusicItem.SetRotation(0, 1, 0, -0.25);
        c.theOnlineItem.SetRotation(0, 1, 0, -0.25);
        c.theSettingsItem.SetRotation(0, 1, 0, -0.25);

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

        c.MemoryTextMaterial.name = "HilightedType";
        c.MusicTextMaterial.name = "NavType";
        c.OnlineTextMaterial.name = "NavType";
        c.SettingsTextMaterial.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.theMusicItem.SetRotation(0, 1, 0, 0.0);
        c.theOnlineItem.SetRotation(0, 1, 0, 0.0);
        c.theSettingsItem.SetRotation(0, 1, 0, 0.0);

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

        c.MemoryTextMaterial.name = "NavType";
        c.MusicTextMaterial.name = "HilightedType";
        c.OnlineTextMaterial.name = "NavType";
        c.SettingsTextMaterial.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.theMusicItem.SetRotation(0, 1, 0, 0.25);
        c.theOnlineItem.SetRotation(0, 1, 0, 0.25);
        c.theSettingsItem.SetRotation(0, 1, 0, 0.25);

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

        c.MemoryTextMaterial.name = "NavType";
        c.MusicTextMaterial.name = "NavType";
        c.OnlineTextMaterial.name = "HilightedType";
        c.SettingsTextMaterial.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.theMusicItem.SetRotation(0, 1, 0, 0.50);
        c.theOnlineItem.SetRotation(0, 1, 0, 0.50);
        c.theSettingsItem.SetRotation(0, 1, 0, 0.50);

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

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

function Update3ButtonMainMenu()
{
    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_inner03.visible = false;      // Button 3 Flashing Orb

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

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

        c.theMemoryItem.SetRotation(0, 1, 0, -0.45);
        c.theMusicItem.SetRotation(0, 1, 0, -0.45);
        c.theSettingsItem.SetRotation(0, 1, 0, -0.45);

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

        c.MemoryTextMaterial.name = "HilightedType";
        c.MusicTextMaterial.name = "NavType";
        c.SettingsTextMaterial.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.theMusicItem.SetRotation(0, 1, 0, 0.0);
        c.theSettingsItem.SetRotation(0, 1, 0, 0.0);

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

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

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

        c.theMemoryItem.SetRotation(0, 1, 0, 0.45);
        c.theMusicItem.SetRotation(0, 1, 0, 0.45);
        c.theSettingsItem.SetRotation(0, 1, 0, 0.45);

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

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

DEF theMainMenu Level
{
    archive "MainMenu5.xip"
    unloadable false

    children
    [
        Inline
        {
            url "MainMenu5/default.xap"

            function onLoad()
            {
                var c = theMainMenu.children[0].children[0];
                if( g_bXOnDashExists )
                {
                    c.Main_memory_ringpin_3.SetTranslation(62.779999, 13.892000, 102.000000);
                    c.Main_memory_ringpin_2.SetTranslation(56.830002, 33.290001, 101.900002);
                    c.Main_Online_ringpin.SetTranslation(62.779999, -6.092000, 102.000000);
                    c.Main_memory_ringpin_4.SetTranslation(57.430000, -24.379999, 101.500000);
                    c.Main_memory_ringpin_custom.SetTranslation(42.000000, -38.000000, 101.500000); // custom
                }
                else
                {
                    c.Main_Online_ringpin.visible = false;
                    c.Main_memory_ringpin_3.SetTranslation(62.779999, 4.492000, 102.000000);
                    c.Main_memory_ringpin_2.SetTranslation(56.830002, 32.290001, 101.900002);
                    c.Main_memory_ringpin_4.SetTranslation(57.430000, -23.379999, 101.500000);
                    c.Main_memory_ringpin_custom.SetTranslation(42.000000, -38.000000, 101.500000); // custom
                }
            GetSubmenuText();
            c.SubmenuText1.text = SubMenuItem1;
            c.SubmenuText2.text = SubMenuItem2;
            c.SubmenuText3.text = SubMenuItem3;
            c.SubmenuText4.text = SubMenuItem4;
            c.SubmenuText5.text = SubMenuItem5;

                UpdateMainMenu();
                g_theMainMenuLoaded = true;
            MainMenuAttract();
            if(thcorb == true)
            {
                c.Main_pod_backing01.visible = false;
                c.Main_pod_backing02.visible = true;
            }
            else
            {
                c.Main_pod_backing01.visible = true;
                c.Main_pod_backing02.visible = false;
            }

            if(BGMon == true)
            {
                theControlPanelControlsInline.children[0].MusicPlayerStart();
                DisableAmbientAudio();
            }
            else
            {
                EnableAmbientAudio();
            }
            }
        }
    ]

    shell DEF theMainMenuShell Transform
    {
        scale 150 150 150
        translation 0 -20 80
        children
        [


            DEF theMainMenuSpinner Spinner
            {
                rpm 0
        axis 0 1 0
       
                children
                [


            Waver
            {
                rpm 0.75
                children
                [
                    Shape
                    {
                        appearance Appearance
                        {
                            material MaxMaterial
                            {
                                name "InnerWall_01"
                            }
                            texture ImageTexture
                            {
                                alpha true
                                url "cellwall.bmp"
                            }
                        }
                        geometry Mesh { url "Inner_cell-FACES.xm" }
                    }
                    Shape
                    {
                        appearance Appearance
                        {
                            material MaxMaterial
                            {
                                name "InnerWall_02"
                            }
                        }
                        geometry Sphere
                        {
                            radius 1
                        }
                    }
                ]

            }
        ]

            }
        ]
    }

    path DEF theMainMenuViewpoint Viewpoint
    {
        fieldOfView 1.755000
        orientation -0.177400 -0.983500 -0.036250 -0.045440
        position 11.180000 -32.299999 129.300003
        jump false
    }

    control DEF theMainMenuJoy Joystick
    {
        function OnADown()
        {
            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();
                }
                else if (nCurMainMenuItem == 4)
                {
                QuickLaunch("Menu5");
                }
        }
        }

    function OnBDown()
    {
        if((LeftTrigger == true) & (RightTrigger == true))
        {
  PlaySoundA();
            QuickLaunch("B");
        }
    }

    function OnXDown()
    {
        if((LeftTrigger == true) & (RightTrigger == true))
        {
  PlaySoundA();
            QuickLaunch("X");
        }
        else
        {
            previousControlType = theMainMenuJoy;
            StartControlPanel();
        }
    }

    function OnMenu()
    {
            previousControlType = theMainMenuJoy;
            StartControlPanel();
    }

    function OnYDown()
    {
        if((LeftTrigger == true) & (RightTrigger == true))
        {
  PlaySoundA();
            QuickLaunch("Y");
        }
    }

    function OnLeftDown()
    {
        LeftTrigger = true;
    }

    function OnLeftUp()
    {
        LeftTrigger = false;
    }

    function OnRightDown()
    {
        RightTrigger = true;
    }

    function OnRightUp()
    {
        RightTrigger = false;
    }

    function OnBlackDown()
    {
      theGameBoardLayer.visible = true;
      theGameBoardInline.children[0].theGameBoardDisplay.fade = 1;
      theGameBoardInline.children[0].theGameBoardDisplay.SetAlpha(1);
      theGameBoardInline.children[0].theGameBoardDisplay.SetTranslation(-47.5,47.5,-20);
      theGameBoardInline.children[0].theGameBoardDisplay.SetRotation(-0.0001,0,0,0.54);
      theGameBoardControlsInline.children[0].InitializeGame();
  thePlayerPanelIn.Play();
  StartGameBoardView();
  }

    function OnWhiteDown()
    {

    }

        function OnMoveUp()
        {
            if (nCurMainMenuItem > 0)
            {
                nCurMainMenuItem = nCurMainMenuItem - 1;
               
                // Determine if we should skip the online button
                if( false == g_bXOnDashExists )
                {
                    // If we would be on the Xbox Live Button, let's skip over it
                    if( 2 == nCurMainMenuItem )
                        nCurMainMenuItem = nCurMainMenuItem - 1;
                }
               
                theMainMenuBackward.Play();
                UpdateMainMenu();
            }
        }

        function OnMoveDown()
        {
            if (nCurMainMenuItem < 4)
            {
                nCurMainMenuItem = nCurMainMenuItem + 1;
               
                // Determine if we should skip the online button
                if( false == g_bXOnDashExists )
                {
                    // If we would be on the Xbox Live Button, let's skip over it
                    if( 2 == nCurMainMenuItem )
                        nCurMainMenuItem = nCurMainMenuItem + 1;
                }
               
                theMainMenuForward.Play();
                UpdateMainMenu();
            }
        }
   
    function OnRightThumbDown()
    {
        RightThumb = true;
    }
   
    function OnLeftThumbDown()
    {
        LeftThumb = true;
    }
   
    function OnRightThumbUp()
    {
        RightThumb = false;
    }
   
    function OnLeftThumbUp()
    {
        LeftThumb = false;
    }
    }

    function OnActivate()
    {
      CurrentViewpoint = theMainMenuViewpoint;
      CurrentAltViewpoint = theMainMenuAlternateViewpoint;
CurrentGameBoardAltViewpoint = theGameBoardAlternateViewpoint;
    }

    function OnArrival()
    {
      theSkinBackground.isBound = true;
    }
}

////////////////////////////////////////////////////////////////////////////

var bBackToDVDPlayer;
var bGoToCDPlayer;
var bBackToLauncher;
var bShowErrorPanel;
var bShowInvalidDisc;
var bForceSetLanguage;
var bForceSetTimeZone;
var bForceSetClock;
var g_bKeyboardDisplayed;
var g_bPanelDisplayed;
var g_bAboutToReboot;
var g_bAboutToRebootToOnline;
var bShowDVDStopBackground;
var bCleanupSpecifiedDrive;
var nSettingArea;
var g_nRec;
var g_bXOnDashExists;
var g_theMainMenuLoaded;

// All new var's below here...

var LeftTrigger;
var RightTrigger;
var RightThumb;
var LeftThumb;
var ControlPanelOut;
var CurrentViewpoint;
var CurrentAltViewpoint;
var BGMon;
var theInLine;
var currentControlType;
var previousControlType;
var TotalSections;
var SectionName;
var SectionPath;
var SubMenuItem1;
var SubMenuItem2;
var SubMenuItem3;
var SubMenuItem4;
var SubMenuItem5;
var thcorb;
var bMusicPlayerReady;
var currentMusicPlayerMode;
var BGMTracks;
var BGMst;
var BGMtr;
var vCurAlbum;
var vCurSong;
var bPlayingCd;
var quicklaunch;
var gamelaunch;
var launchPath;
var launchXbe;
var bInGameBoardView;
var CurrentGameBoardAltViewpoint;

function initialize()
{
    bInGameBoardView = false;
    BGMon = false;
    quicklaunch = false;
    gamelaunch = false;
    ControlPanelOut = false;
    RightThumb = false;
    LeftThumb = false;
    LeftTrigger = false;
    RightTrigger = false;
    bBackToDVDPlayer = false;
    bGoToCDPlayer = false;
    bBackToLauncher = false;
    bShowErrorPanel = false;
    bShowInvalidDisc = false;
    nCurMainMenuItem = 1;
    g_bKeyboardDisplayed = false;
    g_bPanelDisplayed = false;
    g_bAboutToReboot = false;
    g_bAboutToRebootToOnline = false;
    bShowDVDStopBackground = true;
    bCleanupSpecifiedDrive = false;
    nSettingArea = 0;
    g_nRec = 0;
    strMessageYesFunction = "";
    strMessageNoFunction = "";
    strKeyboardDoneFunction = "";
    strKeyboardCancelFunction = "";
    g_bXOnDashExists = true;
    g_theMainMenuLoaded = false;
    bMusicPlayerReady = false;
    bPlayingCd = false;
    BGMst = 0;
    BGMtr = 0;
    vCurAlbum = "";
    vCurSong = "";
    GetOrb();
    GetBGM();

    theAmbientSound0.Play();
    theAmbientSound1.Play();
    theAmbientSound2.Play();

    var tempFdriveCheck = theConfig.NtFileExists( "\\Device\\Harddisk0\\Partition6\\apps\\xbmp\\default.xbe" );
    var tempGdriveCheck = theConfig.NtFileExists( "\\Device\\Harddisk0\\Partition7\\apps\\xbmp\\default.xbe" );
    var nLanguage = theConfig.GetLanguage();
    if (nLanguage != 0) nLanguage = nLanguage - 1;
    theTranslator.SetLanguage(nLanguage);

    bForceSetLanguage = theConfig.ForceSetLanguage();
    bForceSetTimeZone = theConfig.ForceSetTimeZone();
    bForceSetClock = theConfig.ForceSetClock();

    if ((bForceSetLanguage + bForceSetTimeZone + bForceSetClock) != false)//does box need time etc set ?? if so ...
    {
        bForceSetLanguage = false;//turn all force sets to false
        bForceSetTimeZone = false;
        bForceSetClock = false;
        var d = new Date(2004, 3, 20, 16, 20);// create a new date, year ****, mo 0-11, day 0-30, hour 24hr, min 0-59
        d.SetSystemClock(); // set this time as the system time
    }

    EnableInput(true);
    GoToSkin();
}

// Japanese Keyboard////////////////////////////////////////////////////////

DEF theJapaneseKeyboardLayer Layer
{
    visible false
    transparency 1
    fade 0.25

    viewpoint Viewpoint
    {
        fieldOfView 1.2
                position 10 9 145
    }

    children
    [
        DEF theJapaneseKeyboardTransform Transform
        {
            fade 0.25
//          fade 1
            scale 0 0 0
            children
            [
                Inline
                {
                    preload true
                    url "JKeyboard/default.xap"
                }
            ]
        }
    ]
}

////////////////////////////////////////////////////////////////////////////

var strKeyboardTitle, strKeyboardEdit;
var strKeyboardDoneFunction, strKeyboardCancelFunction;

DEF theKeyboardLayer Layer
{
    visible false
    transparency 1
    fade 0.25

    viewpoint Viewpoint
    {
        fieldOfView 1.2
        position 10 6 150
    }

    children
    [
        DEF theKeyboardTransform Transform
        {
            fade 0.25
//          fade 1
            scale 0 0 0
            children
            [
                Inline
                {
                    preload true
                    url "Keyboard/default.xap"
                }
            ]
        }
    ]
}

function KeyboardDone()
{
    var strDoneFunction = strKeyboardDoneFunction;

    CloseKeyboard();

    if (strDoneFunction != "")
        eval(strDoneFunction);
}

function KeyboardCancel()
{
    var strCancelFunction = strKeyboardCancelFunction;

    CloseKeyboard();

    if (strCancelFunction != "")
        eval(strCancelFunction);
}

function CloseKeyboard()
{
    if (g_bKeyboardDisplayed == false)
    {
        return;
    }

        var nKeyboardLanguage = theConfig.GetLanguage();
        if (nKeyboardLanguage == 2)  // Japanese Language
        {
                var c = theJapaneseKeyboardTransform.children[0].children[0];

                // Re-Enable asterisk formatting for our text panels
                c.theJKeyboard.SetAsteriskFormattingState( g_PrevAsteriskFormattingState );
               
                strKeyboardEdit = c.theJKeyboard.string;
                c.theJKeyboardJoystick.isBound = false;

                theJapaneseKeyboardTransform.SetScale(0, 0, 0);
                theJapaneseKeyboardTransform.SetAlpha(0);
                theJapaneseKeyboardLayer.transparency = 1;
        }
        else
        {
                var c = theKeyboardTransform.children[0].children[0];
               
                // Re-Enable asterisk formatting for our text panels
                c.theKeyboard.SetAsteriskFormattingState( g_PrevAsteriskFormattingState );
               
                strKeyboardEdit = c.theKeyboard.string;
                c.theKeyboardJoystick.isBound = false;

                theKeyboardTransform.SetScale(0, 0, 0);
                theKeyboardTransform.SetAlpha(0);
                theKeyboardLayer.transparency = 1;
        }

    strKeyboardTitle = "";
    strKeyboardDoneFunction = "";
    strKeyboardCancelFunction = "";

    if (theDiscDrive.locked)
    {
        theDiscDrive.locked = false;
    }
    UnblockMemoryUnitInsert();

   
wassco
i dont know why, but when u use that code (thats not the entire default.xap btw

the main menu goes COMPLETLY wack, and its all over the screen (bit and pieces)

so, it dont werk for me...and i did copy it correctly!
la7eralus
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.
INSB_GLOCK
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
la7eralus
Search the forums, theres a file called edit.rar, if u can get ur hands on it the xap's contained therein are pretty much totally setup for you. Dont remember exactly what i did to get it working correctly but when it WASN'T working correctly i know it was because i was doing too much.

Just try putting the xap's in your xip's and see what happens, if it doesnt work then in default.xap insert the code from the same maker as the xap (seeing as theres 2 diff tut's on here about how to implement the 5th button) where it has all the ////INSERT CODE HERE////, making sure there are no // IN FRONT of the code, above and below is fine if u want to use it as a marker for where your putting your code, but ont he same line will comment out parts that need to be there.

If you need more help just post it here and im sure i can find a way to get ur problems worked out.

Also, theres some code floating around that tells you what you need to reorder to have the menus arranged to your liking, seeing as im not home its not in my favourites but if you cant find it let me know and ill see what i can do when i do get home.

BTW: thanks to all the guys who came up with this code, its people like you who keep the scene alive. 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
INSB_GLOCK
naww ill jus stick to this if thats the case
la7eralus
Custom Models for Menu Tabs:
(creds to gasclown and flavor)

In Default.xip - Default.xap:

Insert:


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
SEHF
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...

SEHF
Anyone on my above post? It seems pretty simple, but somebody with experience knows this...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.