Finding Conquer Processes

07/15/2008 01:48 KiXiN#1
I'm redoing KiBoX and I need some help determining what processes are Conquer processes.

I want this program to work with people who have things other than "Conquer.exe" for their program file. ("ConquerMulticlient.exe" should still work)

I also want people to be able to modify the window title so something other than "[Conquer 2.0]" still works. ("[Conquer: CharName]" should still work)

My only other ideas would be checking the process location: "C:\Program Files\Conquer 2.0\...", however, it could be installed to "D:\Games\Conquer\...", so that isn't plausable.

I guess I could do a checksum or scan for data within the client, but then it would be problematic to have multiple Conquer versions working with the same hack.

Any input is greatly appreciated!
07/15/2008 01:53 InfamousNoone#2
Quote:
I also want people to be able to modify the window title so something other than "[Conquer 2.0]" still works. ("[Conquer: CharName]" should still work)
Once you read the character name from the memory, you can create the string you want to set as the title then call the Win32 API Function "SetWindowText".

[Only registered and activated users can see links. Click Here To Register...]
07/15/2008 02:28 Miv#3
Quote:
I want this program to work with people who have things other than "Conquer.exe" for their program file. ("ConquerMulticlient.exe" should still work)
pretty sure that nobody has a different program name other than "Conquer.exe" b/c "play.exe" only launches "conquer.exe" but i guess if you directly launch something like "ConquerMulticlient.exe" it would work... but then my only idea would be to have a unique program name would be to have an open dialog or something for the user to select the program file and then just save the file location to an .ini or something
07/15/2008 05:57 evanxxxm#4
KiXiN@
suggestion:
default as Conquer.exe if not found then open some select windows like this
[Only registered and activated users can see links. Click Here To Register...]
07/16/2008 00:24 KiXiN#5
I think I figured out the answer to this on my own. I'm going to load processes and check the main form class to check if it matches the Conquer window.