xboxscene.org forums

Author Topic: Tweaking The Uix Commerative Build  (Read 1059 times)

burnerO

  • Archived User
  • Newbie
  • *
  • Posts: 38
Tweaking The Uix Commerative Build
« on: February 27, 2005, 04:56:00 PM »

The more I played around with the commerative build, the more I liked it... so I ended up tweaking it into oblivion. These steps will enable you to create a stock looking MS Dash that resembles Thc Lite with dongle-free DVD, FTP, automagic icons and skinning functionality. ;)

For your convenience, I've also assembled ips patchers to do all of this for you. Additionally, the zip includes the images that I refer to in the post:
(edit: sorry, re-upping)

01) Replace uix.xbe with the 1.6 replacement xbe.

02) Delete xips\bg_mesh.xip to remove the DNA. Disabling it otherwise is buggy.

03) Extract default.xip\dvd.xap from the 1.0 release and insert it to enable DVD playback.

04) Edit system\uix.ini prior to the first boot as it gets cached afterward. If you've already done so, delete the cache at E:\UDATA\0ffeeff0. Here's mine for reference. Note that SubMenu3 and SubMenu4 are reversed:
CODE

[Home Directory]
xbe=uix.debug.xbe
Path=\Device\Harddisk0\Partition1\Devkit\Tools
[default]
Background Music Volume=1
Background Music=True
OnBoot Album=random
OnBoot Song=random
MainMenuStyle=MS
MainMenuTabs=4
Quick Launch A=E:\EMUS\Nintendo\default.xbe
Quick Launch B=E:\EMUS\Super Nintendo\default.xbe
Quick Launch X=E:\EMUS\Nintendo 64\default.xbe
Quick Launch Y=E:\APPS\Avalaunch\default.xbe
HD Lock Password=UDLR
Use Memory HD Menus=False
Use BG Mesh=False
[MainMenuTab1]
Text=Memory
Function=GoToMemory()
[MainMenuTab2]
Text=System
Function=GoToHD()
[MainMenuTab3]
Text=Music
Function=GoToMusic()
[MainMenuTab4]
Text=Settings
Function=GoToSettings()
[MainMenuTab5]
Text=Skins
Function=()
[SubMenu1]
Name=Games
Path=games
[SubMenu2]
Name=Emulators
Path=emus
[SubMenu3]
Name=Misc
Path=misc
[SubMenu4]
Name=Applications
Path=apps
[Network Settings]
FTP Use Caps=False
FTP Show Sizes=False
FTP Port=21
FTP Password=xbox
FTP Login=xbox
Gateway=192.168.1.5
SubnetMask=255.255.255.0
XboxIP=192.168.1.5
XboxIPType=STATIC
[Naming Method]
use xbe names=False
[Dashboard Settings]
Current Skin=Green
[BGMesh]
BGMesh1-rpm=1
[System]
fromDVD=false

05) To change the globe back to the MS orb, delete Globe.xm from main_menu_ms.xip. Then open main_menu_ms.xip\default.xap and search for DEF Main_pod_backing01 Transform. Uncomment it by removing the surrounding /* and */

06) To get the orb ring back, open main_menu_ms.xip\default.xap and search for DEF podsupport_4 Transform. After that section, paste:
CODE

      DEF podsupport_ring Transform
      {
         children
         [
        Shape
        {
           appearance Appearance
           {
          material MaxMaterial
          {
             name "FlatSrfc/PodParts"
          }
           }
           geometry DEF podsupport_ring-FACES Mesh { url "podsupport_ring-FACES.xm" }
        }
         ]
         rotation -0.075560 0.704300 0.705900 -2.989000
         scale 6.409000 6.409000 6.409000
         scaleOrientation 0.620600 0.759100 -0.196700 -0.516000
         translation 48.430000 94.709999 105.500000
      }


07) To fix the "dvd not added yet" dialog, search in default.xip\default.xap for
CODE

TellUser("dvd not added yet :(","nada()");

