TheNut---- Prerelease...has minium features working on skining and other various things.

This is for multigame people who are sick of using hard to use programs and wants a quick, fast and easy way of making multimedia dvds
I changed the ambient music for the backround to make it smaller so the whole package is less then 2 megs you can change this file to anything you want just rename it ambient and make sure it is in .wma format

There is a demo menu of what you should follow to make it if you boot this without changing anything there will be no pics on the side and the menus might not work for you

USE THIS TO TEST AND IF YOUR MAKING A BURN MAKE SURE EVERY THING IS CORRECT SO YOU DONT MESS YOUR SELF UP


CDX Files
CDX requires configuration, font, art, and sound files in a specific location in order to run properly. The files that CDX requires must reside in a directory called CDXMedia.

The file CDX.xbe, which is the executable for the CDX program, must be in the same directory as the CDXMedia directory. The directory they reside in can be anywhere on the disk. However, if the path name to CDX.xbe exceeds 64 characters, CDX canot launch any content. Instead, it displays a warning that it can't construct an appropriate return path name.

You can use the CDX tool on a disk with a game, or on a standalone demo disk. If you use CDX on a disk with a game to launch demos for other games, your game should launch CDX. In this case. the file CDX.xbe can reside in any directory on the DVD, provided that it is in the same directory as CDXMedia. When you use CDX as a standalone product containing demos, previews, and so forth, you must rename the file CDX.xbe to Default.xbe.

The following files must be present in the CDXMedia folder:

