xboxscene.org forums

Author Topic: Xml Config  (Read 114 times)

dickyd

  • Archived User
  • Newbie
  • *
  • Posts: 12
Xml Config
« on: February 17, 2004, 01:19:00 PM »

Hi all,
Anyone have good working knowledge of xml . Trying to create a menu behind my application menu. So when apps is selected insted of all the apps listed, is has sub menus similar to the settings menu. Know i need to set the paths and have created seperate folders in F drive with apps in. ie Dashes,Copy disk, Media machines, etc..
Have tried alsorts and cant seem to get it right.
Thanks guys.
Logged

dickyd

  • Archived User
  • Newbie
  • *
  • Posts: 12
Xml Config
« Reply #1 on: February 17, 2004, 01:38:00 PM »

my xml , is back to the Original . just need advice on how to .
Have entered add list, spacing , etc..
it adds the text in ,but cuts out all the headings under apps and puts them in the apps folder with the headings and then the rest of menu items at the end , ie settings, ms dash, reboot, shutdown.
any help?
Logged

dickyd

  • Archived User
  • Newbie
  • *
  • Posts: 12
Xml Config
« Reply #2 on: February 17, 2004, 02:02:00 PM »

Here's the basic xml...

<?xml version="1.0" encoding="utf-8"?>
<UnleashX>
   <Settings>
      <MSDashBoard>C:\Xboxdash.xbe</MSDashBoard>
      <Password MaxTries="3">
      </Password>
      <Network Enable="Yes" Type="Static">
         <IP>192.168.0.3</IP>
         <Subnet>255.255.255.0</Subnet>
         <Gateway>192.168.0.1</Gateway>
         <DNS1>192.168.0.1</DNS1>
         <DNS2>192.168.0.7</DNS2>
      </Network>
      <FTP Enable="Yes">
         <User>xbox</User>
         <Password>xbox</Password>
         <Port>21</Port>
         <MaxUsers>2</MaxUsers>
         <AllowAnon>Yes</AllowAnon>
         <Greeting>Welcome to XBOX FTP Server</Greeting>
      </FTP>
      <Newsfeed Enable="False" Interval="30">
         <URL>www.xbox-scene.com/xbox1data/xbox-scene.xml</URL>
         <URL>www.xbins.org/xbins.xml</URL>
      </Newsfeed>
      <Preference>
         <Games AutoLaunch="No">C:\xboxdash.xbe</Games>
         <DVD AutoLaunch="No">F:\Apps\DVDX2\default.xbe</DVD>
         <AudioCD AutoLaunch="Yes">C:\xboxdash.xbe</AudioCD>
         <Data AutoLaunch="Yes">
         </Data>
         <SoundVolume>90</SoundVolume>
         <MusicVolume>100</MusicVolume>
         <EnableSoundTrack Random="No">True</EnableSoundTrack>
         <UseFahrenheit>False</UseFahrenheit>
         <SNTP Synchronize="No">216.244.192.3</SNTP>
         <Skin Path="skins\">New Skin@1</Skin>
         <FanSpeed>1</FanSpeed>
         <ScreenSaver Wait="60" Type="1">
            <Text>Are you playing?</Text>
         </ScreenSaver>
         <AutoTurnOff>0</AutoTurnOff>
         <EnableDriveF>True</EnableDriveF>
         <EnableDriveG>False</EnableDriveG>
         <AutoSetTime>No</AutoSetTime>
      </Preference>
   </Settings>
   <Menu>
      <Item Action="LaunchDVD">Launch DVD</Item>
      <List Text="Games" Sort="On" Auto="On">
         <Path>E:\Games</Path>
         <Path>F:\Games</Path>
         <Path>G:\Games</Path>
         <Path>E:\HDDLoader</Path>
         <Path>F:\HDDLoader</Path>
      </List>
      <List Text="Emulators" Sort="On" Auto="On">
         <Path>E:\Emulators</Path>
         <Path>F:\Emulators</Path>
      </List>
      <List Text="Applications" Sort="On" Auto="On">
         <Path>E:\Applications</Path>
         <Path>F:\Applications</Path>   

         
      </List>
      <List Text="System" Sort="Off" Auto="On">
         <Item Action="Settings">Settings</Item>
         <List Text="Misc" Sort="Off" Auto="On">
            <Item Action="FTPStop">Stop FTP</Item>
            <Item Action="FTPStart">Start FTP</Item>
            <Item Action="FTPReset">Reset FTP</Item>
            <Item Action="NETReset">Restart Network</Item>
            <Item Action="TrayClose">Close DVD Tray</Item>
            <Item Action="TrayOpen">Open DVD Tray</Item>
            <Item Action="CopyDVD">Copy Game Disk</Item>
         </List>
         <List Text="Format Menu" Sort="Off" Auto="On" Password="XboxFucked">
            <Item Action="Format" Arg1="F">Format F Drive</Item>
            <Item Action="Format" Arg1="G">Format G Drive</Item>
            <Item Action="Format" Arg1="X">Format X Drive</Item>
            <Item Action="Format" Arg1="Y">Format Y Drive</Item>
            <Item Action="Format" Arg1="Z">Format Z Drive</Item>
         </List>
         <Item Action="Skins">Skins</Item>
      </List>
      <Item Action="FileManager">File Explorer</Item>
      <Item Action="C:\xboxdash.xbe">MS Dashboard</Item>
      <Item Action="Restart">Reboot</Item>
      <Item Action="Shutdown">Shutdown</Item>
   </Menu>
</UnleashX>
Logged

pdottz

  • Archived User
  • Sr. Member
  • *
  • Posts: 374
Xml Config
« Reply #3 on: February 17, 2004, 07:12:00 PM »

QUOTE
   
<Menu>
    <List Text="Applications" Sort="On" Auto="On">
            <Path>E:\Apps</Path>
            <Path>F:\Apps</Path>
        <List Text="Dashboards" Sort="On" Auto="On">
            <Path>F:\dashboards</Path>
        </List>
        <List Text="Media Players" Sort="On" Auto="On">
            <Path>F:\mediaplayers</Path>
        </List>
    </List>
</Menu>


notice how I arranged the List tags.
i just tested this and it works fine smile.gif
I love putting stuff in /quotes . it makes things easier to see smile.gif
Logged

yourwishismine

  • Archived User
  • Sr. Member
  • *
  • Posts: 325
Xml Config
« Reply #4 on: February 18, 2004, 12:39:00 AM »

QUOTE (pdottz @ Feb 17 2004, 11:12 PM)
I love putting stuff in /quotes . it makes things easier to see smile.gif

pdottz,

Try also the code tag... it works nicely as well

CODE
This is a sample of the [ code ] tag in use

Logged

dickyd

  • Archived User
  • Newbie
  • *
  • Posts: 12
Xml Config
« Reply #5 on: February 18, 2004, 05:02:00 AM »

biggrin.gif
Logged

pdottz

  • Archived User
  • Sr. Member
  • *
  • Posts: 374
Xml Config
« Reply #6 on: February 18, 2004, 06:30:00 AM »

smile.gif
Logged