I'm aware of the WinSet Transparent, TransColor and AlwaysonTop commands, but I can't seem to make them work in fullscreen games. The same script works fine on non-fullscreen apps.
Some details about this game: It only works with nvidia or ATI cards. It uses directX8/9. It only runs at 1024x768. It detects when it is not fullscreen/foreground, and will timeout in less than 30 sec.
I would like to "punch thru" the game to see other programs behind (e.g. web browser, IM) and/or write my own programs to overlay the game.
From what I've gathered off the Net, it seems I need to hook directX, which doesn't seem to be possible with AHK. Perhaps something for the wishlist?
BTW, the standard tricks for making a program windowed all do not work for this game. I can't create a shortcut to its exe file either, because the game is lauched by a separate loader program.
Anyone know of a solution for fullscreen games?
Hooking directX / graphics overlay for game
Started by
Lemming
, Jan 04 2006 08:08 AM
30 replies to this topic
#1
-
Posted 04 January 2006 - 08:08 AM
Bumping this topic because I'd love to be able to make popups and things that could work in a fullscreen D3D/GL app, but they always loose focus and break :C
Any ideas?
Any ideas?
#2
-
Posted 11 June 2007 - 10:07 PM
asdfg
Hooking into directX, sounds like your trying to make a hack, even if you're not ahk wouldn't create such a thing because it would be a tool for hackers. AHK gets enough flack as it is.
#3
-
Posted 12 June 2007 - 12:18 AM
to add my 5 cents...
im looking for something like this too to add a countdown timer into kiosk mode computers.
Direct3d-hook.dll looks good for such operaions, but how to control it with ahk?
thanks for any help provided.
im looking for something like this too to add a countdown timer into kiosk mode computers.
Direct3d-hook.dll looks good for such operaions, but how to control it with ahk?
thanks for any help provided.
#4
-
Posted 12 June 2007 - 04:40 AM
Where is Direct3d-hook.dll available from or documented?
#5
-
Posted 10 December 2007 - 07:41 PM
#6
-
Posted 15 December 2007 - 06:15 AM
Wow :shock:
I have VS so I can build the DLL probably, but it may take some modification. Hmm...
*digs in*
I have VS so I can build the DLL probably, but it may take some modification. Hmm...
*digs in*
#7
-
Posted 15 December 2007 - 06:27 AM
well, the dll is included in the zip,no need to build it again unless you want to make some changes,keep us posted.
#8
-
Posted 15 December 2007 - 07:04 AM
Yeah but there's no documentation or anything with it that I see so I don't know what functions there are. Am I missing something in this zip package? The readme only seems to apply to the vc++ project files but not to the compiled version.
#9
-
Posted 15 December 2007 - 07:24 AM
#10
-
Posted 15 December 2007 - 07:28 AM
Wouldn't this method by the same author be easier to use for a game overlay?
I've switched to trying to figure out this other dll first because it seems like if I can figure out how to call it properly, it should do everything I need. He offers an unmanaged c++ library and a managed .NET DLL. I guess the question is which one would be easiest to try and convert into something AHK can use.
I've switched to trying to figure out this other dll first because it seems like if I can figure out how to call it properly, it should do everything I need. He offers an unmanaged c++ library and a managed .NET DLL. I guess the question is which one would be easiest to try and convert into something AHK can use.
#11
-
Posted 15 December 2007 - 07:59 AM
i just wish some of the very talented people here come to help.
hell, i'll even throw a 100$ for a full solution to be able to display either text or an image over any fullscreen game using ahk .
hell, i'll even throw a 100$ for a full solution to be able to display either text or an image over any fullscreen game using ahk .
#12
-
Posted 15 December 2007 - 08:05 AM
I'm with ya. I somewhat doubt my ability to successfully create a C++ wrapper for this on my own, which sounds like what is probably required (for the overlay dll). I will start my first attempt today, however.
#13
-
Posted 15 December 2007 - 06:14 PM
I hope it works, it will be awesome to overlay with ahk
#14
-
Posted 16 December 2007 - 08:29 AM
to inject content into a fullscreen d3d app wont work as a generic solution for every d3d app around.
this depends on the method - well at least the ones described.
see this article for details
http://www.codeguru....hp/c11453/#more
the method described above (not in my post) uses system hooks for direct 3d and works with the same principle.
this method slows down the process then more calls have to be redirected and checked.
it should be possible though - just a question of time to get this in ahk running.
greets
derRaphael
this depends on the method - well at least the ones described.
see this article for details
http://www.codeguru....hp/c11453/#more
the method described above (not in my post) uses system hooks for direct 3d and works with the same principle.
this method slows down the process then more calls have to be redirected and checked.
it should be possible though - just a question of time to get this in ahk running.
greets
derRaphael
#15
-
Posted 16 December 2007 - 07:48 PM
All scripts, unless otherwise noted, are hereby released under CC-BY