xboxscene.org forums

Author Topic: Change Audio Vis And Skin  (Read 53 times)

polx

  • Archived User
  • Newbie
  • *
  • Posts: 16
Change Audio Vis And Skin
« on: November 07, 2003, 12:25:00 AM »

HELLO.
MAYBE SOMEBODY KNOW THAT?

I have audio visualiser, and  it work with roating menu and SpaceDaschskin too
(code for roating menu from Gcue CODE-LINK). I have some ideas maybe somebody know how to do that:
1.   Audio vis works allways (I don't think it is good idea). I think it should be started only when music play. I have a nice logo of earth (from SpaceDash- thanx to Nitroxeno) but i don't see it because of audio vis. Audio vis should start with right tigger - like music.
Probably I have to add some code to function OnRightThumbDown()
maybe change some parametr, and next if that parametr is <> 0 then restart menu with vissualizer, next in function OnLeftThumbDown() - music stop and change audio vis to xbox4.xbx. Something like that, but I don't know how to do that.
2.   Fornorst write the code to change dashskin CODE-LINK but it doesn't works on all xboxes,
it is posibility to repair that code?
3. All skins have diffrent orb (I mean xbox4.xbx) It is posibility to change skins with theier orb? From similar list as xboxbg.xbx.
P.S. I have xbox 1.0 xboxdashdata.10027100,

Sorry for my English, but I learn English only one year.

My gallery
Logged

polx

  • Archived User
  • Newbie
  • *
  • Posts: 16
Change Audio Vis And Skin
« Reply #1 on: November 07, 2003, 08:59:00 AM »

CODE

var dvdx2path;

And after add this
CODE

var xbx4;


xbx4 = 0;

find
CODE

   function OnRightDown()
   {
   BackgroundMusicOn();
   }

   function OnLeftDown()
   {
   BackgroundMusicOff();
   }

change it to this
CODE

   function OnRightDown()
   {
   BackgroundMusicOn();
   xbx4 = 1;
   UpdateMainMenu();        //  I'm not sure of that
   }

   function OnLeftDown()
   {
   BackgroundMusicOff();        
   xbx4 = 0;  
   UpdateMainMenu();        //  I'm not sure of that          
   }

then save and close defaul.xap, instert new default.xap into default.xip

then open default.xap FROM mainmenu5.xip
and find
CODE

DEF Main_pod_backing01 Transform

and change it to this
CODE
 
DEF Main_pod_backing01 Transform
{
   children
   [
     if (xbx4 == 0)
     {
       Shape
       {
           appearance Appearance
           {
               material MaxMaterial
               {
                   name "MainMenuOrb"
               }
               texture ImageTexture
               {
                   url "xbox.xbx"       //   or xbox4.xbx if you have any skin with xbox4.xbx
               }
           }
           geometry DEF Main_pod_backing01-FACES Mesh { url "Main_pod_backing01-FACES.xm" }
       }
    }
    else
    {
       Shape
       {
           appearance Appearance
           {
               material MaxMaterial
               {
                name "equalizer"
               }
           }
           geometry DEF Main_pod_backing01-FACES Mesh { url "Main_pod_backing01-FACES.xm" }
       }
   }
   ]
   rotation -0.993700 -0.088440 0.068970 -1.576000
   scale 1.440000 1.440000 1.440000
   scaleOrientation 0.036530 0.975200 0.218400 -0.396500
   translation -58.220001 -12.680000 29.980000
}



then save and close defaul.xap, instert new default.xap into mainmenu5.xip

then rebulid all xip's and xboxdash.xbe with winxip0.88
upload to xbox.

polx
Bydgoszcz POLAND
Logged

polx

  • Archived User
  • Newbie
  • *
  • Posts: 16
Change Audio Vis And Skin
« Reply #2 on: November 12, 2003, 09:46:00 PM »

Sorry it doesn,t work. But try to repair the code if you can, Gcue.
Good luck.
peace.
Logged

polx

  • Archived User
  • Newbie
  • *
  • Posts: 16
Change Audio Vis And Skin
« Reply #3 on: November 17, 2003, 11:13:00 PM »

CODE

var dvdx2path;

paste
CODE

var xbx4;

chnge function OnRightDown() and function OnLeftDown() to this:
CODE

function OnRightDown()
   {
   BackgroundMusicOn();
   xbx4 = 1;
   UpdateMainMenu();
   }

function OnLeftDown()
   {
   BackgroundMusicOff();
   xbx4 = 0;
   UpdateMainMenu();
   }


in updatemainmenu in propper place add this
CODE

if (xbx4 == 1)
{
  c.Main_pod_backing01.children[0].appearance.texture = audioVisualizer;
}
else
{
  // something to do orb xbx4.xbx, I don't know what
}


peace.
Logged

rjsachse

  • Archived User
  • Full Member
  • *
  • Posts: 128
Change Audio Vis And Skin
« Reply #4 on: November 18, 2003, 12:56:00 PM »

are you trying with the new dash coz the code has change alot so it might not work any way
Logged