Quote Originally Posted by Skarma View Post
Code:
0041E0F9  LEA ECX,[LOCAL.70]
0041E0FD  PUSH ECX
0041E0FE  PUSH 20019
0041E103  PUSH 0
0041E105  PUSH OFFSET 004253A4                                  ; ASCII "SOFTWARE\Microsoft\Microsoft Games\Halo HEK"
0041E10A  PUSH 80000002
0041E10F  CALL DWORD PTR DS:[<&ADVAPI32.RegOpenKeyExA>]
My registry path was default: "SOFTWARE\\Wow6432Node\\Microsoft\\Microsoft Games\\Halo HEK". I am running Windows 7. Regardless of where your Halo Custom Edition directory is installed or whether it's x86 or x64, the registry entry it opens may be incorrect. Since UserTool must be placed in the Halo CE directory anyway, may I suggest using GetCurrentDirectory or GetModuleFileName to obtain the path? Otherwise you may need to check multiple registry paths.
This is actually quite simple to fix, however the fix I am about to give really only changes the registry usertool tries to find: the x32 Halo HEK registry, and instead makes it look for the x64 directory.

I was going to make a small tutorial on how to do this yourself, but because of how FireSythe has his project folders and directories set up (He has the directories/folders on another hard drive of some kind, I had to use my flash drive to make it look there. I even placed all the files exactly the way he had it, and Visual C++ still told me it couldnt find the files, even though it was sitting in front of it's stupid face.) I cannot accomplish that. I did however make a successful exe a while ago, and I have no idea what caused it to not work anymore.

Anyway, enough rambling, here is the exe I promised.

http://www.codebrainshideout.net/files/usertool_x64.exe