Jump to content


Photo

Tweaking The Uix Commerative Build


  • Please log in to reply
45 replies to this topic

#1 burnerO

burnerO

    X-S Member

  • Members
  • Pip
  • 102 posts

Posted 28 February 2005 - 12:49 AM

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

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

Edited by burnerO, 28 February 2005 - 12:55 AM.


#2 motofo

motofo

    X-S Member

  • Members
  • Pip
  • 86 posts

Posted 28 February 2005 - 11:28 AM

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

#3 burnerO

burnerO

    X-S Member

  • Members
  • Pip
  • 102 posts

Posted 02 March 2005 - 12:26 AM

Here's a few more tweaks, along with a proper download now:
http://consolevision...sc/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! smile.gif
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)



#4 clif

clif

    X-S Member

  • Members
  • Pip
  • 81 posts

Posted 02 March 2005 - 02:20 AM

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

#5 burnerO

burnerO

    X-S Member

  • Members
  • Pip
  • 102 posts

Posted 02 March 2005 - 04:58 AM

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

http://consolevision.../misc/uix01.jpg
http://consolevision.../misc/uix02.jpg
http://consolevision.../misc/uix03.jpg

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

#6 SlickShoes

SlickShoes

    X-S Enthusiast

  • Members
  • 14 posts

Posted 02 March 2005 - 06:29 AM

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

#7 burnerO

burnerO

    X-S Member

  • Members
  • Pip
  • 102 posts

Posted 02 March 2005 - 07:07 AM

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.

#8 grindbg

grindbg

    X-S Enthusiast

  • Members
  • 22 posts

Posted 02 March 2005 - 07:21 AM

Good job man beerchug.gif

#9 -Gadget-

-Gadget-

    X-S Genius

  • Members
  • PipPipPipPip
  • 820 posts

Posted 02 March 2005 - 07:38 PM

well done d00d smile.gif ..
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 smile.gif

and i know what ya mean by just figuring it out ya self smile.gif
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 ...



#10 Acronomic

Acronomic

    X-S Enthusiast

  • Members
  • 19 posts

Posted 06 March 2005 - 01:51 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. tongue.gif

#11 burnerO

burnerO

    X-S Member

  • Members
  • Pip
  • 102 posts

Posted 06 March 2005 - 03:19 AM

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

Actually, just download the patches and apply them to the commerative xips. wink.gif

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

Edited by burnerO, 06 March 2005 - 03:23 AM.


#12 Acronomic

Acronomic

    X-S Enthusiast

  • Members
  • 19 posts

Posted 07 March 2005 - 01:52 PM

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

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

View Post



Sorry, I didn't notice that. Thanks again! smile.gif

#13 Acronomic

Acronomic

    X-S Enthusiast

  • Members
  • 19 posts

Posted 07 March 2005 - 07:02 PM

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

Edited by Acronomic, 07 March 2005 - 07:10 PM.


#14 burnerO

burnerO

    X-S Member

  • Members
  • Pip
  • 102 posts

Posted 07 March 2005 - 10:22 PM

That's not the Commerative Build then.

Get it at the same place you download UIX.

#15 Infamous_One

Infamous_One

    X-S Freak

  • XS-BANNED
  • PipPipPipPipPip
  • 1,646 posts
  • Xbox Version:v1.0

Posted 07 March 2005 - 11:37 PM

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users