The basics of modmaking: The HEX numbers. Hex is counted in 0-F this means that 4=4, A=10. It also means that 20=32. Shortly A=10 B=11...F=15. F+F=1E, 1E=30 (10=16 + E=14) Get it? If not you're forced to use the base converter and the hex calculator findable under the Tools menu in HEX workshop. You often set a h after the hex number (20h) to indicate that it's a hex number. But it won't always be there. If it stands Decimal or "d" somewhere it's about normal numbers (0-9) OFFSET, BYTES, ASCII - An offset is briefly the address to
some place in the file. the offset column is the left of the three. You can go to a
specific address by entering it in the goto option under the edit menu. You might find an
adress like 404532 (this was just an example). Especially when opening a dat file in
notepad. In those cases you might need to substract 400C00 from the bigger offset to get
the one used in the hex editor. There might be bigger numbers in some dat files but I
won't explain them here. They won't be so important to things herein. Pointers is a thing that points to something. If you want to know where the pointer is pointing to you have to put the pointer in reverse order. So the Pointer C4E94900 should be put like 0049E9C4 (watch out, the bytes should be the same). Then you dont have to care about that 00 in front of the number. But when you have done that you have to substract a number. These numbers is 402600 for Diablo and 401600 for Hellfire So the offset that pointer points to is gonna be 49E9C4-402600 (this is Diablo's Name pointer in Diablo). The offset ends up to be 9C3C4. If you go there youll see the name of diablo (the dark lord). This is some knowledge you'll use quite often. | Index | Monsters >>
|