AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[lib] GPF v1.1c - Overlaying Direct3D games (DX 8+9) (FIXED)
Goto page 1, 2, 3, 4, 5, 6  Next
 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
MasterFocus



Joined: 08 Apr 2009
Posts: 3035
Location: Rio de Janeiro - RJ - Brasil

PostPosted: Wed Jun 24, 2009 7:25 pm    Post subject: [lib] GPF v1.1c - Overlaying Direct3D games (DX 8+9) (FIXED) Reply with quote

Please consider reading these notes about
getting your online game account banned!


NAME:
    GPF_v1.1c.ahk (fixed multiline string filling issue)

REQUIREMENTS:
    • DirectX8 or later (only works with games designed for DirectX8 or 9)
    gpcomms.dll, [d3d9.dll and d3dx9_27.dll] or [d3d8.dll] (all provided along with the AHK file)

DESCRIPTION:
    Allows you to overlay Direct3D games by DllCalling functions in gpcomms.dll
    http://www.mikoweb.eu/index.php?node=28 wrote:
    'The provided got features for ingame text (and others)'
    ... 'a wrapper dll for easy access (gpcomms.dll)'

FEATURES:
    • Up to 5 ingame single-line text fields
    • Up to 5 ingame multi-line text fields
    • One ingame picture
    • Screenshot taker (BMP/JPG)
    • Ingame toggleable FPS
    • Game screen size retriever
    • No global variables (functions use their own static variables)

HOW TO:
    1) Copy/move correspondent d3d*.dll(s) to game directory, where its executable is.
    2) Do not overwrite any files and be sure to place the DLL(s) in the correct folder!
    3) Be sure to have gpcomms.dll in the same folder of this library.
    4) That's it. You're good to go!

NOTES / FUNCTIONS / EXAMPLES:

DOWNLOAD:

CHANGELOG:
    v1.1c - 08/june/2010
    • Fixed AuxGetFilledStr issue regarding multiline fields (thanks andz)
    v1.1b - 14/july/2009
    • Fixed ShowMultiLine and ShowFPS (thanks ayosh)
    v1.1 - 02/july/2009
    • Added screenshot taker, toggleable FPS info and game screen size retriever
    • Provided DLL for DirectX9
    v1.0b - 30/june/2009
    • Added picture-related functions
    • Fixed usage of static variables
    v1.0 - 24/june/2009
    • Released first version, containing 5 functions (main and all text-related ones)

Template for this post was copied from Voltron43 hehe Very Happy

_________________
"Read the manual. Read it again. Search the forum.
Try something before asking. Show what you've tried.
"

Antonio França
My stuff: Google Profile


Last edited by MasterFocus on Tue Jun 08, 2010 7:55 pm; edited 31 times in total
Back to top
View user's profile Send private message Visit poster's website
MasterFocus



Joined: 08 Apr 2009
Posts: 3035
Location: Rio de Janeiro - RJ - Brasil

PostPosted: Wed Jun 24, 2009 7:28 pm    Post subject: Reply with quote

Reserved post.

- EDIT (08/june/2010 17:00h BRT)

## Latest version seems to be stable (no other bugs reported so far).

## Please read the documentation, it contains valuable information and I spent a couple of hours on it. Wink

## I have still not tested all functions, so tell me if something doesn't work.
_________________
"Read the manual. Read it again. Search the forum.
Try something before asking. Show what you've tried.
"

Antonio França
My stuff: Google Profile


Last edited by MasterFocus on Tue Jun 08, 2010 7:57 pm; edited 18 times in total
Back to top
View user's profile Send private message Visit poster's website
MasterFocus



Joined: 08 Apr 2009
Posts: 3035
Location: Rio de Janeiro - RJ - Brasil

PostPosted: Thu Jun 25, 2009 7:18 am    Post subject: Reply with quote

Yet another reserved post.


## Files inside GPF_v1.1c.rar
- GPF_v1.1c.rar
----- DX8 Specific Files
---------- d3d8.dll
---------- gpcomms.dll
----- DX9 Specific Files
---------- d3d9.dll
---------- d3dx9_27.dll
---------- gpcomms.dll
----- GPF_v1.1c.ahk

## Total number of functions: 10 usable + 1 auxiliar


k3ph has pointed me this topic where some people were already creating AHK functions using GPP. Now I remember that I've seen this topic before, but I found it a bit too messy and couldn't be satisfied with some things like declaring certain global variables. Anyway, I cannot complain as I've learned a lot creating this library and trying to write a good documentation. Hope you all enjoy it! Very Happy
_________________
"Read the manual. Read it again. Search the forum.
Try something before asking. Show what you've tried.
"

Antonio França
My stuff: Google Profile


Last edited by MasterFocus on Tue Jun 08, 2010 7:57 pm; edited 20 times in total
Back to top
View user's profile Send private message Visit poster's website
Thrawn



