المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Getting a program to open, search for a line of code, and edit it.



C# Programming
07-31-2009, 11:00 AM
So, i'm very new to this site and programming in general. So far i've made just a hex/decimal convert. Well, some of you may be familiar with "CoD Tool" that is used to modify xbox 360 games. I want to make a program like this, but I need some stuff answered.

1. I need to know how to search for a specific string in a file (may be hex string"

2. I need to go so many bytes after the found string.

3. I need to insert, delete, and replace what was found with something else (has to be edited with hex)

For those that don't know, i need to put a "." but change the hex to something like "09" or "12"