Visual Basic 6.0 HEX Editing Functions - For Hacking ROMs.
View Single Post
May 10th, 2011 (3:12 PM).
Originally Posted by
Does anybody know how to insert a file that has been opened with the program into a rom that has been also opened with the program using WriteHEX? Is it possible?
If not, is there any other ways of doing it? Can you please get back to me soon on this as this is the only thing keeping me back from releasing my program.
Sounds like that is a major part of your program. Anyways, just use a For...Next loop to store the bytes from the source file and then use the writehex function in another For...Next loop to insert the bytes into the target file making sure to use a base address and using your counter variable as an offset of the base address.
Joined Jul 2010
View Public Profile
Send a private message to ShadowMrk
Find all posts by ShadowMrk
Find threads started by ShadowMrk
Ignore Posts by ShadowMrk