Joined: 12 May 2008
Posts: 30
Location: Germany

PostPosted: Thu Jun 25, 2009 10:36 am    Post subject: Reply with quote

awesome!
thank you very much. whats up with the dx9 version of the dll?
Back to top
View user's profile Send private message
MasterFocus



Joined: 08 Apr 2009
Posts: 3035
Location: Rio de Janeiro - RJ - Brasil

PostPosted: Thu Jun 25, 2009 4:42 pm    Post subject: Reply with quote

Thrawn wrote:
whats up with the dx9 version of the dll?

I intend to add a few things to the DX8 version and finish
its documentation so I can release a DX9 version as well.
_________________
"Read the manual. Read it again. Search the forum.
Try something before asking. Show what you've tried.
"

Antonio França
My stuff: Google Profile
Back to top
View user's profile Send private message Visit poster's website
Mystiq



Joined: 08 Jan 2007
Posts: 83

PostPosted: Sat Jun 27, 2009 8:52 pm    Post subject: Reply with quote

Looks interesting. Dont think i have any DX8 games installed to test this, plenty of DX9 games though. Wink

Thanks in advance! Smile
Back to top
View user's profile Send private message
BF2 Player



Joined: 27 Mar 2009
Posts: 71

PostPosted: Sun Jun 28, 2009 4:25 am    Post subject: Reply with quote

Yea, this will be really useful once the DX9 version is finished, I too dont have any DX8 games lol
Back to top
View user's profile Send private message
Faust
Guest





PostPosted: Mon Jun 29, 2009 2:35 am    Post subject: Question Reply with quote

Could you give out the d3d8 and the gpcomms.dll source code?

Greets Faust
Back to top
Fry



Joined: 01 Nov 2007
Posts: 885

PostPosted: Mon Jun 29, 2009 8:14 pm    Post subject: Reply with quote

Is there a way to make it show a picture, or say a crosshair?
Back to top
View user's profile Send private message
MasterFocus



Joined: 08 Apr 2009
Posts: 3035
Location: Rio de Janeiro - RJ - Brasil

PostPosted: Tue Jun 30, 2009 12:26 am    Post subject: Reply with quote

Faust wrote:
Could you give out the d3d8 and the gpcomms.dll source code?

As I've already stated, I'm not the original provider of those.
Fry wrote:
Is there a way to make it show a picture, or say a crosshair?

Sure Very Happy but not in v1.0 Confused
I promise I'll finish this DX8 version ASAP!
(I had 2 exams today, 2 more to go now...)
_________________
"Read the manual. Read it again. Search the forum.
Try something before asking. Show what you've tried.
"

Antonio França
My stuff: Google Profile


Last edited by MasterFocus on Tue Jun 30, 2009 11:36 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Fry



Joined: 01 Nov 2007
Posts: 885

PostPosted: Tue Jun 30, 2009 3:08 am    Post subject: Reply with quote

Ok! Thanks!
Back to top
View user's profile Send private message
MasterFocus



Joined: 08 Apr 2009
Posts: 3035
Location: Rio de Janeiro - RJ - Brasil

PostPosted: Tue Jun 30, 2009 11:43 pm    Post subject: Reply with quote

BUMP !
Version 1.0b released !
Ingame Picture available !! Very Happy
_________________
"Read the manual. Read it again. Search the forum.
Try something before asking. Show what you've tried.
"

Antonio França
My stuff: Google Profile


Last edited by MasterFocus on Wed Jul 01, 2009 12:09 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
BF2 Player



Joined: 27 Mar 2009
Posts: 71

PostPosted: Tue Jun 30, 2009 11:52 pm    Post subject: Reply with quote

Cool!
Now for DX9 to finish so I can acutally use it lol. Very Happy
Back to top
View user's profile Send private message
Fry



Joined: 01 Nov 2007
Posts: 885

PostPosted: Wed Jul 01, 2009 12:05 am    Post subject: Reply with quote

Will this only show up in DX8 Games, will I be able to see it in my desktop?
Back to top
View user's profile Send private message
MasterFocus



Joined: 08 Apr 2009
Posts: 3035
Location: Rio de Janeiro - RJ - Brasil

PostPosted: Wed Jul 01, 2009 12:12 am    Post subject: Reply with quote

Fry wrote:
Will this only show up in DX8 Games, will I be able to see it in my desktop?

Only ingame. That's the purpose of this library. I've already seen a lot of people here (just like me) searching for a method to overlay Direct3D games. When I found this solution, I immediately decided to create a library and share it. Smile
_________________
"Read the manual. Read it again. Search the forum.
Try something before asking. Show what you've tried.
"

Antonio França
My stuff: Google Profile
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page 1, 2, 3, 4, 5, 6  Next
Page 1 of 6

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group