xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
 
Reply to this topicStart new topic
> Need Little Help With Script
m3tro
post Feb 22 2006, 02:33 PM
Post #1


X-S Member
*

Group: Members
Posts: 66
Joined: 23-January 04
From: Way North
Member No.: 94362
Xbox Version: v1.2
360 version: v1 (xenon)



I'm making a auto-installer script.
I have not tested it yet, but if you know, will this work?

-----------------------------------------------------------------------------------
Set SOD_C $ShortDriveCSize$
Set SOD_E $ShortDriveESize$
Set SOD_X $ShortDriveXSize$
Set SOD_Y $ShortDriveYSize$
Set SOD_Z $ShortDriveZSize$
Set SOD_F $ShortDriveFSize$
Set SOD_G $ShortDriveGSize$

Callscript _DisplayMessageBox "Please Wait..."
Delay 2

AllowFormat 1
FORMAT C:
FORMAT X:
FORMAT Y:
FORMAT Z:
IF %SOD_E% == "0" FORMAT E:
IF %SOD_F% == "0" FORMAT F:
IF %SOD_G% == "0" FORMAT G:
AllowFormat 0
-----------------------------------------------------------------------------------

OTHER STUFF:

How should I do it if I want it to do a special thing if F: / G: has a special size?
(Guess ShortDriveFSize show size in MB)

will this work?

IF %SOD_G% > "10" GOTO hddsize_Gdrive
IF %SOD_F% > "3000" GOTO hddsize_default
IF %SOD_F% > "10" GOTO hddsize_original10
IF %SOD_F% == "0" GOTO hddsize_original08
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
m3tro
post Feb 22 2006, 02:55 PM
Post #2


X-S Member
*

Group: Members
Posts: 66
Joined: 23-January 04
From: Way North
Member No.: 94362
Xbox Version: v1.2
360 version: v1 (xenon)



One more thing, is it possible to make an % bar... some way?
So he/she who installs know the progress!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 23rd May 2013 - 09:36 PM