home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Education Master 1994 (4th Edition)
/
EDUCATIONS_MASTER_4TH_EDITION.bin
/
files
/
progmisc
/
hexutil
/
hexutil.doc
< prev
next >
Wrap
Text File
|
1994-01-10
|
2KB
|
51 lines
Command Line Hexing Utility, version 1.0
This program, and all the included source code, is a true public domain file.
The program and it's included source code may be modified and distributed
freely.
*****NOTICE*****
However, this documentation file is NOT public domain, and may not be
modified! The author is NOT responsible for any use of this program, or
derivatives of the program! If you don't like this, don't use the program!
Now that the legal stuff is out of the way, let's get into the meat. The
archive you received should have contained these files:
hexutil.exe-actual program.
hexutil.doc-this file.
hexutil.cpp-Turbo C++ ver 3.0 source code.
file_id.diz-internal description file.
Anyway, the program was made when I got tired of running my hex editor and
manually editing the file. Especially in a high repetition hexing, like
health points in a RPG, I wanted to be able to just run a command line
program that would work in a short amount of time, with no screwing around.
As they say, necessity spawns invention(or something like that). So this is
the result. It's rather easy actually, here's the command syntax:
hexutil <file_name> <decimal offset> <ascii decimal number of character>
where <file_name> is the file to be edited, <decimal offset> is the number
of bytes from the begining of the file to position the file pointer(sorry all
you hexadecimal maniacs, but hey, you can always put hexadecimal notation
into the source code yourself), and where the new character to overwrite the
one currently found in the file at the file pointer is in it's decimal ascii
value.
This is probably a little confusing, so here's an example:
to change byte 2000 in a file named readme.txt to a capital e, type in the
following:
hexutil readme.txt 2000 69
Note that you will probably need an ascii chart, unless you have memorized
the codes for every key you will want to use. If you don't know what the
ascii chart is, you should not use this program to avoid any damage your
experimenting might cause.
To contact the author, you can write to me(Davin Weinzimmer) at the following
compuserve address: 73654,272. Or, via the internet:
73654.272@compuserve.com.