AutoHotkey Community

It is currently May 27th, 2012, 12:13 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 31 posts ]  Go to page 1, 2, 3  Next
Author Message
PostPosted: January 4th, 2006, 9:08 am 
Offline

Joined: December 20th, 2005, 4:15 am
Posts: 165
Location: Malaysia
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?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 11th, 2007, 11:07 pm 
Offline

Joined: June 11th, 2007, 11:01 pm
Posts: 1
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?

_________________
asdfg


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 12th, 2007, 1:18 am 
Offline

Joined: June 11th, 2007, 2:20 am
Posts: 4
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 12th, 2007, 5:40 am 
Offline

Joined: May 9th, 2007, 8:13 am
Posts: 45
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 10th, 2007, 8:41 pm 
Offline

Joined: November 24th, 2007, 9:07 pm
Posts: 774
Where is Direct3d-hook.dll available from or documented?

_________________
Ben

My Trac projects
My Wiki
[Broken] - My music


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 15th, 2007, 7:15 am 
Offline

Joined: May 9th, 2007, 8:13 am
Posts: 45
http://nexe.gamedev.net/files/Direct3D- ... -11-23.zip

let us know if you fond a way to use it with ahk :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 15th, 2007, 7:27 am 
Offline

Joined: November 24th, 2007, 9:07 pm
Posts: 774
Wow :shock:

I have VS so I can build the DLL probably, but it may take some modification. Hmm...

*digs in*

_________________
Ben

My Trac projects
My Wiki
[Broken] - My music


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 15th, 2007, 8:04 am 
Offline

Joined: May 9th, 2007, 8:13 am
Posts: 45
well, the dll is included in the zip,no need to build it again unless you want to make some changes,keep us posted.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 15th, 2007, 8:24 am 
Offline

Joined: November 24th, 2007, 9:07 pm
Posts: 774
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.

_________________
Ben

My Trac projects
My Wiki
[Broken] - My music


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 15th, 2007, 8:28 am 
Offline

Joined: May 9th, 2007, 8:13 am
Posts: 45
http://www.gamedev.net/community/forums ... _id=359794


original release thread


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 15th, 2007, 8:59 am 
Offline

Joined: November 24th, 2007, 9:07 pm
Posts: 774
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.

_________________
Ben

My Trac projects
My Wiki
[Broken] - My music


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 15th, 2007, 9:05 am 
Offline

Joined: May 9th, 2007, 8:13 am
Posts: 45
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 :).


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 15th, 2007, 7:14 pm 
Offline

Joined: November 24th, 2007, 9:07 pm
Posts: 774
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.

_________________
Ben

My Trac projects
My Wiki
[Broken] - My music


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 16th, 2007, 9:29 am 
Offline

Joined: November 9th, 2007, 7:48 pm
Posts: 16
I hope it works, it will be awesome to overlay with ahk


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 16th, 2007, 8:48 pm 
Offline

Joined: November 23rd, 2007, 10:23 am
Posts: 841
Location: ~/.
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.com/cpp/g-m/directx/directx8/article.php/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

_________________
Image
    All scripts, unless otherwise noted, are hereby released under CC-BY


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 31 posts ]  Go to page 1, 2, 3  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google Feedfetcher, Yahoo [Bot] and 13 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group