Jump to content


Photo

Formatting Script Not Working?


  • Please log in to reply
2 replies to this topic

#1 Agent Orange

Agent Orange

    X-S Senior Member

  • Members
  • PipPip
  • 281 posts

Posted 16 September 2004 - 03:08 AM

I'm trying to use a script for formatting cache drives, or F: drive, but they don't seem to be doing anything... maybe I'm overlooking something....

CODE

In MXM.xml:

<ActionScript name="FormatCache">
  ALLOWFORMAT <1>
  format X:
  format y:
  format z:
  delete e:\cache
  ALLOWFORMAT <0>
 </ActionScript>

 <ActionScript name="FormatF">
  Callscript _DisplayMessageBox "This will completely destroy all data on F: $eol$Press A to continue, or any other button to exit..."
  If %_GP_A% == "1" GOTO APRESSED
  Quit

  :APRESSED
  ALLOWFORMAT <1>
  format f:
  ALLOWFORMAT <0>  
 </ActionScript>


CODE

In MENU.xml:

<SubMenu>
 <Title>System Utilities</Title>
 <Description>Advanced Options</Description>
 <Item>
  <Title>Format Cache Drives</Title>
  <Description>Repairs System Cache</Description>
  <Action>
   CallScript FormatCache
  </Action>
 </Item>
 <Item>
  <Title>Format F: Drive</Title>
  <Description>Completely Erases F:</Description>
  <Action>
   CallScript FormatF
  </Action>
 </Item>
     </SubMenu>


Any info is appreciated

Edited by Agent Orange, 16 September 2004 - 03:12 AM.


#2 geniusalz

geniusalz

    Team MXM

  • Head Moderators
  • PipPipPipPipPip
  • 1,827 posts
  • Gender:Male
  • Xbox Version:v1.1
  • 360 version:unknown

Posted 24 September 2004 - 02:55 AM

You need to have :
"AllowFormat 1" as opposed to "AllowFormat <1>"

Same with 0

That's probably the problem.

#3 Agent Orange

Agent Orange

    X-S Senior Member

  • Members
  • PipPip
  • 281 posts

Posted 25 September 2004 - 11:53 PM

lol.... I can't believe I did that... I'll try that out. Thanks a lot.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users