xboxscene.org forums

Author Topic: <enablefdrive> Setting  (Read 154 times)

Kthulu

  • Archived User
  • Hero Member
  • *
  • Posts: 787
<enablefdrive> Setting
« on: January 13, 2005, 11:00:00 PM »

on a soft-modded v1.0 using UXE and Nkpatcher10...

lock ups and freezing occured sometimes with reboots and always when rebooting at the end of a profile-switching script.  after pulling my hair out for hours, i noticed that the control panel/storage said that F drive was enabled but the <EnableFDrive> line was nowhere in the config.xmls.  i tricked the dash into adding the line by changing Enable F drive to No and then back to yes and saving.  no freezes any more since it added the line to the config.xml.

dash was installed to C:\fonts\dashboard\default.xbe
profiles and their config.xml were in F:\dashboards\unleashx\profiles\admin\config.xml and F:\dashboards\unleashx\profiles\guest\config.xml

admin config (before changing):
QUOTE
<?xml version="1.0" encoding="utf-8"?>
<UnleashX>
   <Settings>
  <Preference>
     <Games AutoLaunch="No">C:\msxboxdash.xbe</Games>
     <DVD AutoLaunch="No">F:\APPLICATIONS\dvdx2\default.xbe</DVD>
     <AudioCD AutoLaunch="No">F:\applications\xbmc\default.xbe</AudioCD>
     <UseFahrenheit>Yes</UseFahrenheit>
     <FanSpeed>1.50</FanSpeed>
     <VideoSettings FastRefresh="Yes" Widescreen="No" FilterLevel="3" Soften="Yes" Use16bit="False"></VideoSettings>
     <Skin>Concept42</Skin>
     <ContextMenu AllowItemEdit="Yes" AllowUninstall="Yes" AllowRecentList="No" LinkToSave="Yes"></ContextMenu>
     <ScrollSpeed>25f</ScrollSpeed>
     <ScreenSaver Wait="180" EnableBGM="Yes"></ScreenSaver>
     <LEDColor>Green</LEDColor>
     <AutoTurnOff>0</AutoTurnOff>
     <SNTP Synchronize="Yes">207.46.130.100</SNTP>
     <AutoRename>No</AutoRename>
  </Preference>
  <Newsfeed Enable="Yes" Interval="20">
     <URL>www.xbox-scene.com/xbox1data/xbox-scene.xml</URL>
     <URL>www.xbins.org/xbins.xml</URL>
  </Newsfeed>
  <FTP Enable="Yes">
     <Password>xbox</Password>
  </FTP>
  <NetWork Type="DHCP">
     <AutoDetect>No</AutoDetect>
     <IP>10.10.10.2</IP>
     <Subnet>255.255.255.0</Subnet>
     <Gateway>10.10.10.1</Gateway>
  </NetWork>
  <Audio>
     <EnableSoundEffect>Yes</EnableSoundEffect>
     <EnableSoundTrack Random="Yes" Enable_5_1="No" MusicPath="F:\music">Custom</EnableSoundTrack>
     <MusicVolume>85</MusicVolume>
     <SoundVolume>80</SoundVolume>
  </Audio>
  <Shortcut>
     <IR_1>F:\APPLICATIONS\XBMC\default.xbe</IR_1>
  </Shortcut>
   </Settings>
   <Menu>
  <List Text="DVD" Icon="f:\dashboards\icons\folder.png" Sort="Off" Auto="On" AltIcon="f:\dashboards\icons\folder.png">
     <Item Action="LaunchDVD" Icon="f:\dashboards\icons\playdvd.png" AltIcon="f:\dashboards\icons\dvd3.png">Launch DVD</Item>
     <Item Action="TrayClose" Icon="f:\dashboards\icons\close-tray.png" AltIcon="f:\dashboards\icons\dvdtrayclose.png">Close DVD Tray</Item>
     <Item Action="TrayOpen" Icon="f:\dashboards\icons\open-tray.png" AltIcon="f:\dashboards\icons\dvdtrayopen.png">Open DVD Tray</Item>
     <Item Action="CopyDVD" Icon="f:\dashboards\icons\copydvd.png" AltIcon="f:\dashboards\icons\dvdtohdd.png">Auto-Copy Disk</Item>
  </List>
  <List Text="Games" Icon="f:\dashboards\icons\folder.png" Sort="Off" Auto="On" AltIcon="f:\dashboards\icons\folder.png">
     <List Text="Xbox" Sort="On" Auto="On" AltIcon="F:\DASHBOARDS\icons\xbox.png">
    <Path>F:\GAMES</Path>
     </List>
     <Path>F:\EMULATORS</Path>
  </List>
  <List Text="Applications" Icon="f:\dashboards\icons\folder.png" Sort="On" Auto="On">
     <Path>F:\APPLICATIONS</Path>
  </List>
  <List Text="Dashboards" Icon="f:\dashboards\icons\folder.png" Sort="On" Auto="On">
     <Path>F:\DASHBOARDS</Path>
     <Path>C:\fonts\dashboard</Path>
     <Item Action="C:\msxboxdash.xbe" AltIcon="F:\DASHBOARDS\icons\msdash.png">MS</Item>
  </List>
  <List Text="System" Icon="f:\dashboards\icons\system.png" Sort="Off" Auto="On" AltIcon="f:\dashboards\icons\folder.png">
     <Item Action="FileManager" AltIcon="F:\DASHBOARDS\icons\explorer.png">File Explorer</Item>
     <Item Action="Skins" AltIcon="F:\DASHBOARDS\icons\skins.png">Skins</Item>
     <Item Action="Settings" AltIcon="F:\DASHBOARDS\icons\settings1.png">Control Panel</Item>
     <Item Action="GameManager" AltIcon="F:\DASHBOARDS\icons\memorycard.png">Game Saves</Item>
     <Item Action="Shutdown" AltIcon="F:\DASHBOARDS\icons\shutdown2.png">Shutdown</Item>
     <Item Action="Restart" AltIcon="F:\DASHBOARDS\icons\reboot2b.png">Reboot</Item>
  </List>
  <List Text="Logon as Guest" Batch="True" AltIcon="f:\dashboards\icons\lock.png">
     <Item Action="Copy" Arg1="config.xml" Arg2="F:\dashboards\unleashx\profiles\admin\config.xml"></Item>
     <Item Action="Copy" Arg1="F:\dashboards\unleashx\profiles\guest\config.xml" Arg2="config.xml"></Item>
     <List>
    <Item Action="AskUser" Arg1="Backup Game-saves?">Would you like to backup your game-saves?\n\nThev will be copied to the following location:\nF:\dashboards\unleashx\profiles\admin\gamesaves\</Item>
    <Item Action="Copy" Arg1="E:\UDATA\" Arg2="F:\dashboards\unleashx\profiles\admin\gamesaves\"></Item>
     </List>
     <Item Action="Reboot"></Item>
  </List>
   </Menu>