and replace it with theDiscDrive.LaunchDisc();

08) To fix the dvd game loading screensaver screwiness, replace the three lines in default.xip\default.xap under else if(theDiscDrive.discType == "Title") with theDiscDrive.LaunchDisc();

09) To get quick power off with B, search in default.xip\default.xap for control DEF joy Joystick. Insert this after function OnADown():
CODE

  function OnBDown()
  {
     AskQuestion(theTranslator.Translate("\n \n          Power Off Xbox?"), "theConfig.PowerOff()", "", 1);
  }

10) To remove the REZN8 style access/wireframe, search in default.xip\default.xap for control DEF joy Joystick and remove the lines under the function OnYDown() and OnXDown()

11) To fix quick launch, insert in default.xip\default.xap a snippet with the corresponding letter to each On(Letter)Down() function under DEF joy Joystick:
CODE

    if((rightTrigger == true) & (leftTrigger == true))
    {
       QuickLaunch("A");
    }

Then replace the entire function QuickLaunch(x) with:
CODE

function QuickLaunch(x)
{
   var IniFile = new Settings;
   IniFile.SetIniSection( "default" );
   var fullPath = IniFile.GetIniValue("Quick Launch " + x);
   var itemDrive = fullPath.charAt(0);
   var itemPath = fullPath.substr(2, fullPath.lastIndexOf("\\") - 2);
   var itemXBE = fullPath.substr(fullPath.lastIndexOf("\\") + 1, fullPath.length());
   var a;

   if(itemDrive == "C") { a = 2; }
   else if(itemDrive == "E") { a = 1; }
   else if(itemDrive == "F") { a = 6; }
   else if(itemDrive == "G") { a = 7; }

   itemLaunchPath = "\\Device\\Harddisk0\\Partition" + a + itemPath;
   itemLaunchXBE = itemXBE;
   launch(itemLaunchXBE, itemLaunchPath);
}

12) Right trigger+left trigger+Y occasionally makes wireframe mode activate. Instead of using quick launch on Y, we can have Y load the associated application without the triggers. To do this, simply remove the if statement around it.

13) To refresh the cache on every boot (manual refreshing doesn't seem to work), search in default.xip\default.xap for function UpDateMainMenuButtonsText(), and insert the following above the first line:
CODE

   theGamesMenu.RefreshCache();
   theApplicationsMenu.RefreshCache();
   theEmulatorsMenu.RefreshCache();
   theDashboardsMenu.RefreshCache();

If you'd rather have a quick boot and refresh when entering the hard drive menu this can also go under function GoToHD()

14) The hard drive menu background (xboxlogo.xbx) is flipped horizontally, so I simply replaced it with a solid black xbx.

15) Icons are loaded from their respective save game directory. Open the cache files from E:\UDATA\0ffeeff0\cache in notepad to determine these. For missing icons, simply copy xboxlogo128.xbx to their directory and rename it to TitleImage.xbx for a generic icon.

16) XPort uses the save game directory for all of his emulators. To fix this, replace the TitleImage.xbx in E:\UDATA\ffff051f with a more generic one.

Notes: Removing the info panel prevents there being a way to stop the background music.
To autoload movies/games, search in default.xip\default.xap for if ( theDiscDrive.discType == "Video" ) and replace all of the lines in it with theDiscDrive.LaunchDisc(); For games do the same with else if ( theDiscDrive.discType == "Title" )

Still to do (help appreciated):
Console/cd stack in hard drive menu?
Kanaberra style free space in hard drive menu?
Add a fifth button in the hard drive menu that refreshes the cache?

Take it easy,
-burnerO

This post has been edited by burnerO: Feb 28 2005, 01:02 AM
Logged

motofo

  • Archived User
  • Jr. Member
  • *
  • Posts: 58
Tweaking The Uix Commerative Build
« Reply #1 on: February 28, 2005, 03:35:00 AM »

:beer: I also use Comm. version, but I like the Rezn8 menu, and tweaked it to look just like BSX (with texturized rotating orbs).  :luv: I Love the sub menu and it s options...They ROCK!!!!!
Logged

