QUOTE |
Hi Sorry for the delay, but better late than never Lite skinning system is great, let's use it for the icons!!! Now we'll be able to have icon packs instead of inserting them one by one in default.xip. |
Extract default.xip/default.xap. Look for:
CODE |
function GoToSkin() { if (theSkinInline.visible) theSkinInline.children[0].theSkin.GoTo(); else theSkinInline.visible = true; }
|
And insert this below:
CODE |
DEF theIconsInline Inline { visible false url "Icons.xap"
function onLoad() { theIconsInline.children[0].theIcons.GoTo(); } } function GoToIcons() { if (theIconsInline.visible) theIconsInline.children[0].theIcons.GoTo(); else theIconsInline.visible = true; }
|
In initialize(), look for EnableInput(true); and insert below:
Create a new file, "icons.xap" with this (I don't know if all this is needed, but it works):
CODE |
DEF theIcons Level { archive "Icons.xip"
children [ DEF theIconsPath Inline { url "Icons/default.xap"
function onLoad() { if (theDiscDrive.discType == "Video") { EnableInput(true); StartDVDPlayer(); } } } ] function OnArrival() { theMainMenu.GoTo(); } }
|
Extract default.xip/harddrive.xap. In UpdateTrackList() look for:
CODE |
c.TrackNumbers.children.children[0].appearance.name = "CellEgg/Partsz"; |
And insert this below it:
CODE |
c.cubo.children[0].children[0].appearance.texture.url=TempTitleList[n]+".tga"; |
In
CODE |
ShowMusicPlayWithSubs() |
look for:
CODE |
var c = theMusicPlayWithSubs.children[0].children[0]; |
(the first line of the function) and insert below:
CODE |
c.cubo.children[0].children[0].appearance.texture.url="nada.tga"; |
Insert default.xap, icons.xap and harddrive.xap in default.xip.
Extract Music_PlayEdit2.xip/default2.xap. Look for (at the beginning):
CODE |
Waver { rpm -1 axis 2 0 0 field 0.0002 children [
|
And insert below:
CODE |
DEF cubo Transform { fade 0.5 scale 0.75 0.75 0.75 translation -46.9 55.1 -205 rotation 0 0 1 3.14 children [ Spinner { rpm 1 axis 1 1 -1 children [ Shape { appearance Appearance { material Material { } texture ImageTexture { url "nada.tga" alpha true } } geometry Box { } } ] } ] }
|
Insert it back in its xip.
Create a new xap, default.xap, and paste this once for each icon you'll have:
CODE |
Transform { children [ Shape { appearance Appearance { texture ImageTexture { url "The name of the game.tga" } } geometry Box {} } ] translation 0 0 300 }
|
Substituting "The name of the game" by the name of the games
![smile.gif](http://forums.xbox-scene.com/html/emoticons/smile.gif)
like this:
CODE |
Transform { children [ Shape { appearance Appearance { texture ImageTexture { url "Amped 2.tga" } } geometry Box {} } ] translation 0 0 300 } Transform { children [ Shape { appearance Appearance { texture ImageTexture { url "Halo.tga" } } geometry Box {} } ] translation 0 0 300 } ...
|
Create a new xip, Icons.xip, and insert default.xap and all the icons in .xbx, with the same name as the directories of the games and programs, and save it.
That's all. The good part is that now we can have the same Icons.xip for all, updated from time to time (as long as the names of the folders are the same. If not, the changes are minimum), like Skin.xip.
Now, who wants to host and keep Icons.xip updated (BlazeD, allxboxskins.com, xboxdash.net, Bullwinkl, anyone)? I can start by submitting mine.
Enjoy.
Krater![user posted image](http://www.assas1nz.bravehost.com/1.JPG)
QUOTE |
So for the beginning, i've set up a galery to show the content of Icon.xip :
Icon Collection for Krater's code
The download link is included on the galery page & i set a dl counter on it The .xip file includes icons in .xbx format and the actual icon list default.xap. The .xip file is RAR compressed.
A tutorial based on Krater's code will be available soon... |