this is an info panel i came up with, i felt the others crouded the screen too much having info and clock seperate.
full credit goes out to the original creators of the info panels, i just copy and pasted most of there code.
musicdisc typeip addressdisc spacecpu temppaste at the very bottom of default.xip/default.xap
CODE
function DriveSpace( sDrive )
{
var nFreeSpace = theHardDrive.GetFreeSpace(sDrive + "\\");
var nTotalSpace = theHardDrive.GetTotalSpace(sDrive + "\\");
if (nTotalSpace == 0) { return ""; }
return nFreeSpace + "MB";
}
function ChangeDisplay()
{
var coverpath;
var exists;
var albumtext = "";
var songtext = "";
var drive = "";
var c = theMainMenu.children[0].children[0];
var nMaxDisplay = 6;
if (nDisplayNum > nMaxDisplay) { nDisplayNum = 1; }
if (nDisplayNum < 1) { nDisplayNum = nMaxDisplay; }
var nIntTemp = theConfig.GetInternalTemp();
var nCPUTemp = theConfig.GetCPUTemp();
var sScale = "C";
var e = "";
if( e == "fahrenheit" )
{
sScale = "F";
nIntTemp = Math.round(nIntTemp * 9/5 + 32);
nCPUTemp = Math.round(nCPUTemp * 9/5 + 32);
}
else if( e == "kelvin" )
{
sScale = "K";
nIntTemp = nIntTemp + 273;
nCPUTemp = nCPUTemp + 273;
}
if (nDisplayNum == 1)
{
albumtext = theMusicCollection.GetSoundtrackName(currentAlbum);
songtext = theMusicCollection.GetSoundtrackSongName(currentAlbum, currentTrack);
coverpath = "A:\\album covers\\" + albumtext + ".jpg";
exists = theHardDrive.FileExists( coverpath );
if( exists == true )
{
c.theScreenAlbumArt.url = coverpath;
}
else
{
c.theScreenAlbumArt.url = "A:\\album covers\\dvdempty.xbx";
}
}
else if (nDisplayNum == 2)
{
albumtext = "Disc Type:";
songtext = theDiscDrive.discType;
if( theDiscDrive.discType == "Video" )
{
c.theScreenAlbumArt.url = "A:\\album covers\\dvdvideo.xbx";
}
else if(theDiscDrive.discType == "Title")
{
c.theScreenAlbumArt.url = "A:\\album covers\\dvdtitle.xbx";
}
else if(theDiscDrive.discType == "none")
{
c.theScreenAlbumArt.url = "A:\\album covers\\dvdempty.xbx";
}
else if(theDiscDrive.discType == "Audio")
{
c.theScreenAlbumArt.url = "A:\\album covers\\dvdaudio.xbx";
}
else if(theDiscDrive.discType == "unknown")
{
c.theScreenAlbumArt.url = "A:\\album covers\\dvdunknown.xbx";
}
}
else if (nDisplayNum == 3)
{
albumtext = "IP Address:";
songtext = theXboxNetwork.GetXboxIP();
c.theScreenAlbumArt.url = "A:\\album covers\\ipaddy.xbx";
}
else if (nDisplayNum == 4)
{
drive = "F:";
albumtext = "Free Space On F:";
songtext = DriveSpace(drive);
c.theScreenAlbumArt.url = "A:\\album covers\\harddisc.xbx";
}
//else if (nDisplayNum == 5)
//{
// drive = "G:";
// albumtext = "Free Space On G:";
// songtext = DriveSpace(drive);
// c.theScreenAlbumArt.url = "A:\\album covers\\dvdempty.xbx";
//}
else if (nDisplayNum == 5)
{
albumtext = "CPU Temp:";
songtext = nIntTemp + " " + sScale;
c.theScreenAlbumArt.url = "A:\\album covers\\info.xbx";
}
else if (nDisplayNum == 6)
{
albumtext = "MB Temp:";
songtext = nCPUTemp + " " + sScale;
c.theScreenAlbumArt.url = "A:\\album covers\\info.xbx";
}
c.theSoundtrackSongInfoText.text = songtext;
c.theSoundtrackAlbumInfoText.text = albumtext;
}
Then find:
CODE
function MusicPlayerPlay()
{
theMusicPlayer.url = "st:" + theMusicCollection.GetSoundtrackSongID( currentAlbum, currentTrack );
log("Playing " + theMusicPlayer.url);
DisableAmbientAudio();
theMusicPlayer.Play();
}
and add another line so it looks like this:
CODE
function MusicPlayerPlay()
{
theMusicPlayer.url = "st:" + theMusicCollection.GetSoundtrackSongID( currentAlbum, currentTrack );
log("Playing " + theMusicPlayer.url);
DisableAmbientAudio();
theMusicPlayer.Play();
if (nDisplayNum == 1) { ChangeDisplay(); }
}
next find
CODE
var currentAlbum;
var currentTrack;
and put this under:
CODE
var nDisplayNum;
scroll down a few lines to find:
CODE
currentAlbum = 0;
currentTrack = 0;
and add this right after:
CODE
nDisplayNum = 1;
now find:
CODE
control DEF theMainMenuJoy Joystick
{
and put this after that slash
CODE
function OnLeftThumbDown()
{
PlaySoundB();
nDisplayNum = nDisplayNum + 1;
ChangeDisplay();
}
function OnRightThumbDown()
{
PlaySoundB();
nDisplayNum = nDisplayNum - 1;
ChangeDisplay();
}
another thing i like to use is this:
CODE
function OnYDown()
{
var c = theMainMenu.children[0].children[0];
if ( c.theMainMenuClock.visible == true )
{
if (nDisplayNum == 1)
{
MusicPlayerRandom();
}
else if (nDisplayNum == 2)
{
AutoLaunch();
}
}
else
{}
}
that code will alow you to change track when in music panel and launch disc when in disc type by pressing the Y button
now open main_menu.xip/default.xap and paste this at the very bottom
CODE
DEF theMainMenuClock Transform
{
visible true
fade 0.75
children
[
DEF theMainMenuClock3 Transform
{
children
[
Shape
{
appearance Appearance
{
material MaxMaterial
{
name "Black80"
}
/*texture ImageTexture
{
url "panel8.tga"
}*/
}
geometry DEF MU_panel_backing-FACES Mesh { url "MU_panel_backing-FACES.xm" }
}
]
rotation -0.999200 -0.027600 0.027600 -1.572000
scale 0.492900 0.492900 0.492900
scaleOrientation -0.022670 0.396500 0.917700 -0.008776
translation -0.821800 -1.632000 0.457700
}
DEF MEM_L1_panel_meta Transform
{
children
[
Shape
{
appearance Appearance
{
material MaxMaterial
{
name "MenuCell" //"GamePodb"
}
}
geometry DEF MEM_L1_panel_meta-FACES Mesh { url "MEM_L1_panel_meta-FACES.xm" }
}
]
rotation -1.000000 0.000000 0.000000 -1.571000
scale 0.019720 0.019720 0.019720
translation -2.112000 -0.431600 0.021390
}
DEF theDateTime Transform
{
children
[
Shape
{
appearance Appearance
{
material MaxMaterial
{
name "NavType"
}
}
geometry DEF theDateTimeText Text { font "Heading" justify "middle" translate false text ""}
}
]
scale 0.563580 0.563580 0.563580
translation -1.101000 1.370000 0.059800
}
DEF theSoundtrackAlbumInfo Transform
{
children
[
Shape
{
appearance Appearance
{
material MaxMaterial
{
name "CellEgg/Partsz"
}
}
geometry DEF theSoundtrackAlbumInfoText Text { font "Body" justify "left" width -9 translate false text "albumtext"}
}
]
//rotation -1.000000 0.000000 0.000000 -1.571000
scale 0.7000 0.7000 0.063580
translation -4.03000 0.629800 0.059800
}
DEF theSoundtrackSongInfo Transform
{
children
[
Shape
{
appearance Appearance
{
material MaxMaterial
{
name "NavType"
}
}
geometry DEF theSoundtrackSongInfoText Text { font "body" translate false width -7 scrollRate 0.85 scrollDelay 0.2 text "songtext" justify "left"}
}
]
//rotation -1.000000 0.000000 0.000000 -1.571000
scale .9 0.7000 0.063580
translation -4.035800 -.47500 0.059800
}
DEF MEM_L1_panel_metasupport Transform
{
children
[
Shape
{
appearance Appearance
{
material MaxMaterial
{
name "JwlSrfc01/InfoPnls"
}
}
geometry DEF MEM_L1_panel_metasupport-FACES Mesh { url "MEM_L1_panel_metasupport-FACES.xm" }
}
]
rotation 1.000000 0.000000 0.000000 -1.571000
scale 0.021480 0.021480 0.021480
translation 0.108300 -1.269000 -0.075180
}
DEF MEM_L1_text_totalmemory Transform
{
children
[
Shape
{
appearance Appearance
{
material MaxMaterial
{
name "NavType"
}
}
geometry Text { font "Body" text "" justify "end" }
}
]
//rotation -1.000000 0.000000 0.000000 -1.571000
scale 0.663580 0.663580 0.063580
translation -0.155800 -0.107500 0.059800
}
DEF MEM_L1_text_473blocks Transform
{
children
[
Shape
{
appearance Appearance
{
material MaxMaterial
{
name "CellEgg/Partsz"
}
}
geometry DEF AvailableMemoryText Text { font "Body" translate false }
}
]
//rotation -1.000000 0.000000 0.000000 -1.571000
scale 0.663580 0.663580 0.663580
translation 0.155800 -0.666500 0.059800
}
DEF MEM_L1_text_8000blocks Transform
{
children
[
Shape
{
appearance Appearance
{
material MaxMaterial
{
name "CellEgg/Partsz"
}
}
geometry DEF TotalMemoryText Text { font "Body" translate false }
}
]
//rotation -1.000000 0.000000 0.000000 -1.571000
scale 0.663580 0.663580 0.663580
translation 0.155800 -0.107500 0.059800
}
DEF DVDStatusIcon Transform
{
children
[
Shape
{
appearance Appearance
{
material Material
{
}
texture DEF theScreenAlbumArt ImageTexture
{
alpha true
url "A:\album covers\dvdempty.xbx"
}
}
geometry Box
{
}
}
]
scale 2.4 2.3 0
translation 3.655800 0.107500 0.059800
rotation 0 0 1 3.141592654
}
]
scale 18 18 18
translation -105 -110 5
}
you also need to copy these files from the memory.xip file and paste them into main_menu.xip
MEM_L1_panel_meta-FACES.xm
MEM_L1_panel_metasupport-FACES.xm
MU_panel_backing-FACES.xm
now you need to use files from comm build and paste them in the album covers directory. the files needed are:
dvdaudio.xbx
dvdempty.xbx
dvdtitle.xbx
dvdunknown.xbx
dvdvideo.xbx
others are custom files but you can just copy and rename dvdempty.xbx to:
harddisc.xbx
info.xbx
ipaddy.xbx
and thats SHOULD be it
good luck