burnerO

  • Archived User
  • Newbie
  • *
  • Posts: 38
Tweaking The Uix Commerative Build
« Reply #2 on: March 01, 2005, 04:33:00 PM »

Here's a few more tweaks, along with a proper download now:
http://consolevision.com/members/burnero/misc/uixpatch.zip

17) To remove the dvd status icons, replace dvdaudio.xbx, dvdempty.xbx, dvdunknown.xbx, dvdvideo.xbx with a transparent xbx. Then in main_menu_ms.xip\default.xip change width -9 to width -11, and width -7 to width -9.

18) Here are some fixes for the included blue skin. The first fixes the green orb outline/missing cellwall, the second the green A/B button glow, and the third the green keyboard. A matching blue dvdbutton.xbx is also included which was originally green.
CODE

[InnerWall_01]
ColorA=107, 177, 255, 20
ColorB=0, 14, 192, 10

[EggGlow]
ColorA=252, 255, 0, 0
ColorB=0, 0, 0, 0

[Keyboard]
ColorA=0, 146, 208, 255
ColorB=107, 220, 255, 255
ColorC=13, 0, 255, 34
ColorD=94, 167, 250, 0


19) Here's how to get a fifth item on the hard drive menu that refreshes the cache! :)
In default.xip\music_play_with_subs.xap:
Search for b_five = "none"; and replace it with b_five = "REFRESH CACHE";

Search for c.MenuMetaText.text = b_one; and replace the if section with (editing it as desired):
CODE

        if (nCurMusicPlayWithSubsItem0 == 0)
            c.MenuMetaText.text = theTranslator.Translate("Browse the games stored on the Xbox hard drive.");
        else if (nCurMusicPlayWithSubsItem0 == 1)
            c.MenuMetaText.text = theTranslator.Translate("Browse the emus stored on the Xbox hard drive.");
        else if (nCurMusicPlayWithSubsItem0 == 2)
            c.MenuMetaText.text = theTranslator.Translate("Browse the apps stored on the Xbox hard drive.");
        else if (nCurMusicPlayWithSubsItem0 == 3)
            c.MenuMetaText.text = theTranslator.Translate("Browse the misc stored on the Xbox hard drive.");
        else if (nCurMusicPlayWithSubsItem0 == 4)
            c.MenuMetaText.text = theTranslator.Translate("Refresh the cache to update listed menu items.");


Search for subTitle0 = b_five; replace the else if section with:
CODE


                else if (nCurMusicPlayWithSubsItem0 == 4)
  {
     if(b_five == "")
     {
    return;
     }
     else
     {
      theGamesMenu.RefreshCache();
      theApplicationsMenu.RefreshCache();
      theEmulatorsMenu.RefreshCache();
      theDashboardsMenu.RefreshCache();
     }
  }


Search for (nCurMusicPlayWithSubsItem0 < nMenuItemCount - 1) and replace it with if (nCurMusicPlayWithSubsItem0 < nMenuItemCount)

Logged

clif

  • Archived User
  • Newbie
  • *
  • Posts: 15
Tweaking The Uix Commerative Build
« Reply #3 on: March 01, 2005, 06:27:00 PM »

Can you post some pics, for us to see before we do your code so we know what were getting into, and what the final product sould look like. :)
Logged

burnerO

  • Archived User
  • Newbie
  • *
  • Posts: 38
Tweaking The Uix Commerative Build
« Reply #4 on: March 01, 2005, 09:05:00 PM »

Sure thing. This is what the dash (skinned blue) will look like after using the patch or manually doing the code mods:

http://consolevision.com/members/burnero/misc/uix01.jpg
http://consolevision.com/members/burnero/misc/uix02.jpg
http://consolevision.com/members/burnero/misc/uix03.jpg

It's basically a Lite menu style with Uix functionality (ftp, dvd, icons, etc).
Logged

