Dena Posted March 12, 2014 Posted March 12, 2014 (edited) I have few problems and I have no idea if there is any way to solve it. I have a code in the file that I need to edit using hex. Below is a code that my file contains; 00 00 20 00 00 00 00 00 00 01 00 01 00 7F DF 40 00 00 00 38 00 01 00 40 C9 0F DB 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF FF FF 3F 00 00 00 3F 80 00 00 F8 21 FE D1 7C 08 02 A6 F8 01 01 40 DB E1 01 28 FB C1 01 18 FA C1 00 D8 60 9E 00 00 3E C0 00 1B 2C 9E 00 00 2C 03 00 00 4C 42 33 82 FB 61 01 00 FB 41 00 F8 3A D6 AC 50 60 FA 00 00 FB E1 01 20 FB I want it to find all of the codes that contains these next bytes 00 00 20 00 00 and replace them with 00 00 20 00 00 30 30, but the problem is that its not adding 30 30 on existing code instead it adds 2 new bytes to the code which corrupts the file. I have tried many hex editors and I didn't found any of them. I would like to know if there is any known tools that could add new bytes on existing code not adding new bytes to the script since that increases size of the file and causes corruption. - Deny Edited March 13, 2014 by Dena
somdcomputerguy Posted March 13, 2014 Posted March 13, 2014 Perhaps the BinaryToString, StringReplace, and StringToBinary functions can be used? See the Help file for descriptions. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change.
Dena Posted March 13, 2014 Author Posted March 13, 2014 (edited) Thanks a lot guys. WinHex works perfectly. But the problem is that I can't edit my files since they're over 200 KB large. Edited March 13, 2014 by Dena
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now