Skip to content

Writing a code INI file

Jacob Fliss edited this page Oct 31, 2018 · 11 revisions

INI files are OPTIONAL! You can write to addresses and leave the codeFile argument empty.

.ini files must have the same starting format [codes] followed by the variable you will be using in your C# program. Use notepad to rename a .txt extension file to .ini

Base is the same thing as saying game.exe+0x00505CE4

You can use modules, pointers and/or offsets in your codes. Here are some examples below.

[codes]
EQMac_code=dpvs.dll+0x00028B90,0x3c
EQUnderfoot_code=0x820428
playerCurrentMP=0x905d00,0xc388,0x0004,0x11a8
playerHeading=base+0x00505CE4,0x4C

If you want to make reference to a codes.ini file that is in the same directory as your executable, make your codeFile argument string: Environment.CurrentDirectory + @"\codes.ini"