xboxscene.org forums

Pages: 1 2 [3] 4 5 ... 14

Author Topic: Hacking The Ms Xboxdash (news & How To's)  (Read 2373 times)

dfunked

  • Archived User
  • Hero Member
  • *
  • Posts: 635
Hacking The Ms Xboxdash (news & How To's)
« Reply #30 on: July 08, 2003, 08:29:00 AM »

http://www.xgen-mods...at.php?cat_id=3

i mapped the greetings to the X button. click link for pic.
Logged

vulgusprofanum

  • Archived User
  • Jr. Member
  • *
  • Posts: 69
Hacking The Ms Xboxdash (news & How To's)
« Reply #31 on: July 08, 2003, 10:33:00 AM »

QUOTE (SniperKilla @ Jul 8 2003, 02:32 PM)
people need to start posting their xip's and xap's  biggrin.gif

That would be illegal, and likely get this thread shut down.  As dfunked suggested, I would be happy to make a patch similar to my first one for anyone who wanted.  It would not contain the origional m$ code.  All I need is the changed files if it is based on the 4920 dash, and don't worry; I won't steal credit.  I will even give it back to you to distribute if you wish. wink.gif

QUOTE
I tried making a memory style menu today but it kept showing the main memory screen as soon as you linked to memory3.xip.

-by dunny

It sounds like you are directing to theMemoryMenu level.  This is the first menu where you choose the file source.  Instead, direct to theFilesMenu level in the same xap.  I believe this is what you are looking for. smile.gif
Logged

dfunked

  • Archived User
  • Hero Member
  • *
  • Posts: 635
Hacking The Ms Xboxdash (news & How To's)
« Reply #32 on: July 08, 2003, 07:15:00 PM »

CODE

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

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;
}




2. add this into the function StartSettingsMenu()

CODE


   sSettingsMenu[index] = theTranslator.Translate("Manage Save Games");
   index = index + 1;



3. make your function MenuIcon() look like this (it's at the bottom of the function)

CODE


else if (sSettingsElements[nCurSettingsMenuItem] == theTranslator.Translate("SYSTEM INFO"))
   {
 ShowIcon(c.ConsoleIcon);
   }
   else if (sSettingsElements[nCurSettingsMenuItem] == theTranslator.Translate("Manage Save Games"))
   {
 ShowIcon(c.ConsoleIcon);
   }



(you can change the icon to whatever you want, but i preferred console icon)

4. make function OnADown() look like this..

CODE


else if (sSettingsElements[nCurSettingsMenuItem] == theTranslator.Translate("SYSTEM INFO"))
    {
   strCurMenu = "SYSTEM INFO";
   theSetPanelMenu.GoTo();
    }
    else if (sSettingsElements[nCurSettingsMenuItem] == theTranslator.Translate("Manage Save Games"))
    {
   GoToMemory();
    }



5. save settings3.xap
6. open memory3.xap
7. replace each instance of 'theMainMenu.GoBackTo();' to 'theSettingsMenu.GoBackTo();'
8. save, rebuild, resign.
9. test
10. should be able to access all your save games from settings menu now

smile.gif

UPDATE!

in settings3.xap, find the function UpdateRootMeta()..

scroll down and find

CODE


else if(sSettingsElements[nCurSettingsMenuItem] == theTranslator.Translate("SYSTEM INFO"))
{
metaString = "Xbox";
}



and add under it

CODE
else if(sSettingsElements[nCurSettingsMenuItem] == theTranslator.Translate("Manage Save Games"))
{
metaString = "Saved Games";
}


Thanks to SniperKilla for finding that mistake out smile.gif
Logged

Xtech

  • Archived User
  • Newbie
  • *
  • Posts: 34
Hacking The Ms Xboxdash (news & How To's)
« Reply #33 on: July 09, 2003, 12:40:00 AM »

H.Devil

Wrong....The Images(code) is found in TheSavedGameGrid which is referenced in default.xip - memory3. However the script is limited in handling. The important code is nested in the xbe.

Does not seem possible as far as only hacking up the scripts. Already looking for alternative methods.
Logged

vulgusprofanum

  • Archived User
  • Jr. Member
  • *
  • Posts: 69
Hacking The Ms Xboxdash (news & How To's)
« Reply #34 on: July 09, 2003, 12:57:00 AM »

wink.gif
Patch: DOWNLOAD
Pic:
user posted image
Logged

HoRnEyDvL

  • Administrator
  • Sr. Member
  • *****
  • Posts: 462
Hacking The Ms Xboxdash (news & How To's)
« Reply #35 on: July 09, 2003, 01:16:00 AM »

smile.gif

Just found a bug lol well when u go 2 laucnher & go back then go 2 settings & then language it takes u 2 a blank menu just a background same if you do it the other way if u go 2 language then go 2 launcher it takes u 2 a blank menu just background any one else notice this..
Logged

dfunked

  • Archived User
  • Hero Member
  • *
  • Posts: 635
Hacking The Ms Xboxdash (news & How To's)
« Reply #36 on: July 09, 2003, 04:33:00 AM »

CODE


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;
       }
       else if (theMusicInline.visible)
       {
           var c = theMusicInline.children[0];

           ClosePopup();

           if (c.musicSelect != 0) // Not Audio CD
           {
               return;
           }

           if (c.theMusicPlayMenu.visible)
           {
               // Update track in the player
               c.DoMusicStop();
               c.InitPlaylist();
               c.UpdateTrackList();
           }
           else if (c.theMusicCopyMenu.visible)
           {
               c.theMusicCollection.error = 3; // Disc ejected
               c.OnMusicCopyComplete();
           }
           else if (c.theMusicMenu.visible)
           {
               // Update numbers of tracks and total time
               c.UpdateMusicMetaData();
           }
       }
       else
       {
           CloseMessage();
       }
   }

   function OnDiscInserted()
   {
       if (discType == "Audio")
       {
           if (theMusicInline.visible == false)
           {
               ClosePopup();
               nCurMainMenuItem = 1;   // select music when backing up
               StartCDPlayer();
               return;
           }

           var c = theMusicInline.children[0];

           if (c.theMusicPlayMenu.visible) // We are in the music play menu
           {
               if (c.musicSelect == 0) // Already in audio CD player
               {
                   if (c.bMusicMenuVisible)
                   {
                       c.theMusicPlayMenu.GoTo();
                       c.StartMusicPlayer();
                       c.DoMusicPlayPause();
                   }
                   else
                   {
                       c.DoMusicStop();
                       c.InitPlaylist();
                       c.UpdateTrackList();
                       if (c.visualizerViewpoint.isBound)
                           c.DoMusicPlayPause();
                   }
               }
               else if (c.theMusicPlayer.transportMode != 1) // Let's play the disc if no soundtrack is playing
               {
                   bGoToCDPlayer = true;
                   EnableInput(true);
                   c.theMusicMenu.GoBackTo();
               }
           }
           else if (c.theMusicMenu.visible == true)
           {
               ClosePopup();
               bGoToCDPlayer = true;
               EnableInput(true);
               c.StartMusicLevel();
           }
           else
           {
               ClosePopup();
               bGoToCDPlayer = true;
               EnableInput(true);
               c.theMusicMenu.GoTo();
           }
       }
       else if (discType == "Video")
       {
           theLauncherLevel.GoTo();
       }
       else if (discType == "Title")
       {
           theLauncherLevel.GoTo();
       }
       else if (discType == "unknown")
       {
           BlockUser("ERROR MESSAGE 1");
       }
   }
}


2. in settings3.xap of default.xip, add a new item to the settings menu by going to the function StartSettingsMenu() and make it look like so...

CODE


function StartSettingsMenu()
{
   var c = theSettingsMenu.children[0].children[0];

   if((strCurMenu == "SETTINGS") & (strPrevMenu == "SETTINGS"))
   {
 nCurSettingsMenuItem = 0;
 nNumSettingsMenuItems = 6;
 nCurSettingsMenuButton = 0;
 nSettingsScroll = 0;
   }

   var sSettingsMenu = new Array(7);
   var index = 0;

   // Build the Settings Menu array
   
   sSettingsMenu[index] = theTranslator.Translate("Memory Manager");
   index = index + 1;   

   sSettingsMenu[index] = theTranslator.Translate("Music Manager");
   index = index + 1;

   sSettingsMenu[index] = theTranslator.Translate("CLOCK");
   index = index + 1;   

   sSettingsMenu[index] = theTranslator.Translate("LANGUAGE");
   index = index + 1;


(you can see i've already got the memory manager as the first item, music manager the second)

3. in settings3.xap still, go to the function MenuIcon() and make it look like this...

CODE


function MenuIcon()
{
   var c = theSettingsMenu.children[0].children[0];

   if (sSettingsElements[nCurSettingsMenuItem] == theTranslator.Translate("CLOCK"))
   {
 UpdateClockHands();
       ShowIcon(c.ClockIcon);
   }
   else if (sSettingsElements[nCurSettingsMenuItem] == theTranslator.Translate("LANGUAGE"))
   {
       ShowIcon(c.GlobeIcon);
   }
   else if (sSettingsElements[nCurSettingsMenuItem] == theTranslator.Translate("AUDIO"))
   {
       SetAudioModeIcon(nCurAudioMode);
   }
   else if (sSettingsElements[nCurSettingsMenuItem] == theTranslator.Translate("VIDEO"))
   {
       SetVideoModeIcon(nCurVideoMode);
   }
   else if (sSettingsElements[nCurSettingsMenuItem] == theTranslator.Translate("PARENTAL CONTROL"))
   {
       ShowIcon(c.LockIcon);
   }
   else if (sSettingsElements[nCurSettingsMenuItem] == theTranslator.Translate("AUTO OFF"))
   {
       ShowIcon(c.AutoOffIcon);
   }
   else if (sSettingsElements[nCurSettingsMenuItem] == theTranslator.Translate("SYSTEM INFO"))
   {
 ShowIcon(c.ConsoleIcon);
   }
   else if (sSettingsElements[nCurSettingsMenuItem] == theTranslator.Translate("Memory Manager"))
   {
 ShowIcon(c.ConsoleIcon);
   }
   else if (sSettingsElements[nCurSettingsMenuItem] == theTranslator.Translate("Music Manager"))
   {
 ShowIcon(c.StereoIcon);
   }
}



(i chose the stereo icon for appropriateness, you choose whatever you want)

4.  add this to the bootom of function UpdateRootMeta() just before 'c.metaPanel.children[0].geometry.text = metaString;'

CODE


   else if(sSettingsElements[nCurSettingsMenuItem] == theTranslator.Translate("Music Manager"))
   {
 metaString = "MUSIC MANAGER";
   }



5. make the DEF joy Joystick look like this....

CODE


           else if (sSettingsElements[nCurSettingsMenuItem] == theTranslator.Translate("SYSTEM INFO"))
    {
   strCurMenu = "SYSTEM INFO";
   theSetPanelMenu.GoTo();
    }
    else if (sSettingsElements[nCurSettingsMenuItem] == theTranslator.Translate("Memory Manager"))
    {
   GoToMemory();
    }

    else if (sSettingsElements[nCurSettingsMenuItem] == theTranslator.Translate("Music Manager"))
    {
   theMainMenu.GoBackTo();
   GoToMusic();

    }

    theSettingsSubMenuIn.Play();



6. save all xaps, rebuild, resign, test.

please note that if you go to the music manager, and press B from there, you'll be taken to the main menu, not back to the settings menu. this was due to the fact that if you boot up the dash with an audio cd in the dvd drive, it auto boots to play teh cd, and if you press B to get to the listing of soundtracks, you cannot press B and return to the main menu or even settings menu. also when you go to music manager, the warping effect will cause split second black screen to appear... but hey, who cares? it works.

dfunked.

UPDATE, i'm not sure if this effects anything or not but during my testing it might be better to also do make default.xap have the following

CODE


function StartCDPlayer()
{
   log("Should start the CD player now!");
   bGoToCDPlayer = true;
   EnableInput(true); // music.xap will re-enable it again if bGoToCDPlay is true
   GoToMusic();
}


(i've just set enableinput to true)
Logged

SniperKilla

  • Archived User
  • Hero Member
  • *
  • Posts: 1135
Hacking The Ms Xboxdash (news & How To's)
« Reply #37 on: July 09, 2003, 05:53:00 AM »

QUOTE (dfunked @ Jul 9 2003, 03:15 AM)
those of you who still want to be able to access your memory management (copy to memory units, delete etc) but don't want to keep a tab for it on themain menu, you can just do what i did and add an item to the Settings menu. work's perfectly, just have to do a few things here and there.

well since youi dident add a meta tag for the saved game thing, now text showed up under the icon on the left... so i added a meta tag for it and it works...  heres the code

in settings3.xap, find the function UpdateRootMeta()..

scroll down and find

CODE
   else if(sSettingsElements[nCurSettingsMenuItem] == theTranslator.Translate("SYSTEM INFO"))
   {
 metaString = "Xbox";
   }


and add under it

CODE
else if(sSettingsElements[nCurSettingsMenuItem] == theTranslator.Translate("Manage Save Games"))
   {
 metaString = "Saved Games";
   }


then save and rebuild and resign..

heres the outcome

user posted image

just putting in a bit of help smile.gif great work guys

Logged

HoRnEyDvL

  • Administrator
  • Sr. Member
  • *****
  • Posts: 462
Hacking The Ms Xboxdash (news & How To's)
« Reply #38 on: July 09, 2003, 07:39:00 AM »

smile.gif
Hope its more userfriendly to find what your looking for.
Logged

HoRnEyDvL

  • Administrator
  • Sr. Member
  • *****
  • Posts: 462
Hacking The Ms Xboxdash (news & How To's)
« Reply #39 on: July 09, 2003, 08:13:00 AM »

Got a friend offering space for people to upload there tutorials. Please upload them here so all tutorails can be found in 1 place nice looking webpage as well

www.xbox-help.com
Logged

Dunny

  • Archived User
  • Full Member
  • *
  • Posts: 220
Hacking The Ms Xboxdash (news & How To's)
« Reply #40 on: July 09, 2003, 08:37:00 AM »

just finishing up a tutorial were everything is upto.  changes from Gcues

Added the Live button back
Custom button on Live Disabled menu
Password Protect
Power Off by Remote
Credits to coders (hit Y on main menu)

uploaded new tutorial to the Forum > XBOX OS Dash section at www.xbox-help.com

EDIT - doesnt work, give me a minute to fix it
Logged

SniperKilla

  • Archived User
  • Hero Member
  • *
  • Posts: 1135
Hacking The Ms Xboxdash (news & How To's)
« Reply #41 on: July 09, 2003, 09:19:00 AM »

QUOTE (Dunny @ Jul 9 2003, 04:37 PM)
just finishing up a tutorial were everything is upto.  changes from Gcues

Added the Live button back
Custom button on Live Disabled menu
Password Protect
Power Off by Remote
Credits to coders (hit Y on main menu)

uploaded new tutorial to the Forum > XBOX OS Dash section at www.xbox-help.com

EDIT - doesnt work, give me a minute to fix it

yep im getting no menu with your tutorial, all i get is the spinning background sad.gif
Logged

Dunny

  • Archived User
  • Full Member
  • *
  • Posts: 220
Hacking The Ms Xboxdash (news & How To's)
« Reply #42 on: July 09, 2003, 09:53:00 AM »

yeah just going through it now, found a few little mistakes ..
Logged

KFelon

  • Archived User
  • Newbie
  • *
  • Posts: 3
Hacking The Ms Xboxdash (news & How To's)
« Reply #43 on: July 09, 2003, 09:59:00 AM »

ok, cool i like how this one is separated in to very easy to use cut & paste files very simplistic & not too massive like the last txt i got with documentation on what to change. (refering to XdashTut.txt)
Logged

Dunny

  • Archived User
  • Full Member
  • *
  • Posts: 220
Hacking The Ms Xboxdash (news & How To's)
« Reply #44 on: July 09, 2003, 10:56:00 AM »

ok the tutorial at  www.xbox-help.com  works

its in the forums XBOX-OS Dash section.

updates from the last tutorial.

Added the Live button back
Custom button on Live Disabled menu
Password Protect
Power Off by Remote
Credits to coders (hit X on main menu)
Logged
Pages: 1 2 [3] 4 5 ... 14