Please help tutorial for script

Anything related to script should go here.
Post Reply
papaseed
Junior Member
Posts: 5
Joined: Mon Feb 09, 2009 9:39 am

Please help tutorial for script

Post by papaseed »

Thank you.
RIP_Felipeferras
Junior Member
Posts: 489
Joined: Thu Dec 31, 2009 6:33 pm

hey

Post by RIP_Felipeferras »

is been a while I've seen this post and nobody answers thats so lame of the people in here so i decide to give u a hint
D
EXIT
HELP
RESET
DETECT
SEARCH
FLSHDCT
FLSHSET
INIT
INITUSB
GETRAM
SAVE
LDRAM
CMPRAM
SETRAM
PEEK
POKE
PROGRAM
FLSHLIST
ABOUT
CLS
E
F
S
CONFIGSHOW
ERASE
SPROGRAM
BK
R
T
G
PEEKH
PEEKB
POKEH
POKEB
SPEED
TAP
CFI
log
SGETRAM
SCMPRAM
SSETRAM
SCRIPT
mac
ver0 (image0)
ver1 (image1)
chgmac

this are all the commands for the usbjtag NT so u can place any of this or the ones u think u gonna use
Example:first u gonna open a note pad an place the commands u gonna need for lets say load a firm on a sb5100 u can do this

[PHP]detect
ldram imageo
ldram image1
program image0
program image1
cmpram image0
cmpram image1
endif compare data ok
[/PHP]
then save as .usp and place it in ur scripts
simple is that u can make ur own as u can see i just made this one so is just about playing with this program and testing what u doing i hope this help
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

Good start.

The command available can be viewed by "help". Not all the target has the same command set. That is if you select DCT and XBOX, they might have slightly different commands.

Extra features for the script.
1. You can run another script in one script. (run)
2. Use echo or // to make comment.
3. Is if else , goto to make more complicated script.

Examples can be found in dct700.usp and sb5100.usp. When you want to things in batch you can use script to speed things up.

Some special script can be made like debrick devices.
RIP_Felipeferras
Junior Member
Posts: 489
Joined: Thu Dec 31, 2009 6:33 pm

trying to think

Post by RIP_Felipeferras »

im gonna play with more so ill be back
xy-Zee
Junior Member
Posts: 114
Joined: Wed Nov 01, 2006 12:51 pm

Post by xy-Zee »

this is a very good lesson for today...thanks
ant El
Junior Member
Posts: 4
Joined: Thu Dec 11, 2008 9:47 pm

help

Post by ant El »

felipeferras wrote:is been a while I've seen this post and nobody answers thats so lame of the people in here so i decide to give u a hint
D
EXIT
HELP
RESET
DETECT
SEARCH
FLSHDCT
FLSHSET
INIT
INITUSB
GETRAM
SAVE
LDRAM
CMPRAM
SETRAM
PEEK
POKE
PROGRAM
FLSHLIST
ABOUT
CLS
E
F
S
CONFIGSHOW
ERASE
SPROGRAM
BK
R
T
G
PEEKH
PEEKB
POKEH
POKEB
SPEED
TAP
CFI
log
SGETRAM
SCMPRAM
SSETRAM
SCRIPT
mac
ver0 (image0)
ver1 (image1)
chgmac

this are all the commands for the usbjtag NT so u can place any of this or the ones u think u gonna use
Example:first u gonna open a note pad an place the commands u gonna need for lets say load a firm on a sb5100 u can do this

[PHP]detect
ldram imageo
ldram image1
program image0
program image1
cmpram image0
cmpram image1
endif compare data ok
[/PHP]
then save as .usp and place it in ur scripts
simple is that u can make ur own as u can see i just made this one so is just about playing with this program and testing what u doing i hope this help
Do know how to debrick dct 700 with usbtjag nt?
CAPONE
Junior Member
Posts: 5011
Joined: Sat Dec 27, 2008 3:25 pm

Post by CAPONE »

ant El wrote:Do know how to debrick dct 700 with usbtjag nt?
There should be a tutorial on that and maybe even a video.

Easy way is to load a Full backUp and write. Less steps involved and Works every time.
"If you give a man a fish you feed him for a day. If you teach a man to fish you feed him for a lifetime."
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

If you guys know DOS command then it is easy for you. If not then you might not be able to use the script.
The script is simply a group of commands with some controls.
Simple script does not use control (if else endif, goto).

So it all depends what you want to do. Example can be found in dct700.usp, sb5100.usp.

You can copy from it and delete the lines. See how it works. Then you can start to add lines.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests