Having trouble creating a winhex script Log Out | Topics | Search
Moderators | Edit Profile

X-Ways Support Forum » Hex Editing » Having trouble creating a winhex script « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Faramisimo (Faramisimo)
Posted on Wednesday, Jun 22, 2005 - 2:12:   

i want to create a script that would read each bite and subtract it by a number i have in mind there are 16 numbers that repeat over and over till the end of the file.
is this possible? i dontknow the commands so far i have this

Open "g:\test.bin"
(-23)
Move 1
(-37)
Move 1
(-a7)
Move 1
and so on but i cant get it to subtract anything
yes i am verry new to this if it wouldbe great if i could get some feed back on this.
Top of pagePrevious messageNext messageBottom of page Link to this message

Stefan Fleischmann (Admin)
Posted on Wednesday, Jun 22, 2005 - 11:49:   

Example:

Open "g:\test.bin"
Read MyVariable
Assign MyVariable (MyVariable-23)
...

Add Your Message Here
Post:
Username: Posting Information:
Only registered users may post messages here, i.e. you need to have an account.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:
Forum operated by X-Ways Software Technology AG.