agrippa1994 / DX9-Overlay-API

Overlay API for DirectX 9 based games.
MIT License
127 stars 26 forks source link

Cannot get software to work #7

Closed evilC closed 10 years ago

evilC commented 10 years ago

I can get none of the samples to work.

Ideally I would like to use AHK.

I see the AHK test files are hard-wired to gfxtest.exe - is this an app I can download? Failing that can you suggest a free app or game that the samples are known to work in?

JohnnyCrazy commented 10 years ago

You can run all examples on any DX9 Application by replacing the process/window Name. The GFXTest application is a simple dx9 test, I will provide(maybe add it to the Repo) a Download Link as soon as I am at home

evilC commented 10 years ago

Yeah I tried it with Mechwarrior Online (mwomercs.com - free to play) but could not get any joy.

I tried the AHK samples (and changed exe name in the source obviously)

I tried compiling the c# version, but it crashed when I ran it (I don't really know c#).

Adding gfxtest.exe to the repo would be smart I think - maybe even EXEs for the samples too. That way users can easily verify if everything works OK.

Cheers for your swift response...

BTW, any plans to do the same thing for DX11?

JohnnyCrazy commented 10 years ago

Uploaded GFXTest: http://dl.johnnycrazy.de/GFXTest.rar I will add it to the Repo sometime later,

So this is the compiled AHK Test + DLL (http://dl.johnnycrazy.de/TestPackage.rar) Start the GFXTest via the start.bat and then run the "Hello-World.exe" (As Admin and extract everything before!) If it works, we will figure out the other problems ;)

For DX11: I don't know exactly if @agrippa1994 wants to do it, since I'm not really into C++ Programming :tongue:

evilC commented 10 years ago

Thanks ever so much for that.

Your compiled AHK script works, but I cannot get the uncompiled script to work. No errors, no indication it is running except the icon in the tray, which exits if I hit 1, so it seems to be running OK, just no injection.

What version of AHK am I meant to be using? I am using AHK_L version 1.1.15.00 from ahkscript.org

JohnnyCrazy commented 10 years ago

Just tested it with a clean install from http://www.autohotkey.com/ and it worked without problems, maybe try that? Version 1.0.48.05

OK, so let's try this:

evilC commented 10 years ago

I thought Lexikos took over in 2010 and the main AHK was in fact AHK_L?

I would have thought the download at autohotkey.com should be compatible with AHK_L

JohnnyCrazy commented 10 years ago

NVM, was my fault, I updated the answer above :)

evilC commented 10 years ago

FYI with AHK_L you do not need to uninstall. Run the uninstall / change in progs+features and you can switch version.

I switched to ANSI 32-bit and it worked fine, even without compiling.

Thank you!

JohnnyCrazy commented 10 years ago

No Problem!

If you have any further problems, just report back

evertschone commented 10 years ago

Any ideas why, when I run GFXTest.exe and set the settings to DX9 3D, before running the hello world sample, the overlay does not work. but when I open GFXtest.exe via the batfile it does work?

evertschone commented 10 years ago

ok, nvm. figured out I need to run both files as administrator to get then to work.