SlickShoes

  • Archived User
  • Newbie
  • *
  • Posts: 2
Tweaking The Uix Commerative Build
« Reply #5 on: March 01, 2005, 10:36:00 PM »

do you recon i could get that xbox4.xbx off you for that skin,
are you ever on #teamuix?
Logged

burnerO

  • Archived User
  • Newbie
  • *
  • Posts: 38
Tweaking The Uix Commerative Build
« Reply #6 on: March 01, 2005, 11:14:00 PM »

If you're referring to the blue orb, it's the same one that's included in the blue skin directory...

I've hung around the channel before with questions, but they always go unanswered so I've pretty much resorted to figuring things out for myself.
Logged

grindbg

  • Archived User
  • Newbie
  • *
  • Posts: 7
Tweaking The Uix Commerative Build
« Reply #7 on: March 01, 2005, 11:28:00 PM »

Good job man  :beer:
Logged

-Gadget-

  • Archived User
  • Sr. Member
  • *
  • Posts: 308
Tweaking The Uix Commerative Build
« Reply #8 on: March 02, 2005, 11:45:00 AM »

well done d00d :) ..
and thanks for sharing it with us all ..

its nice to see oher people like the old tridinal look best
but just a hint of new stuff :)

and i know what ya mean by just figuring it out ya self :)
ive been doing a bit of that with a dash2..
but gonna move to uix, because uix as so much more potential..
(like the icons etc)

Mick ...

Logged

Acronomic

  • Archived User
  • Newbie
  • *
  • Posts: 5
Tweaking The Uix Commerative Build
« Reply #9 on: March 05, 2005, 05:58:00 PM »

Wow, that's a lot of neat stuff, thanks! It'll take a while to get right though... somebody should release a full version.  :P
Logged

burnerO

  • Archived User
  • Newbie
  • *
  • Posts: 38
Tweaking The Uix Commerative Build
« Reply #10 on: March 05, 2005, 07:26:00 PM »

QUOTE(Acronomic @ Mar 6 2005, 12:57 AM)
Wow, that's a lot of neat stuff, thanks! It'll take a while to get right though... somebody should release a full version.  :P

Actually, just download the patches and apply them to the commerative xips. ;)

The posted code was for those who like to do things manually.

This post has been edited by burnerO: Mar 6 2005, 03:30 AM
Logged

Acronomic

  • Archived User
  • Newbie
  • *
  • Posts: 5
Tweaking The Uix Commerative Build
« Reply #11 on: March 07, 2005, 05:59:00 AM »

QUOTE(burnerO @ Mar 6 2005, 02:25 AM)
Actually, just download the patches and apply them to the commerative xips. ;)

The posted code was for those who like to do things manually.
*



Sorry, I didn't notice that. Thanks again!  :)
Logged

Acronomic

  • Archived User
  • Newbie
  • *
  • Posts: 5
Tweaking The Uix Commerative Build
« Reply #12 on: March 07, 2005, 11:09:00 AM »

Sorry for the double post, but I just can't seem to find the main_menu_ms.xip ... only the main menu.xip. Is there any difference between the two? Should I rename main_menu.xip to main_menu_ms.xip?

Am I working with the wrong version of UIX perhaps? (v.00.01.00)

Patching the main_menu.xip worked, but I can't get myself to try it out in fear that the xbox might crash or blow up  :ph34r:

This post has been edited by Acronomic: Mar 7 2005, 07:17 PM
Logged

burnerO

  • Archived User
  • Newbie
  • *
  • Posts: 38
Tweaking The Uix Commerative Build
« Reply #13 on: March 07, 2005, 02:29:00 PM »

That's not the Commerative Build then.

Get it at the same place you download UIX.
Logged

Infamous_One

  • Archived User
  • Hero Member
  • *
  • Posts: 771
Tweaking The Uix Commerative Build
« Reply #14 on: March 07, 2005, 03:44:00 PM »

looks cool , but theres a bug with the Y button , it reboots and sents you into an RDE.
Logged