Edit Anything

Professional text and hex editing
with Binary Templates technology.






010 Editor - Script Archive

The following is a repository of 010 Editor Script files that have been submitted. Please feel free to submit any scripts you have that may be useful to other people. Please review the terms and conditions for using this script archive.


Script File

Description










BatchChecksum.1sc
Demonstrates how to batch process a set of files. Takes as input a text file containing a list of file names, one per line. Opens each file in the list, performs processing on the file (in this case does an MD5 checksum) and then closes the file.







BinToI_IToBin.1sc
Functions for converting from a binary string to an integer and vise versa.







CopyAsAsm.1sc
Copies the current selection to the clipboard as hex bytes in a format suitable for inclusion in an assembly program.







CopyAsPascal.1sc
010 Editor can copy bytes from a file to the clipboard as C code or as Java code. This script allows additionally to copy as Pascal code. The text copied into the clipboard contains a Pascal constant definition, followed by the data as Hex bytes in Pascal notation.







CopyAsPython.1sc
Copy selection or entire file as Python code. Counts number of bytes and the Python Data Array is also copied to the Clipboard.







count_blocks.1sc
Identifies blocks of identical bytes within a file.







CreateMassData.1sc
Create mass data files to check input field boundaries.







DecodeBase64.1sc
Decode the selected bytes or the entire file from Base64 code into binary. Base64 is a code used in email attachments or similar purposes, for to transfer binary data, where only ASCII data can be transmitted. In each character are placed 6 bits. This script extracts from the characters the least significant 6 bits and puts it together to whole bytes.







DumpStrings.1sc
List all ASCII and Unicode strings in a file.







EbookClean.1sc
Erase repeated BLANK_LINES, BLANKs or lines including selected texts in files.







EncodeBase64.1sc
Encode bytes to Base64.







find_diff_down.1sc
Finds the first byte with a different value than the current byte. Search direction is down.







find_diff_up.1sc
Finds the first byte with a different value than the current byte. Search direction is up.







GetFileIndexOrName.1sc
Utility functions to extract the file name from a file path, or to look up a file index from a file name.







GUID.1sc
Formats a 16 byte sequence as a Microsoft GUID, prints the result and then copies the result to the clipboard.







IsASCII.1sc
Determines if the currently open file contains only ASCII characters (byte range 0..127). If a non-ASCII byte is found, the cursor is moved to the first byte.







InsertTiffTag.1sc
Inserts the specified tag into a TIFF image, updating the necessary attributes and offsets accordingly.







Interleave.1sc
Interleaves the bytes of two files together. See Uninterleave.1sc to separate the interleaved file.







JoinFile.1sc
Reassembles files that were split with the SplitFile.1sc script. The user must select the first file in the sequence to reassemble.







MultiplePaste.1sc
Executes a paste operation a number of times. The user can enter the number of times to paste in an input box.







QuickSort.1sc
Demonstrates how to do a quicksort on an array.







Randomize.1sc
Assigns a set of random byte values to a file. If a selection is made, only the selected bytes are modified, otherwise the whole file is modified. The user can enter a minimum and maximum value to generate.







SortLines.1sc
Sort (and optionally remove duplicate) lines in a text file.







SplitFile.1sc
Splits the current file into a number of equal sized files. The user must enter the size of each file and the first file name in the sequence to write (for example, file0001.dat).







StringPlus.1sc
Add a number to each character of the selected string or whole file.







StringReplace.1sc
Utility function for searching for a value within a string and replacing it with another value.







StringReverse.1sc
Utility for reversing a string.







sWeEtSCApE.1sc
Creates all upper/lower case combinations of a string and writes them to a file.







Uninterleave.1sc
When given an interleaved file, this script creates two files by separating the interleaved data. See Interleave.1sc for the reverse operation.







XORSelection.1sc
Xors the current selection with a set of bytes, which causes the bytes to be encoded so they cannot be read by a human. Run the Xor again on the encoded selection to decode the data.







Submit a Script





010 Editor Menu


Latest News


Other Products


Articles


Newsletter
Join our newsletter to receive tips and tricks on hex editing, special offers, and news from SweetScape Software Inc.

Sign-up Now...