Font file. Typically, this will be the standard Arial Unicode font (ArialUni.ttf), but you may use any font. If Unicode characters are to be displayed, the font must be a Unicode font. 
CDX.inx. This is the configuration file for CDX. The file defines what content appears in the CDX menu and how CDX behaves. 
CDXCustom.xpr. This is a packed resource file that contains art for customizing the appearance of the CDX user interface. 
CDX.xsb, CDX.xwb. These are XACT sound bank and wave bank files, which define the sounds that CDX makes as the user interacts with it. 
Configuring CDX
CDX.inx is a Unicode text file. The file is divided into several sections, called item entries. Each item entry defines either menu items or behavior for the CDX program. You may also include comments in the file. Any line beginning with a pound sign (#) is a comment. The CDX tool ignores all characters from the pound sign to the end of the line.

MainMenu Section
Submenu Section
Content Items
Global Configuration
Attract Video Lists
MainMenu Section
The MainMenu section, which is demarcated with the label [MainMenu], defines the top-level menu items that appear in the CDX interface. It can contain either links to content items or to submenus. There must be an item entry in the CDX.inx file for every content item and submenu. The MainMenu section must appear first in CDX.inx. The following example demonstrates how the MainMenu section for a demo disk might look.

[MainMenu]
DemoSubmenu
VideoSubmenu
LaunchDemo
LaunchVideo
LaunchSong

This example shows that each item in the MainMenu section is the name of either a submenu or a launchable piece of content (executable, video, or song). Submenus must be listed before individual content items in the main menu. Submenus can contain other submenus.

The name of an item listed in the MainMenu section corresponds to a named item entry that occurs later in the CDX.inx file. For example, the DemoSubmenu item corresponds to a section named [DemoSubmenu].

Submenu Section
Every submenu, whether it is listed in the main menu or a submenu, requires a definition in the CDX.inx file. Like the main menu, submenus contain references to playable demo content (XBEs), videos (WMV or BIK files), or songs (WMA files). A typical submenu might look like this:

[DemoSubmenu]
Action="Submenu"
DisplayName="Demos"
Description="Take a test run with some of the hottest games available."
PlayableDemo1
PlayableDemo2

As the DemoSubmenu illustrates, submenus must contain specific parameters (strings). The first is always Action, whose setting describes the action the item should take. In the preceding example, it tells the CDX tool to treat the item as a submenu. The submenu displays a list of available demo and video content. DisplayName specifies the descriptive name that appears in the menu that calls the submenu. Description is a short paragraph that provides a longer description of what the submenu contains. CDX displays the paragraph when the user highlights the submenu in the menu from which it is called.

All submenus in the CDX.inx file can contain the following properties, usually in the order shown in the table.

Keyword Possible Values Description 
Action "SubMenu" Specifies that the current item entry is a submenu.  
DisplayName Programmer-specified string in quotes. Specifies the string that appears in the menu from which the submenu is called. 
Description Programmer-specified string in quotes. Specifies a paragraph of text that CDX displays when the submenu is selected in the menu from which it is called. 
Preview Fully-qualified path name Specifies the path to an image that CDX displays in its preview pane when the submenu is selected. 

Following the Action, DisplayName, and Description lines are the names of item entries for demos, videos, or songs that are available in this submenu. The name of an item entry listed in the submenu section corresponds to a named section that occurs later in the CDX.inx file. For example, the PlayableDemo1 item corresponds to a section named [PlayableDemo1].

You may provide multiple names and descriptions for a submenu in different languages. The following table outlines the keywords you use to specify text for a particular language.

Language DisplayName Keyword Description Keyword FileName Keyword Preview Keyword 
English DisplayName_EN Description_EN FileName_EN Preview_EN 
Japanese DisplayName_JA Description_JA FileName_JA Preview_JA 
German DisplayName_DE Description_DE FileName_DE Preview_DE 
French DisplayName_FR Description_FR FileName_FR Preview_FR 
Spanish DisplayName_ES Description_ES FileName_ES Preview_ES 
Italian DisplayName_IT Description_IT FileName_IT Preview_IT 
Korean DisplayName_KO Description_KO FileName_KO Preview_KO 
Chinese DisplayName_TW Description_TW FileName_TW Preview_TW 
Portuguese DisplayName_BR Description_BR FileName_BR Preview_BR 

For example, to specify a German display name and description, use the DisplayName_DE and Description_DE keywords.

[MenuWithGerman]
DisplayName="English"
Description="In English"
DisplayName_DE="Deutsch"
Description_DE="Auf Deutsch"

If the keyword for a particular language is not present, CDX defaults to the DisplayName and Description lines, which must always be provided.

Content Items
A section defining a particular demo, video, or song resembles a submenu definition. However, there are some differences, as the following table illustrates. Parameter Possible Values Description 
Action "Submenu", "Demo", "Song", "Video", "SavedGame", "OfflineContent" Specifies how the CDX tool treats the current item entry. 
Attract "0","1" A value of 0 tells CDX not to include the item in the attract mode loop. Setting this parameter to 1 makes CDX include it. 
BlocksNeeded Integer value greater than zero in quotes. Manually specifies the number of blocks needed to save a game. The Xbox TCRs require that if a user attempts to save a game to an Xbox with a full hard disk, a message is displayed prompting the user to free a specific number of blocks. CDX automatically calculates how many blocks need to be freed. However, games and demos that write a large number of folders or a large amount of content to the T sector of the Xbox may need to manually calculate the number of blocks required.  
Description Programmer-specified string in quotes. Specifies a paragraph of text that CDX displays when the item is selected in the menu from which it is called. 
DisplayName Programmer-specified string in quotes. Specifies the string that appears in the menu from which the item is called. 
FileName Fully-qualified path name in quotes. Specifies the path to the file that CDX launches when the user selects the current item. All non-menu item entries must have this parameter. 
FullScreenVolume Integer value in the range 0100, inclusive, in quotes. Sets the percentage of sound volume used to play the video in full-screen mode. 
LoadingScreen Fully-qualified path name in quotes. Specifies the complete path and file name of a .png image to display while the demo is loading. 
LongSave "0","1" Enables or disables a long save message, which is used for downloadable content. If LongSave is set to "1", a long save message is displayed when content takes longer than 3 seconds to download. LongSave is "0" by default, so it is not necessary to set it to "0" in the item entry. 
OfferingID Hexadecimal integer in quotes. Specifies a required identifier for downloadable content. CDX uses this parameter to differentiate one package from another. OfferingID must be specified in conjunction with the TitleID parameter.  
Parameter1 Path name in quotes. Used for items whose Action parameter equals "Song". Specifies the name of the soundtrack to which CDX downloads the song. This parameter must match the DefaultSoundTrack parameter. For more information, see Global Configuration. 
Parameter2 Sound track name in quotes. Used for items whose Action parameter equals "Song". Specifies the name of a downloaded soundtrack in the Xbox Dashboard. This parameter must match the name in the header portion of the .wma file that contains the song. 
Preview Fully-qualified path name in quotes. Specifies the path to an image that CDX displays in its preview pane when the item is selected. 
PreviewVolume Integer value in the range 0100, inclusive, in quotes. Specifies the percentage of the sound volume to use while CDX plays the preview that appears when the user highlights the current item in a menu. 
Rating "0" = Rating Pending, "1" = Adult Only, "2" = Mature, "3" = Teen, "4" = Everybody, "5" = Kids to Adults, "6" = Early Childhood Selects the ESRB rating for the demo. The CDX tool compares this value to the Xbox Dashboard parental control setting to determine whether it can launch the demo. Setting this rating is usually necessary because ESRB usually will not rate demos. Typically, only demos for released games have ratings. 
RemapPath "0","1" Provided for demos that are hard-coded to run from the root directory of the disk. A value of 0 disables remapping. A value of 1 enables a demo to be launched by CDX despite the fact that the XBE is not in the root directory. Must be used in conjunction with Demo Fixer. 
RemapAndLaunchBackTo Fully-qualified path name in quotes. Remaps the D drive for the current demo to the directory containing the demo. CDX then fills in the return path name with the value of this parameter. 
RunNext Name, in quotes, of the next item to run. Specifies the item entry that CDX executes when the current item is finished. 
Timeout Integer value in quotes Sets the amount of idle time, in seconds, before the demo returns control to CDX because of inactivity. 
TitleID Hexadecimal integer in quotes. Contains a unique identifier for each title. 


The following example illustrates how to use the content item parameters.

[LaunchDemo]
Action="Demo"
DisplayName="MyGame Playable Demo"
Description="Play MyGame, the coolest thing since sliced bread."
Preview="Demos\MyGame\MyGame.png"
FileName="Demos\MyGame\MyGame.xbe"

[LaunchVideo]
Action="Video"
DisplayName="AnotherGame Trailer"
Description="Watch a trailer for AnotherGame."
Preview="Videos\AnotherGame\AnotherGame.png"
FileName="Videos\AnotherGame\AnotherGame.bik"
Attract="1"

[LaunchSoundtrack]
Action="Soundtrack"
DisplayName="A Song"
Description="Listen to, and download, a song."
Preview="Soundtracks\ASong\ASong.png"
FileName="Soudntracks\ASong\ASong.wma"
RunNext="LaunchVideo"

To specify a menu item that launches an XBE, use "Demo" for the value of the Action parameter. To create a menu item that plays a video, specify "Video" for the Action parameter. To create a menu item that plays a song and enables the user to add that song to a soundtrack on the Xbox console, specify "Soundtrack" as the value of the Action parameter. Like a submenu definition, the definition for a content item contains DisplayName and Description parameters. You can provide display names and descriptions in multiple languages, using the same syntax as you would for a submenu definition.

The Preview parameter specifies the complete path and file name of a .png image file, or of a small .bik or .xmv movie, displayed when the user highlights this particular menu item.

Use the FileName parameter to specify the complete path and file name of the XBE, video, or song that CDX should launch when the user selects this particular menu item.

Menu items can be chained sequentially. To specify a menu item to be executed when the current menu item is finished, use the RunNext parameter. In the preceding example, the RunNext parameter at the end of the LaunchSoundtrack menu item tells the CDX program to execute the LaunchVideo menu item after the LaunchSoundtrack finishes.

Videos also may have an Attract parameter, which determines whether or not the video will be played automatically to attract attention to a kiosk. CDX randomly selects videos that are marked with an Attract value of "1" and plays them during idle periods. CDX ignores videos that are marked with an Attract value of "0" when running in attract mode.

Global Configuration
CDX also supports a [Config] section, which it uses for global settings that affect all of CDX and the content it displays. The [Config] section of the CDX.inx file can contain the following configuration parameters.

Note    Some global parameters have individual counterparts, which should never be used in conjunction with one another.

Parameter Possible Values Description 
AButtonImage Fully-qualified path name in quotes. Specifies the path of the PNG file that CDX uses to display the A button image. 
AmbientDirectory Path name in quotes. Specifies the path to a directory containing WMA tracks that CDX plays as ambient music. 
AppTitle String in quotes. Specifies the application title CDX displays in the main menu. 
AttractModeDelay Integer in quotes. Specifies the number of seconds of inactivity before CDX launches its attract mode and begins playing videos or demos. Do not use this in conjunction with ScreenSaverDelay. 
BackgroundMovie Fully-qualified path name in quotes. Specifies the path for the video that CDX plays in the background. CDX draws the user interface elements on the movie as it plays. 
BButtonImage Fully-qualified path name in quotes. Specifies the path of the PNG file that CDX uses to display the B button image. 
ButtonImageHeight Integer in quotes. Specifies the height, in pixels, of the button images. 
ButtonImageStyle "Top", "Bottom", "Right", or "Left". Specifies where the button text will be placed in relation to the button image. 
ButtonImageWidth Integer in quotes. Specifies the width, in pixels, of the button images. 
CallerTitle Name, in quotes, of the title that calls CDX. Specifies the name of the game title that launches CDX, assuming that CDX is being used on a game disc as a cross-sell demo launcher. 
DefaultAttractTimeout Integer number of seconds, in quotes. Specifies the default idle time, in seconds, before a demo returns control to CDX because of inactivity. This should never be used if any of the demos use the Timeout parameter. 
DefaultPreviewImage Fully-qualified path name in quotes. Specifies the complete path and file name of the image to be used as a default for the preview window. If no Preview parameter is specified for a piece of content, the name specified in DefaultPreviewImage is used. 
FontFileName Path name in quotes. Specifies a fully-qualified path and file name for the display font used by CDX. 
KioskMode "0","1" Disables or enables kiosk-specific functionality. Enabling kiosk mode disables the lost controller message. To be TCR-compliant, applications should enable kiosk mode only for use in kiosks. By default, the KioskMode parameter is "0", so it is not necessary to set it to "0" in the item entry. 
PreviewOverlayImage Path name in quotes. Specifies the path of a transparent overlay that can be used to alter the shape of the preview window. 
ScreenSaverDelay Integer number of seconds in quotes. Specifies the number of seconds of idle time before CDX dims its screen. 
Website URL in quotes. Specifies the Web site message text. Example:"XBox.com" 

Attract Video Lists
In addition to the Attract parameter that is available for a video, you may make explicit lists of video content that CDX plays, both when it is launched and when CDX has been left idle.

To create a list of videos that play as soon as CDX starts up, add an [IntroAttract] section to your CDX.inx file, as shown in the following example:

[IntroAttract]
Video1
Video2
Video3

CDX plays the videos in the [IntroAttract] section in the same order that they appear in the list.

To create a list of videos that play when CDX is left idle, add an [IdleAttract] section to your CDX.inx file, as shown in the following example:

[IdleAttract]
Video1
Video2
Sound1
Video3
Demo1
Demo2
Demo3
Sound2

The [IdleAttract] section may contain videos, demos, and sound tracks. The [IntroAttract] section can contain only videos.

