Tutorial on Hiew!
By Krobar

Here a quick tut on how to start off with Hiew...I using hiew 6.15



First we gotta install it. Just make a directory and unzip in it....could be C:\Hiew615, or like me, C:\Program files\Hiew615.

Once you got it unzipped just double click on the Hiew.exe and it open.

Before we peek at the program, we gonna make some changes to Hiew.ini....it in the Hiew directory. Double click on it and you see the top line say StartMode? We got three choices: Text/Hex/Code. We wanna start in code...coz this the mode we make most of our changes in...so after the = sign put Code, then we got StartMode = Code.
And one more thing. Look down a bit and you see ShowOffset....put
= Global, instead of =Local.
Click save and we away.

Well as you can see it run in dos, and that good.
When we click on the hiew.exe, we see it open and you'll see a list of things in the hiew directory. Unless you put the program you want to change in the hiew directory, we have to go to the directory where it is. We use the arrow and enter keys to scroll through the different directories (or use the Page Up and Page Down Keys for big jumps).
At the top of the Hiew screen is >UP DIR< and it should be highlighted...in black. When it is, push enter, and we out of Hiew folder looking at other folders. Just use the arrow and enter/return keys to get to the folder where our target is.
For example. If you got Hiew in C:/Program Files, then once you out of the Hiew directory you'll be in the program files directory, and in your hiew window, you'll see a list of everything in there. Use the up arrow to go up so that >UP DIR< is highlighted...in black, click enter and you be in C directory. So just scroll to where our target is then highlight it and push enter. We now loaded Hiew.

There a simpler way that I use...thanks to someones?? tut I read. You can drag the target program and drop it on Hiew.exe and it opens. Make a shortcut on your desktop and it easier still. You might also find it easier to have Hiew open in full screen...click up the top somewhere.

Ok, our program is open in Hiew....in Code mode. To change the mode, push enter/return and you in text mode...enter/return again and you in hex mode...again back to code mode.

Along the bottom you'll see the functions and what they do.. F1, F2 etc, but here a list of the ones you probably use.

  • F4...another way of changing modes.
  • F5...allows you to go to a particular point in the code. You can either enter the offset (you'll know what these are after reading some tuts) then push enter/return to get there, or, enter the address of where you are going and push enter/return.
    Note: If you enter the actual address, you have to put a dot(fullstop) BEFORE the address. Both ways work.
  • F3...lets you modify the code..make the changes you want.
  • F9...updates the program, makes the changes you made permanent
  • F10...gets you out of Hiew...Esc does the same.

Anyway, that the basics and you'll get used to this program by following the tuts.