</UnleashX>

guest config (before changing):
QUOTE
<?xml version="1.0" encoding="utf-8"?>
<UnleashX>
   <Settings>
  <Preference>
     <Games AutoLaunch="No">C:\msxboxdash.xbe</Games>
     <DVD AutoLaunch="No">F:\APPLICATIONS\dvdx2\default.xbe</DVD>
     <AudioCD AutoLaunch="No">C:\msxboxdash.xbe</AudioCD>
     <UseFahrenheit>Yes</UseFahrenheit>
     <FanSpeed>1.50</FanSpeed>
     <VideoSettings FastRefresh="Yes" Widescreen="No" FilterLevel="3" Soften="No" Use16bit="False"></VideoSettings>
     <Skin>GreenShapes - By Kthulu</Skin>
     <ContextMenu AllowItemEdit="No" AllowUninstall="No" LinkToGame="No" AllowRecentList="No"></ContextMenu>
     <EnableSoundTrack Random="Yes" MusicPath="F:\music">Custom</EnableSoundTrack>
     <MusicVolume>90</MusicVolume>
     <SoundVolume>85</SoundVolume>
     <ScrollSpeed>25f</ScrollSpeed>
     <ScreenSaver Wait="180" EnableBGM="Yes"></ScreenSaver>
     <DefaultFolder></DefaultFolder>
     <LEDColor>Red</LEDColor>
     <AutoRename>Yes</AutoRename>
     <SNTP Synchronize="No"></SNTP>
  </Preference>
  <Newsfeed Enable="Yes" Interval="20">
     <URL>www.xbox-scene.com/xbox1data/xbox-scene.xml</URL>
     <URL>www.xbins.org/xbins.xml</URL>
  </Newsfeed>
  <FTP>
     <Password>xbox</Password>
  </FTP>
  <NetWork Type="DHCP">
     <AutoDetect>Yes</AutoDetect>
     <IP>10.10.10.1</IP>
     <Subnet>255.255.255.0</Subnet>
     <Gateway>10.10.10.1</Gateway>
  </NetWork>
  <Audio>
     <EnableSoundTrack Random="Yes" MusicPath="F:\music">Custom</EnableSoundTrack>
     <MusicVolume>85</MusicVolume>
     <SoundVolume>80</SoundVolume>
  </Audio>
   </Settings>
   <Menu>
  <List Text="DVD" Icon="f:\dashboards\icons\folder.png" Sort="Off" Auto="Off">
     <Item Action="LaunchDVD" Icon="f:\dashboards\icons\dvd3.png">Launch DVD</Item>
     <Item Action="TrayClose" Icon="f:\dashboards\icons\dvdtrayclose.png">Close DVD Tray</Item>
     <Item Action="TrayOpen" Icon="f:\dashboards\icons\dvdtrayopen.png">Open DVD Tray</Item>
     <Item Action="CopyDVD" Icon="f:\dashboards\icons\copydvd.png" AltIcon="f:\dashboards\icons\dvdtohdd.png">Auto-Copy Game</Item>
  </List>
  <List Text="Games" Icon="f:\dashboards\icons\folder.png" Sort="Off" Auto="On">
     <List Text="Xbox" Icon="f:\dashboards\icons\xbox.png" Sort="On" Auto="On">
    <Path>F:\GAMES</Path>
     </List>
     <Path>F:\EMULATORS</Path>
  </List>
  <List Text="System" Icon="f:\dashboards\icons\folder.png" Sort="Off" Auto="On">
     <Item Action="Skins" Icon="f:\dashboards\icons\skins.png">Skins</Item>
     <Item Action="Settings" Icon="f:\dashboards\icons\settings.png" Passcode="ABBADD" AltIcon="f:\dashboards\icons\settings1.png">Control Panel</Item>
     <Item Action="GameManager" AltIcon="F:\DASHBOARDS\icons\memorycard.png">Game Saves</Item>
     <Item Action="Shutdown" Icon="f:\dashboards\icons\shutdown2.png">Shutdown</Item>
     <Item Action="Restart" Icon="f:\dashboards\icons\reboot2b.png">Reboot</Item>
  </List>
  <List Text="Logon as Admin" Batch="True" AltIcon="f:\dashboards\icons\lock.png" Passcode="ABBADD">
     <Item Action="Copy" Arg1="config.xml" Arg2="F:\dashboards\unleashx\profiles\guest\config.xml"></Item>
     <Item Action="Copy" Arg1="F:\dashboards\unleashx\profiles\admin\config.xml" Arg2="config.xml"></Item>
     <List>
    <Item Action="AskUser" Arg1="Backup Game-saves?">Would you like to backup your game-saves?\n\nThev will be copied to the following location:\nF:\dashboards\unleashx\profiles\guest\gamesaves\</Item>
    <Item Action="Copy" Arg1="E:\UDATA\" Arg2="F:\dashboards\unleashx\profiles\guest\gamesaves\"></Item>
     </List>
     <Item Action="Reboot"></Item>
  </List>
   </Menu>
</UnleashX>
Logged

Yuyu

  • Archived User
  • Hero Member
  • *
  • Posts: 908
<enablefdrive> Setting
« Reply #1 on: January 15, 2005, 11:19:00 AM »

-for James

To add to this and maybe correct the problem...
Dvd2Xbox added F&G auto-detecting. Maybe you could look into using that code or base your own code off of doing this, instead of having it in the config.xml at all?

This post has been edited by Yuyu: Jan 15 2005, 07:20 PM
Logged

Kthulu

  • Archived User
  • Hero Member
  • *
  • Posts: 787
<enablefdrive> Setting
« Reply #2 on: January 16, 2005, 08:47:00 PM »

the funny thing is that even though <enablefdrive> was not in the config.xml, the control panel reported it as being enabled and it was accessible.  just had problems with the file copy in the script.  sometimes launching games from F would mess up, but i think that was being caused by something else.
Logged