Posted 11 May 2013 - 07:53 PM
Hello all.
I was bored.
Then, I decided to make something that was not an API. I decided to make a hex editor.
Usage is simple: click on cells to change the hex values in them, or click on the corresponding character in the "ASCII Representation" field.
The cell or character you clicked will become a blank field and be highlighted in red. The corresponding cell or character will also become a blank field but will be highlighted in blue.
Then type in the appropriate value or character. Cells that are blank have not been set; they're equivalent to (and actually are) Lua's nil value. When setting a byte's value or character, pressing your backspace key will set it to nil.
Press E to save and exit, Q to quit without saving, and S to save without quitting.
You'll need an advanced computer, obviously.
Possible bugs:
I was bored.
Then, I decided to make something that was not an API. I decided to make a hex editor.
Usage is simple: click on cells to change the hex values in them, or click on the corresponding character in the "ASCII Representation" field.
The cell or character you clicked will become a blank field and be highlighted in red. The corresponding cell or character will also become a blank field but will be highlighted in blue.
Then type in the appropriate value or character. Cells that are blank have not been set; they're equivalent to (and actually are) Lua's nil value. When setting a byte's value or character, pressing your backspace key will set it to nil.
Press E to save and exit, Q to quit without saving, and S to save without quitting.
You'll need an advanced computer, obviously.
Possible bugs:
- Long filenames will be cut off.
- Trying to access bytes with offsets greater than 0xFFFF (65535) bytes will break the UI or cause visual defects. You would need a file that is at least 64 kilobytes large though.